11 #include "input/joysticks/interfaces/IButtonMapCallback.h" 12 #include "input/joysticks/interfaces/IDriverHandler.h" 13 #include "input/keyboard/interfaces/IKeyboardDriverHandler.h" 14 #include "input/mouse/interfaces/IMouseDriverHandler.h" 49 bool OnButtonMotion(
unsigned int buttonIndex,
bool bPressed)
override;
50 bool OnHatMotion(
unsigned int hatIndex, KODI::JOYSTICK::HAT_STATE state)
override;
51 bool OnAxisMotion(
unsigned int axisIndex,
54 unsigned int range)
override;
55 void OnInputFrame(
void)
override;
58 bool OnKeyPress(
const CKey& key)
override;
59 void OnKeyRelease(
const CKey& key)
override;
62 bool OnPosition(
int x,
int y)
override;
67 void SaveButtonMap()
override;
68 void ResetIgnoredPrimitives()
override;
69 void RevertButtonMap()
override;
72 std::unique_ptr<KODI::JOYSTICK::CButtonMapping> m_buttonMapping;
73 std::unique_ptr<KODI::JOYSTICK::IButtonMap> m_buttonMap;
BUTTON_ID
Buttons on a mouse.
Definition: MouseTypes.h:26
Definition: RetroPlayerInput.h:15
Interface defining methods to handle joystick events for raw driver elements (buttons, hats, axes)
Definition: IDriverHandler.h:23
Definition: AudioDecoder.h:18
Interface for handling mouse driver events.
Definition: IMouseDriverHandler.h:22
Interface for handling keyboard events.
Definition: IKeyboardDriverHandler.h:22
Definition: Peripheral.h:71
Definition: Peripherals.h:56