Differences From Artifact [ca69b5094c]:
- File src/hid/OHEmulatedGameControllerTriggerButton.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: 1254) [annotate] [blame] [check-ins using]
To Artifact [f7bd66afbb]:
- File
src/hid/OHEmulatedGameControllerTriggerButton.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: 1476) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
25 26 27 28 29 30 31 | OF_SUBCLASSING_RESTRICTED @interface OHEmulatedGameControllerTriggerButton: OHGameControllerButton { OHGameControllerAxis *_axis; } | | > > > > | | | | | | 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | OF_SUBCLASSING_RESTRICTED @interface OHEmulatedGameControllerTriggerButton: OHGameControllerButton { OHGameControllerAxis *_axis; } @property (readonly, nonatomic) OHGameControllerAxis *oh_axis; + (instancetype)oh_buttonWithName: (OFString *)name analog: (bool)analog OF_UNAVAILABLE; + (instancetype)oh_buttonWithName: (OFString *)name axis: (OHGameControllerAxis *)axis; - (instancetype)oh_initWithName: (OFString *)name analog: (bool)analog OF_UNAVAILABLE; - (instancetype)oh_initWithName: (OFString *)name axis: (OHGameControllerAxis *)axis OF_METHOD_FAMILY(init) OF_DESIGNATED_INITIALIZER; @end OF_ASSUME_NONNULL_END |