Differences From Artifact [65e834b561]:
- File src/hid/OHGameController.m — part of check-in [f5e3072b7e] at 2024-06-09 09:53:19 on branch trunk — OHEvdevGameController: Buttons for N64 controller (user: js, size: 2815) [annotate] [blame] [check-ins using]
To Artifact [3129705f22]:
- File
src/hid/OHGameController.m
— part of check-in
[998339ff24]
at
2024-06-09 11:43:49
on branch trunk
— OHGamepad: Move some elements to OHExtendedGamepad
This allows to have a profile for limited gamepads such as found on the
Nintendo DS rather than only having the raw profile for those. (user: js, size: 2850) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
19 20 21 22 23 24 25 | #include "config.h" #import "OHGameController.h" #import "OFArray.h" #import "OFNumber.h" #import "OFSet.h" | < | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | #include "config.h" #import "OHGameController.h" #import "OFArray.h" #import "OFNumber.h" #import "OFSet.h" #if defined(OF_LINUX) && defined(OF_HAVE_FILES) # import "OHEvdevGameController.h" #endif #ifdef OF_WINDOWS # import "OHXInputGameController.h" #endif |
︙ | ︙ | |||
95 96 97 98 99 100 101 102 103 104 105 106 107 108 | - (void)retrieveState { OF_UNRECOGNIZED_SELECTOR } - (OHGamepad *)gamepad { return nil; } - (OFString *)description { if (self.vendorID != nil && self.productID != nil) return [OFString stringWithFormat: | > > > > > | 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 | - (void)retrieveState { OF_UNRECOGNIZED_SELECTOR } - (OHGamepad *)gamepad { return nil; } - (OHExtendedGamepad *)extendedGamepad { return nil; } - (OFString *)description { if (self.vendorID != nil && self.productID != nil) return [OFString stringWithFormat: |
︙ | ︙ |