kodi
|
Detects and dispatches mapping events. More...
#include <ButtonMapping.h>
Protected Member Functions | |
CPrimitiveDetector (CButtonMapping *buttonMapping) | |
bool | MapPrimitive (const CDriverPrimitive &primitive) |
Dispatch a mapping event. More... | |
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 |
Dispatch a mapping event.