Differences From Artifact [ba9425bef1]:
- File
src/hid/HIDGameControllerDirectionalPad.h
— part of check-in
[39639cd987]
at
2024-06-02 21:24:25
on branch trunk
— Completely redesign and rewrite ObjFWHID
Right now only evdev is supported, support for others will be added back
later. (user: js, size: 2425) [annotate] [blame] [check-ins using]
To Artifact [2c2bbf2751]:
- File src/hid/HIDGameControllerDirectionalPad.h — part of check-in [16aab59c3c] at 2024-06-02 23:51:01 on branch trunk — Add HIDGameControllerMapping (user: js, size: 2561) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
20 21 22 23 24 25 26 27 28 29 30 31 32 33 | #import "HIDGameControllerElement.h" #import "HIDGameControllerAxis.h" #import "HIDGameControllerButton.h" OF_ASSUME_NONNULL_BEGIN /** * @brief An directional pad or thumb stick of a game controller. */ OF_SUBCLASSING_RESTRICTED @interface HIDGameControllerDirectionalPad: HIDGameControllerElement { HIDGameControllerAxis *_xAxis, *_yAxis; HIDGameControllerButton *_upButton, *_downButton; | > > > > | 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | #import "HIDGameControllerElement.h" #import "HIDGameControllerAxis.h" #import "HIDGameControllerButton.h" OF_ASSUME_NONNULL_BEGIN /** * @class HIDGameControllerDirectionalPad \ * HIDGameControllerDirectionalPad.h \ * ObjFWHID/HIDGameControllerDirectionalPad.h * * @brief An directional pad or thumb stick of a game controller. */ OF_SUBCLASSING_RESTRICTED @interface HIDGameControllerDirectionalPad: HIDGameControllerElement { HIDGameControllerAxis *_xAxis, *_yAxis; HIDGameControllerButton *_upButton, *_downButton; |
︙ | ︙ |