Differences From Artifact [3f0e6ab4ac]:
- File
src/hid/HIDGameControllerEmulatedButton.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: 1155) [annotate] [blame] [check-ins using]
To Artifact [1f52540e1f]:
- File
src/hid/OHGameControllerEmulatedButton.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: 1149) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
13 14 15 16 17 18 19 | * version 3.0 for more details. * * You should have received a copy of the GNU Lesser General Public License * version 3.0 along with this program. If not, see * <https://www.gnu.org/licenses/>. */ | | | | | | | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | * version 3.0 for more details. * * You should have received a copy of the GNU Lesser General Public License * version 3.0 along with this program. If not, see * <https://www.gnu.org/licenses/>. */ #import "OHGameControllerButton.h" OF_ASSUME_NONNULL_BEGIN @class OHGameControllerAxis; OF_SUBCLASSING_RESTRICTED @interface OHGameControllerEmulatedButton: OHGameControllerButton { OHGameControllerAxis *_axis; bool _positive; } - (instancetype)initWithName: (OFString *)name OF_UNAVAILABLE; - (instancetype)initWithAxis: (OHGameControllerAxis *)axis positive: (bool)positive; @end OF_ASSUME_NONNULL_END |