Differences From Artifact [3f585adcc6]:
- File src/platform/Linux/OFGameController.m — part of check-in [899801a8b8] at 2024-05-10 12:58:34 on branch gamecontroller — OFGameController: Quirks for Mega Drive controller (user: js, size: 13498) [annotate] [blame] [check-ins using]
To Artifact [fb841c3ea2]:
- File
src/platform/Linux/OFGameController.m
— part of check-in
[22f6f258d8]
at
2024-05-10 00:27:25
on branch gamecontroller
— OFGameController: Add support for Windows
As this is using XInput 1.3, only XInput-compatible devices are supported. (user: js, size: 13004) [annotate] [blame] [check-ins using] [more...]
︙ | |||
36 37 38 39 40 41 42 | 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | - | #import "OFInvalidArgumentException.h" #import "OFOpenItemFailedException.h" #import "OFOutOfRangeException.h" #import "OFReadFailedException.h" static const uint16_t vendorIDNintendo = 0x057E; static const uint16_t productIDN64Controller = 0x2019; |
︙ | |||
67 68 69 70 71 72 73 | 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | - - - - - - - - - - - - - - - - | case BTN_SELECT: return OFGameControllerButtonCPadUp; case BTN_X: return OFGameControllerButtonCPadDown; case BTN_MODE: return OFGameControllerButtonHome; case BTN_Z: |
︙ |