Classes | Namespaces | Functions

lib/gamepad/gamepad.h File Reference

#include "gamepad-map.h"
#include "i18n/i18n.h"
Include dependency graph for lib/gamepad/gamepad.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  gamepad::Gamepad
 an instance of a physical gamepad. More...

Namespaces

namespace  gamepad

Functions

static void gamepad::getButtonsChanged (IN buttons_t prev_buttons, IN buttons_t curr_buttons, OUT buttons_t &pressed, OUT buttons_t &released) throw ()
 given previous + current button state, say what was pressed and released
smart_ptr< i18n::Manager > gamepad::getConfigLocaleMgr (IN const char *primaryLocale, IN const char *defaultLocale, IN nstream::Folder *dataDirectory)
 return the localization manager for gamepad configuration
smart_ptr< i18n::Manager > gamepad::getTypeLocaleMgr (IN const Type *type, IN const char *primaryLocale, IN const char *defaultLocale, IN nstream::Folder *dataDirectory)
 return the localization manager for the specified gamepad::Type