Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Detects when a button should be mapped. More...
#include <ButtonMapping.h>
Public Member Functions | |
CButtonDetector (CButtonMapping *buttonMapping, unsigned int buttonIndex) | |
bool | OnMotion (bool bPressed) |
Button 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 button should be mapped.
CButtonDetector::CButtonDetector | ( | CButtonMapping * | buttonMapping, |
unsigned int | buttonIndex ) |
Button state has been updated.
bPressed | The new state |