ObjFW  Diff

Differences From Artifact [3f0e6ab4ac]:

To Artifact [1f52540e1f]:


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
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 "HIDGameControllerButton.h"
#import "OHGameControllerButton.h"

OF_ASSUME_NONNULL_BEGIN

@class HIDGameControllerAxis;
@class OHGameControllerAxis;

OF_SUBCLASSING_RESTRICTED
@interface HIDGameControllerEmulatedButton: HIDGameControllerButton
@interface OHGameControllerEmulatedButton: OHGameControllerButton
{
	HIDGameControllerAxis *_axis;
	OHGameControllerAxis *_axis;
	bool _positive;
}

- (instancetype)initWithName: (OFString *)name OF_UNAVAILABLE;
- (instancetype)initWithAxis: (HIDGameControllerAxis *)axis
- (instancetype)initWithAxis: (OHGameControllerAxis *)axis
		    positive: (bool)positive;
@end

OF_ASSUME_NONNULL_END