Differences From Artifact [9f3d209aa4]:
- File src/hid/OHGameControllerDirectionalPad.h — part of check-in [3777558ccd] at 2024-11-02 02:24:10 on branch trunk — ObjFWHID: Make sure `analog` is always set (user: js, size: 2476) [annotate] [blame] [check-ins using]
To Artifact [6b7f55ae89]:
- File
src/hid/OHGameControllerDirectionalPad.h
— part of check-in
[bc3a7747d9]
at
2024-11-03 15:46:25
on branch trunk
— ObjFWHID: Properly hide private methods
Also fixes compiling XInput with GCC. (user: js, size: 1968) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
23 24 25 26 27 28 29 | OF_ASSUME_NONNULL_BEGIN /** * @class OHGameControllerDirectionalPad OHGameControllerDirectionalPad.h * ObjFWHID/ObjFWID.h * | | | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | OF_ASSUME_NONNULL_BEGIN /** * @class OHGameControllerDirectionalPad OHGameControllerDirectionalPad.h * ObjFWHID/ObjFWID.h * * @brief A directional pad or thumb stick of a game controller. */ OF_SUBCLASSING_RESTRICTED @interface OHGameControllerDirectionalPad: OHGameControllerElement { OHGameControllerAxis *_xAxis, *_yAxis; OHGameControllerButton *_up, *_down, *_left, *_right; } |
︙ | ︙ | |||
61 62 63 64 65 66 67 | */ @property (readonly, nonatomic) OHGameControllerButton *left; /** * @brief The right button of the directional pad. */ @property (readonly, nonatomic) OHGameControllerButton *right; | < < < < < < < < < < < < < < < | 61 62 63 64 65 66 67 68 69 70 | */ @property (readonly, nonatomic) OHGameControllerButton *left; /** * @brief The right button of the directional pad. */ @property (readonly, nonatomic) OHGameControllerButton *right; @end OF_ASSUME_NONNULL_END |