소스 검색

Added some additional Nintendo controller types to ESwitchDeviceInfoControllerType

Sam Lantinga 3 년 전
부모
커밋
bdfb32de3c
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/joystick/hidapi/SDL_hidapi_switch.c

+ 2 - 0
src/joystick/hidapi/SDL_hidapi_switch.c

@@ -110,6 +110,8 @@ typedef enum {
     k_eSwitchDeviceInfoControllerType_ProController  = 3,
     k_eSwitchDeviceInfoControllerType_NESLeft        = 9,
     k_eSwitchDeviceInfoControllerType_NESRight       = 10,
+    k_eSwitchDeviceInfoControllerType_SNES           = 11,
+    k_eSwitchDeviceInfoControllerType_SEGA_Genesis   = 13,
 } ESwitchDeviceInfoControllerType;
 
 #define k_unSwitchOutputPacketDataLength 49