Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Detects when a D-pad direction should be mapped. More...
#include <ButtonMapping.h>
Public Member Functions | |
CHatDetector (CButtonMapping *buttonMapping, unsigned int hatIndex) | |
bool | OnMotion (HAT_STATE state) |
Hat state has been updated. | |
Additional Inherited Members | |
Protected Member Functions inherited from KODI::JOYSTICK::CPrimitiveDetector | |
CPrimitiveDetector (CButtonMapping *buttonMapping) | |
bool | MapPrimitive (const CDriverPrimitive &primitive) |
Dispatch a mapping event. | |
Detects when a D-pad direction should be mapped.
CHatDetector::CHatDetector | ( | CButtonMapping * | buttonMapping, |
unsigned int | hatIndex ) |
Hat state has been updated.
state | The new state |