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" 46 bool OnButtonMotion(
unsigned int buttonIndex,
bool bPressed)
override;
47 bool OnHatMotion(
unsigned int hatIndex, KODI::JOYSTICK::HAT_STATE state)
override;
48 bool OnAxisMotion(
unsigned int axisIndex,
51 unsigned int range)
override;
52 void OnInputFrame(
void)
override;
55 bool OnKeyPress(
const CKey& key)
override;
56 void OnKeyRelease(
const CKey& key)
override;
59 bool OnPosition(
int x,
int y)
override;
60 bool OnButtonPress(KODI::MOUSE::BUTTON_ID button)
override;
61 void OnButtonRelease(KODI::MOUSE::BUTTON_ID button)
override;
64 void SaveButtonMap()
override;
65 void ResetIgnoredPrimitives()
override;
66 void RevertButtonMap()
override;
69 std::unique_ptr<KODI::JOYSTICK::CButtonMapping> m_buttonMapping;
70 std::unique_ptr<KODI::JOYSTICK::IButtonMap> m_buttonMap;
Definition: RetroPlayerInput.h:15
Interface defining methods to handle joystick events for raw driver elements (buttons, hats, axes)
Definition: IDriverHandler.h:21
Controller configuration window.
Definition: AudioDecoder.h:18
Interface for handling mouse driver events.
Definition: IMouseDriverHandler.h:21
Interface for handling keyboard events.
Definition: IKeyboardDriverHandler.h:21
Definition: Peripheral.h:62
Definition: Peripherals.h:49