Differences From Artifact [f6b3abc284]:
- File
src/hid/OFEvdevGameController.h
— part of check-in
[8e95537be5]
at
2024-05-20 17:19:05
on branch gamecontroller
— OFEvdevGameController: Add support for polling
This is required to get the initial state and when events get dropped. (user: js, size: 1907) [annotate] [blame] [check-ins using] [more...]
To Artifact [5ec72d013e]:
- File src/hid/OFEvdevGameController.h — part of check-in [f99cb23d38] at 2024-05-20 19:38:02 on branch trunk — OFEvdevGameController: Poll HAT0[XY] for D-Pad (user: js, size: 1926) [annotate] [blame] [check-ins using]
︙ | |||
23 24 25 26 27 28 29 30 31 32 33 34 35 36 | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | + | @interface OFEvdevGameController: OFGameController { OFString *_path; int _fd; bool _discardUntilReport; unsigned long *_keyBits; bool _DPadIsHAT0; uint16_t _vendorID, _productID; OFString *_name; OFMutableSet OF_GENERIC(OFGameControllerButton) *_buttons; OFMutableSet OF_GENERIC(OFGameControllerButton) *_pressedButtons; bool _hasLeftAnalogStick, _hasRightAnalogStick; bool _hasLeftTriggerPressure, _hasRightTriggerPressure; unsigned int _leftTriggerPressureBit, _rightTriggerPressureBit; |
︙ |