Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Detects and dispatches mapping events. More...
#include <ButtonMapping.h>
Protected Member Functions | |
CPrimitiveDetector (CButtonMapping *buttonMapping) | |
bool | MapPrimitive (const CDriverPrimitive &primitive) |
Dispatch a mapping event. | |
Detects and dispatches mapping events.
A mapping event usually occurs when a driver primitive is pressed or exceeds a certain threshold.
Detection can be quite complicated due to driver bugs, so each type of driver primitive is given its own detector class inheriting from this one.
|
protected |
|
protected |
Dispatch a mapping event.