src/joystick/controller_type.h
changeset 12641 64597a7e8771
parent 12309 5c478c2f0422
child 12896 b91647e1a977
equal deleted inserted replaced
12640:b708d2c3fe08 12641:64597a7e8771
    55 	k_eControllerType_SwitchJoyConLeft = 39,
    55 	k_eControllerType_SwitchJoyConLeft = 39,
    56 	k_eControllerType_SwitchJoyConRight = 40,
    56 	k_eControllerType_SwitchJoyConRight = 40,
    57 	k_eControllerType_SwitchJoyConPair = 41,
    57 	k_eControllerType_SwitchJoyConPair = 41,
    58     k_eControllerType_SwitchInputOnlyController = 42,
    58     k_eControllerType_SwitchInputOnlyController = 42,
    59 	k_eControllerType_MobileTouch = 43,
    59 	k_eControllerType_MobileTouch = 43,
       
    60         k_eControllerType_GameCube = 44,
    60 	k_eControllerType_LastController,			// Don't add game controllers below this enumeration - this enumeration can change value
    61 	k_eControllerType_LastController,			// Don't add game controllers below this enumeration - this enumeration can change value
    61 
    62 
    62 	// Keyboards and Mice
    63 	// Keyboards and Mice
    63 	k_eControllertype_GenericKeyboard = 400,
    64 	k_eControllertype_GenericKeyboard = 400,
    64 	k_eControllertype_GenericMouse = 800,
    65 	k_eControllertype_GenericMouse = 800,
   385     
   386     
   386     { MAKE_CONTROLLER_ID( 0x0f0d, 0x00c1 ), k_eControllerType_SwitchInputOnlyController },  // HORIPAD for Nintendo Switch
   387     { MAKE_CONTROLLER_ID( 0x0f0d, 0x00c1 ), k_eControllerType_SwitchInputOnlyController },  // HORIPAD for Nintendo Switch
   387     { MAKE_CONTROLLER_ID( 0x20d6, 0xa711 ), k_eControllerType_SwitchInputOnlyController },  // PowerA Wired Controller Plus
   388     { MAKE_CONTROLLER_ID( 0x20d6, 0xa711 ), k_eControllerType_SwitchInputOnlyController },  // PowerA Wired Controller Plus
   388     { MAKE_CONTROLLER_ID( 0x0f0d, 0x0092 ), k_eControllerType_SwitchInputOnlyController },  // HORI Pokken Tournament DX Pro Pad
   389     { MAKE_CONTROLLER_ID( 0x0f0d, 0x0092 ), k_eControllerType_SwitchInputOnlyController },  // HORI Pokken Tournament DX Pro Pad
   389 
   390 
       
   391     { MAKE_CONTROLLER_ID( 0x057e, 0x0337 ), k_eControllerType_GameCube }, // Nintendo Wii U/Switch GameCube USB Adapter
       
   392 
   390 
   393 
   391 	// Valve products - don't add to public list
   394 	// Valve products - don't add to public list
   392     { MAKE_CONTROLLER_ID( 0x0000, 0x11fb ), k_eControllerType_MobileTouch },		// Streaming mobile touch virtual controls
   395     { MAKE_CONTROLLER_ID( 0x0000, 0x11fb ), k_eControllerType_MobileTouch },		// Streaming mobile touch virtual controls
   393 	{ MAKE_CONTROLLER_ID( 0x28de, 0x1101 ), k_eControllerType_SteamController },	// Valve Legacy Steam Controller (CHELL)
   396 	{ MAKE_CONTROLLER_ID( 0x28de, 0x1101 ), k_eControllerType_SteamController },	// Valve Legacy Steam Controller (CHELL)
   394 	{ MAKE_CONTROLLER_ID( 0x28de, 0x1102 ), k_eControllerType_SteamController },	// Valve wired Steam Controller (D0G)
   397 	{ MAKE_CONTROLLER_ID( 0x28de, 0x1102 ), k_eControllerType_SteamController },	// Valve wired Steam Controller (D0G)