Differences From Artifact [a3027c8fb5]:
- File src/platform/NintendoDS/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: 4015) [annotate] [blame] [check-ins using]
To Artifact [2d083ad50e]:
- File src/hid/platform/NintendoDS/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: 4317) [annotate] [blame] [check-ins using]
- File src/platform/NintendoDS/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: 4317) [annotate] [blame] [check-ins using]
︙ | |||
162 163 164 165 166 167 168 169 170 171 172 173 174 | 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 | + + + + + + + + + + + + + + + + + + + + | 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 |