Differences From Artifact [e9a5f2027b]:
- File src/platform/Nintendo3DS/OFGameController.m — part of check-in [c0735ac803] at 2024-05-11 10:06:31 on branch gamecontroller — OFGameController: Report vendor ID and product ID (user: js, size: 4977) [annotate] [blame] [check-ins using]
To Artifact [4e207caf2f]:
- File src/hid/platform/Nintendo3DS/OFGameController.m — part of check-in [f5f12143ce] at 2024-05-13 20:57:34 on branch gamecontroller — Move OFGameController into subframework ObjFWHID (user: js, size: 5279) [annotate] [blame] [check-ins using]
- File src/platform/Nintendo3DS/OFGameController.m — part of check-in [59b45e87d1] at 2024-05-11 21:56:42 on branch gamecontroller — OFGameController: {north,south,west,east}Button (user: js, size: 5279) [annotate] [blame] [check-ins using]
︙ | |||
185 186 187 188 189 190 191 192 193 194 195 196 197 | 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 | + + + + + + + + + + + + + + + + + + + + | return false; } - (float)pressureForButton: (OFGameControllerButton)button { return ([self.pressedButtons containsObject: button] ? 1 : 0); } - (OFGameControllerButton)northButton { return OFGameControllerButtonX; } - (OFGameControllerButton)southButton { return OFGameControllerButtonB; } - (OFGameControllerButton)westButton { return OFGameControllerButtonY; } - (OFGameControllerButton)eastButton { return OFGameControllerButtonA; } - (OFString *)description { return [OFString stringWithFormat: @"<%@: %@>", self.class, self.name]; } @end |