ObjFW  Check-in [80f3a121e5]

Overview
Comment:Fix build on Windows
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 80f3a121e5b8701f509a3d32aa3d0ee31d5a93bc7d37454954c91c46c9cfd33f
User & Date: js on 2024-06-09 17:25:39
Other Links: manifest | tags
Context
2024-06-09
23:24
ObjFWHID: Add support for Nintendo Switch check-in: e01b5123f1 user: js tags: trunk
17:25
Fix build on Windows check-in: 80f3a121e5 user: js tags: trunk
16:36
ObjFWHID: Restore support for Wii check-in: 6e64dd58cb user: js tags: trunk
Changes

Modified src/hid/OHXInputExtendedGamepad.m from [845a68fc44] to [c47a92c25d].

20
21
22
23
24
25
26

27
28
29
30
31
32
33
#include "config.h"

#import "OHXInputExtendedGamepad.h"
#import "OFDictionary.h"
#import "OHGameControllerAxis.h"
#import "OHGameControllerButton.h"
#import "OHGameControllerDirectionalPad.h"


static OFString *const buttonNames[] = {
	@"A", @"B", @"X", @"Y", @"LB", @"RB", @"LT", @"RT", @"LSB", @"RSB",
	@"Start", @"Back", @"Guide"
};
static const size_t numButtons = sizeof(buttonNames) / sizeof(*buttonNames);








>







20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#include "config.h"

#import "OHXInputExtendedGamepad.h"
#import "OFDictionary.h"
#import "OHGameControllerAxis.h"
#import "OHGameControllerButton.h"
#import "OHGameControllerDirectionalPad.h"
#import "OHXInputGameController.h"

static OFString *const buttonNames[] = {
	@"A", @"B", @"X", @"Y", @"LB", @"RB", @"LT", @"RT", @"LSB", @"RSB",
	@"Start", @"Back", @"Guide"
};
static const size_t numButtons = sizeof(buttonNames) / sizeof(*buttonNames);