kodi
Public Member Functions | List of all members
KODI::JOYSTICK::CMouseButtonDetector Class Reference

Detects when a mouse button should be mapped. More...

#include <ButtonMapping.h>

Inheritance diagram for KODI::JOYSTICK::CMouseButtonDetector:
Inheritance graph
[legend]
Collaboration diagram for KODI::JOYSTICK::CMouseButtonDetector:
Collaboration graph
[legend]

Public Member Functions

 CMouseButtonDetector (CButtonMapping *buttonMapping, MOUSE::BUTTON_ID buttonIndex)
 
bool OnMotion (bool bPressed)
 Button state has been updated. More...
 

Additional Inherited Members

- Protected Member Functions inherited from KODI::JOYSTICK::CPrimitiveDetector
 CPrimitiveDetector (CButtonMapping *buttonMapping)
 
bool MapPrimitive (const CDriverPrimitive &primitive)
 Dispatch a mapping event. More...
 

Detailed Description

Detects when a mouse button should be mapped.

Member Function Documentation

◆ OnMotion()

bool CMouseButtonDetector::OnMotion ( bool  bPressed)

Button state has been updated.

Parameters
bPressedThe new state
Returns
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: