ObjFW  Diff

Differences From Artifact [37943879cb]:

  • File src/hid/HIDGameControllerAxis.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: 1074)

To Artifact [876c2397e0]:

  • File src/hid/HIDGameControllerAxis.h — part of check-in [16aab59c3c] at 2024-06-02 23:51:01 on branch trunk — Add HIDGameControllerMapping (user: js size: 1171)

18
19
20
21
22
23
24



25

26
27
28
29
30
31
32
18
19
20
21
22
23
24
25
26
27

28
29
30
31
32
33
34
35







+
+
+
-
+







 */

#import "HIDGameControllerElement.h"

OF_ASSUME_NONNULL_BEGIN

/**
 * @class HIDGameControllerAxis \
 *	  HIDGameControllerAxis.h ObjFWHID/HIDGameControllerAxis.h
 *
 * @brief An button of a game controller.
 * @brief An axis of a game controller.
 */
@interface HIDGameControllerAxis: HIDGameControllerElement
{
	float _value;
	OF_RESERVE_IVARS(HIDGameControllerButton, 4)
}