Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
No Matches
KODI::JOYSTICK::CKeyDetector Class Reference

Detects when a keyboard key should be mapped. More...

#include <ButtonMapping.h>

Inheritance diagram for KODI::JOYSTICK::CKeyDetector:

Public Member Functions

 CKeyDetector (CButtonMapping *buttonMapping, XBMCKey keycode)
bool OnMotion (bool bPressed)
 Key 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.

Detailed Description

Detects when a keyboard key should be mapped.

Constructor & Destructor Documentation

◆ CKeyDetector()

CKeyDetector::CKeyDetector ( CButtonMapping * buttonMapping,
XBMCKey keycode )

Member Function Documentation

◆ OnMotion()

bool CKeyDetector::OnMotion ( bool bPressed)

Key state has been updated.

bPressedThe new state
True if this press was handled, false if it should fall through to the next driver handler

The documentation for this class was generated from the following files: