11 #include "input/joysticks/JoystickTypes.h" 36 virtual bool OnButtonMotion(
unsigned int buttonIndex,
bool bPressed) = 0;
46 virtual bool OnHatMotion(
unsigned int hatIndex, HAT_STATE state) = 0;
64 unsigned int range) = 0;
virtual void OnInputFrame(void)=0
Handle buffered input motion for features that require multiple axes.
Interface defining methods to handle joystick events for raw driver elements (buttons, hats, axes)
Definition: IDriverHandler.h:23
virtual bool OnAxisMotion(unsigned int axisIndex, float position, int center, unsigned int range)=0
Handle axis motion.
Definition: AudioDecoder.h:18
virtual bool OnButtonMotion(unsigned int buttonIndex, bool bPressed)=0
Handle button motion.
virtual bool OnHatMotion(unsigned int hatIndex, HAT_STATE state)=0
Handle hat motion.