|
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
#include <MouseTranslator.h>
Static Public Member Functions | |
| static uint32_t | TranslateCommand (const tinyxml2::XMLElement *pButton) |
| Translate a keymap element to a key ID. | |
| static bool | TranslateEventID (unsigned int eventId, KODI::MOUSE::BUTTON_ID &buttonId) |
| Translate a mouse event ID to a mouse button index. | |
|
static |
Translate a keymap element to a key ID.
|
static |
Translate a mouse event ID to a mouse button index.
| eventId | The event ID from MouseStat.h | |
| [out] | buttonId | The button ID from MouseTypes.h, or unmodified if unsuccessful |