Differences From Artifact [1c2cd608b4]:
- File
src/OFGameController.h
— 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: 8076) [annotate] [blame] [check-ins using]
To Artifact [92436c98c4]:
- File src/OFGameController.h — part of check-in [899801a8b8] at 2024-05-10 12:58:34 on branch gamecontroller — OFGameController: Quirks for Mega Drive controller (user: js, size: 8278) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | * * @ref OFGameControllerButtonL * * @ref OFGameControllerButtonR * * @ref OFGameControllerButtonZL * * @ref OFGameControllerButtonZR * * @ref OFGameControllerButtonSelect * * @ref OFGameControllerButtonStart * * @ref OFGameControllerButtonHome * * @ref OFGameControllerButtonLeftStick * * @ref OFGameControllerButtonRightStick * * @ref OFGameControllerButtonDPadUp * * @ref OFGameControllerButtonDPadDown * * @ref OFGameControllerButtonDPadLeft * * @ref OFGameControllerButtonDPadRight * * @ref OFGameControllerButtonCPadUp * * @ref OFGameControllerButtonCPadDown * * @ref OFGameControllerButtonCPadLeft * * @ref OFGameControllerButtonCPadRight */ typedef OFConstantString *OFGameControllerButton; #ifdef __cplusplus extern "C" { #endif /** | > > | 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | * * @ref OFGameControllerButtonL * * @ref OFGameControllerButtonR * * @ref OFGameControllerButtonZL * * @ref OFGameControllerButtonZR * * @ref OFGameControllerButtonSelect * * @ref OFGameControllerButtonStart * * @ref OFGameControllerButtonHome * * @ref OFGameControllerButtonCapture * * @ref OFGameControllerButtonLeftStick * * @ref OFGameControllerButtonRightStick * * @ref OFGameControllerButtonDPadUp * * @ref OFGameControllerButtonDPadDown * * @ref OFGameControllerButtonDPadLeft * * @ref OFGameControllerButtonDPadRight * * @ref OFGameControllerButtonCPadUp * * @ref OFGameControllerButtonCPadDown * * @ref OFGameControllerButtonCPadLeft * * @ref OFGameControllerButtonCPadRight * * @ref OFGameControllerButtonMode */ typedef OFConstantString *OFGameControllerButton; #ifdef __cplusplus extern "C" { #endif /** |
︙ | ︙ | |||
178 179 180 181 182 183 184 185 186 187 188 189 190 191 | */ extern const OFGameControllerButton OFGameControllerButtonCPadLeft; /** * @brief The C-Pad Right button on a game controller. */ extern const OFGameControllerButton OFGameControllerButtonCPadRight; #ifdef __cplusplus } #endif /** * @brief A class for reading state from a game controller. */ | > > > > > | 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 | */ extern const OFGameControllerButton OFGameControllerButtonCPadLeft; /** * @brief The C-Pad Right button on a game controller. */ extern const OFGameControllerButton OFGameControllerButtonCPadRight; /** * @brief The Mode button on a game controller. */ extern const OFGameControllerButton OFGameControllerButtonMode; #ifdef __cplusplus } #endif /** * @brief A class for reading state from a game controller. */ |
︙ | ︙ |