11 #include "input/joysticks/interfaces/IDriverHandler.h" 12 #include "input/joysticks/interfaces/IInputReceiver.h" 13 #include "input/keyboard/interfaces/IKeyboardDriverHandler.h" 14 #include "input/mouse/interfaces/IMouseDriverHandler.h" 23 class IDriverReceiver;
29 class IKeyboardInputHandler;
34 class IMouseInputHandler;
65 bool OnButtonMotion(
unsigned int buttonIndex,
bool bPressed)
override;
66 bool OnHatMotion(
unsigned int hatIndex, KODI::JOYSTICK::HAT_STATE state)
override;
67 bool OnAxisMotion(
unsigned int axisIndex,
70 unsigned int range)
override;
71 void OnInputFrame(
void)
override;
74 bool OnKeyPress(
const CKey& key)
override;
75 void OnKeyRelease(
const CKey& key)
override;
78 bool OnPosition(
int x,
int y)
override;
79 bool OnButtonPress(KODI::MOUSE::BUTTON_ID button)
override;
80 void OnButtonRelease(KODI::MOUSE::BUTTON_ID button)
override;
86 std::unique_ptr<KODI::JOYSTICK::IDriverHandler> m_driverHandler;
87 std::unique_ptr<KODI::JOYSTICK::IInputReceiver> m_inputReceiver;
88 std::unique_ptr<KODI::KEYBOARD::IKeyboardDriverHandler> m_keyboardHandler;
89 std::unique_ptr<KODI::MOUSE::IMouseDriverHandler> m_mouseHandler;
90 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
std::string FeatureName
Name of a physical feature belonging to the joystick.
Definition: JoystickTypes.h:28
Interface for handling keyboard events.
Definition: IKeyboardDriverHandler.h:21
Definition: Peripheral.h:62
Interface for sending input events to joystick drivers.
Definition: IDriverReceiver.h:19
Definition: Peripherals.h:49