Differences From Artifact [773f283b6a]:
- File
src/hid/OHGameControllerDirectionalPad.h
— part of check-in
[afae3291bf]
at
2024-06-03 19:39:51
on branch trunk
— ObjFWHID: Change prefix to OH
Let's leave 3 letter prefixes to 3rd parties. (user: js, size: 2537) [annotate] [blame] [check-ins using]
To Artifact [f9c0f28585]:
- File src/hid/OHGameControllerDirectionalPad.h — part of check-in [35e4d04158] at 2024-06-08 19:32:08 on branch trunk — OHGameControllerDirectionalPad: Rename methods (user: js, size: 2420) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
30 31 32 33 34 35 36 | * * @brief An directional pad or thumb stick of a game controller. */ OF_SUBCLASSING_RESTRICTED @interface OHGameControllerDirectionalPad: OHGameControllerElement { OHGameControllerAxis *_xAxis, *_yAxis; | | < | | | | | | | | | 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | * * @brief An directional pad or thumb stick of a game controller. */ OF_SUBCLASSING_RESTRICTED @interface OHGameControllerDirectionalPad: OHGameControllerElement { OHGameControllerAxis *_xAxis, *_yAxis; OHGameControllerButton *_up, *_down, *_left, *_right; } /** * @brief The X axis of the directional pad. */ @property (readonly, nonatomic) OHGameControllerAxis *xAxis; /** * @brief The Y axis of the directional pad. */ @property (readonly, nonatomic) OHGameControllerAxis *yAxis; /** * @brief The up button of the directional pad. */ @property (readonly, nonatomic) OHGameControllerButton *up; /** * @brief The down button of the directional pad. */ @property (readonly, nonatomic) OHGameControllerButton *down; /** * @brief The left button of the directional pad. */ @property (readonly, nonatomic) OHGameControllerButton *left; /** * @brief The right button of the directional pad. */ @property (readonly, nonatomic) OHGameControllerButton *right; - (instancetype)initWithName: (OFString *)name OF_UNAVAILABLE; - (instancetype)initWithName: (OFString *)name xAxis: (OHGameControllerAxis *)xAxis yAxis: (OHGameControllerAxis *)yAxis; - (instancetype)initWithName: (OFString *)name up: (OHGameControllerButton *)up down: (OHGameControllerButton *)down left: (OHGameControllerButton *)left right: (OHGameControllerButton *)right; @end OF_ASSUME_NONNULL_END |