mirror of
https://github.com/Rosalie241/RMG.git
synced 2026-07-11 01:24:01 +02:00
Data: add InputProfileDB.json
This commit is contained in:
+1
-1
@@ -156,7 +156,7 @@ if (VRU)
|
|||||||
DESTINATION ${DATA_INSTALL_PATH}
|
DESTINATION ${DATA_INSTALL_PATH}
|
||||||
)
|
)
|
||||||
endif(VRU)
|
endif(VRU)
|
||||||
install(FILES ${SDL_GAMECONTROLLERDB}
|
install(FILES ${SDL_GAMECONTROLLERDB} ${CMAKE_SOURCE_DIR}/Data/InputProfileDB.json
|
||||||
DESTINATION ${DATA_INSTALL_PATH}
|
DESTINATION ${DATA_INSTALL_PATH}
|
||||||
)
|
)
|
||||||
file(GLOB GENERATED_CHEAT_FILES ${CMAKE_SOURCE_DIR}/Data/Cheats/Generated/*.cht)
|
file(GLOB GENERATED_CHEAT_FILES ${CMAKE_SOURCE_DIR}/Data/Cheats/Generated/*.cht)
|
||||||
|
|||||||
@@ -0,0 +1,230 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"DeviceName": [ "fallback_profile" ],
|
||||||
|
"DeviceType": 4,
|
||||||
|
"A_InputType": "0",
|
||||||
|
"A_Name": "a",
|
||||||
|
"A_Data": "0",
|
||||||
|
"A_ExtraData": "0",
|
||||||
|
"B_InputType": "0",
|
||||||
|
"B_Name": "x",
|
||||||
|
"B_Data": "2",
|
||||||
|
"B_ExtraData": "0",
|
||||||
|
"Start_InputType": "0",
|
||||||
|
"Start_Name": "start",
|
||||||
|
"Start_Data": "6",
|
||||||
|
"Start_ExtraData": "0",
|
||||||
|
"DpadUp_InputType": "0",
|
||||||
|
"DpadUp_Name": "dpup",
|
||||||
|
"DpadUp_Data": "11",
|
||||||
|
"DpadUp_ExtraData": "0",
|
||||||
|
"DpadDown_InputType": "0",
|
||||||
|
"DpadDown_Name": "dpdown",
|
||||||
|
"DpadDown_Data": "12",
|
||||||
|
"DpadDown_ExtraData": "0",
|
||||||
|
"DpadLeft_InputType": "0",
|
||||||
|
"DpadLeft_Name": "dpleft",
|
||||||
|
"DpadLeft_Data": "13",
|
||||||
|
"DpadLeft_ExtraData": "0",
|
||||||
|
"DpadRight_InputType": "0",
|
||||||
|
"DpadRight_Name": "dpright",
|
||||||
|
"DpadRight_Data": "14",
|
||||||
|
"DpadRight_ExtraData": "0",
|
||||||
|
"CButtonUp_InputType": "1",
|
||||||
|
"CButtonUp_Name": "righty-",
|
||||||
|
"CButtonUp_Data": "3",
|
||||||
|
"CButtonUp_ExtraData": "0",
|
||||||
|
"CButtonDown_InputType": "1",
|
||||||
|
"CButtonDown_Name": "righty+",
|
||||||
|
"CButtonDown_Data": "3",
|
||||||
|
"CButtonDown_ExtraData": "1",
|
||||||
|
"CButtonLeft_InputType": "1",
|
||||||
|
"CButtonLeft_Name": "rightx-",
|
||||||
|
"CButtonLeft_Data": "2",
|
||||||
|
"CButtonLeft_ExtraData": "0",
|
||||||
|
"CButtonRight_InputType": "1",
|
||||||
|
"CButtonRight_Name": "rightx+",
|
||||||
|
"CButtonRight_Data": "2",
|
||||||
|
"CButtonRight_ExtraData": "1",
|
||||||
|
"LeftTrigger_InputType": "0",
|
||||||
|
"LeftTrigger_Name": "leftshoulder",
|
||||||
|
"LeftTrigger_Data": "9",
|
||||||
|
"LeftTrigger_ExtraData": "0",
|
||||||
|
"RightTrigger_InputType": "0",
|
||||||
|
"RightTrigger_Name": "rightshoulder",
|
||||||
|
"RightTrigger_Data": "10",
|
||||||
|
"RightTrigger_ExtraData": "0",
|
||||||
|
"ZTrigger_InputType": "1",
|
||||||
|
"ZTrigger_Name": "lefttrigger+",
|
||||||
|
"ZTrigger_Data": "4",
|
||||||
|
"ZTrigger_ExtraData": "1",
|
||||||
|
"AnalogStickUp_InputType": "1",
|
||||||
|
"AnalogStickUp_Name": "lefty-",
|
||||||
|
"AnalogStickUp_Data": "1",
|
||||||
|
"AnalogStickUp_ExtraData": "0",
|
||||||
|
"AnalogStickDown_InputType": "1",
|
||||||
|
"AnalogStickDown_Name": "lefty+",
|
||||||
|
"AnalogStickDown_Data": "1",
|
||||||
|
"AnalogStickDown_ExtraData": "1",
|
||||||
|
"AnalogStickLeft_InputType": "1",
|
||||||
|
"AnalogStickLeft_Name": "leftx-",
|
||||||
|
"AnalogStickLeft_Data": "0",
|
||||||
|
"AnalogStickLeft_ExtraData": "0",
|
||||||
|
"AnalogStickRight_InputType": "1",
|
||||||
|
"AnalogStickRight_Name": "leftx+",
|
||||||
|
"AnalogStickRight_Data": "0",
|
||||||
|
"AnalogStickRight_ExtraData": "1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"DeviceName": [ "Nintendo N64 Controller" ],
|
||||||
|
"DeviceType": 4,
|
||||||
|
"A_InputType": "0",
|
||||||
|
"A_Name": "a",
|
||||||
|
"A_Data": "0",
|
||||||
|
"A_ExtraData": "0",
|
||||||
|
"B_InputType": "0",
|
||||||
|
"B_Name": "b",
|
||||||
|
"B_Data": "1",
|
||||||
|
"B_ExtraData": "0",
|
||||||
|
"Start_InputType": "0",
|
||||||
|
"Start_Name": "start",
|
||||||
|
"Start_Data": "6",
|
||||||
|
"Start_ExtraData": "0",
|
||||||
|
"DpadUp_InputType": "0",
|
||||||
|
"DpadUp_Name": "dpup",
|
||||||
|
"DpadUp_Data": "11",
|
||||||
|
"DpadUp_ExtraData": "0",
|
||||||
|
"DpadDown_InputType": "0",
|
||||||
|
"DpadDown_Name": "dpdown",
|
||||||
|
"DpadDown_Data": "12",
|
||||||
|
"DpadDown_ExtraData": "0",
|
||||||
|
"DpadLeft_InputType": "0",
|
||||||
|
"DpadLeft_Name": "dpleft",
|
||||||
|
"DpadLeft_Data": "13",
|
||||||
|
"DpadLeft_ExtraData": "0",
|
||||||
|
"DpadRight_InputType": "0",
|
||||||
|
"DpadRight_Name": "dpright",
|
||||||
|
"DpadRight_Data": "14",
|
||||||
|
"DpadRight_ExtraData": "0",
|
||||||
|
"CButtonUp_InputType": "0",
|
||||||
|
"CButtonUp_Name": "y",
|
||||||
|
"CButtonUp_Data": "3",
|
||||||
|
"CButtonUp_ExtraData": "0",
|
||||||
|
"CButtonDown_InputType": "1",
|
||||||
|
"CButtonDown_Name": "righttrigger+",
|
||||||
|
"CButtonDown_Data": "5",
|
||||||
|
"CButtonDown_ExtraData": "1",
|
||||||
|
"CButtonLeft_InputType": "0",
|
||||||
|
"CButtonLeft_Name": "x",
|
||||||
|
"CButtonLeft_Data": "2",
|
||||||
|
"CButtonLeft_ExtraData": "0",
|
||||||
|
"CButtonRight_InputType": "0",
|
||||||
|
"CButtonRight_Name": "back",
|
||||||
|
"CButtonRight_Data": "4",
|
||||||
|
"CButtonRight_ExtraData": "0",
|
||||||
|
"LeftTrigger_InputType": "0",
|
||||||
|
"LeftTrigger_Name": "leftshoulder",
|
||||||
|
"LeftTrigger_Data": "9",
|
||||||
|
"LeftTrigger_ExtraData": "0",
|
||||||
|
"RightTrigger_InputType": "0",
|
||||||
|
"RightTrigger_Name": "rightshoulder",
|
||||||
|
"RightTrigger_Data": "10",
|
||||||
|
"RightTrigger_ExtraData": "0",
|
||||||
|
"ZTrigger_InputType": "1",
|
||||||
|
"ZTrigger_Name": "lefttrigger+",
|
||||||
|
"ZTrigger_Data": "4",
|
||||||
|
"ZTrigger_ExtraData": "1",
|
||||||
|
"AnalogStickUp_InputType": "1",
|
||||||
|
"AnalogStickUp_Name": "lefty-",
|
||||||
|
"AnalogStickUp_Data": "1",
|
||||||
|
"AnalogStickUp_ExtraData": "0",
|
||||||
|
"AnalogStickDown_InputType": "1",
|
||||||
|
"AnalogStickDown_Name": "lefty+",
|
||||||
|
"AnalogStickDown_Data": "1",
|
||||||
|
"AnalogStickDown_ExtraData": "1",
|
||||||
|
"AnalogStickLeft_InputType": "1",
|
||||||
|
"AnalogStickLeft_Name": "leftx-",
|
||||||
|
"AnalogStickLeft_Data": "0",
|
||||||
|
"AnalogStickLeft_ExtraData": "0",
|
||||||
|
"AnalogStickRight_InputType": "1",
|
||||||
|
"AnalogStickRight_Name": "leftx+",
|
||||||
|
"AnalogStickRight_Data": "0",
|
||||||
|
"AnalogStickRight_ExtraData": "1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"DeviceName": [ "Nintendo GameCube Controller" ],
|
||||||
|
"DeviceType": 4,
|
||||||
|
"A_InputType": "0",
|
||||||
|
"A_Name": "a",
|
||||||
|
"A_Data": "0",
|
||||||
|
"A_ExtraData": "0",
|
||||||
|
"B_InputType": "0",
|
||||||
|
"B_Name": "b",
|
||||||
|
"B_Data": "1",
|
||||||
|
"B_ExtraData": "0",
|
||||||
|
"Start_InputType": "0",
|
||||||
|
"Start_Name": "start",
|
||||||
|
"Start_Data": "6",
|
||||||
|
"Start_ExtraData": "0",
|
||||||
|
"DpadUp_InputType": "0",
|
||||||
|
"DpadUp_Name": "dpup",
|
||||||
|
"DpadUp_Data": "11",
|
||||||
|
"DpadUp_ExtraData": "0",
|
||||||
|
"DpadDown_InputType": "0",
|
||||||
|
"DpadDown_Name": "dpdown",
|
||||||
|
"DpadDown_Data": "12",
|
||||||
|
"DpadDown_ExtraData": "0",
|
||||||
|
"DpadLeft_InputType": "0",
|
||||||
|
"DpadLeft_Name": "dpleft",
|
||||||
|
"DpadLeft_Data": "13",
|
||||||
|
"DpadLeft_ExtraData": "0",
|
||||||
|
"DpadRight_InputType": "0",
|
||||||
|
"DpadRight_Name": "dpright",
|
||||||
|
"DpadRight_Data": "14",
|
||||||
|
"DpadRight_ExtraData": "0",
|
||||||
|
"CButtonUp_InputType": "1;0",
|
||||||
|
"CButtonUp_Name": "righty-;y",
|
||||||
|
"CButtonUp_Data": "3;3",
|
||||||
|
"CButtonUp_ExtraData": "0;0",
|
||||||
|
"CButtonDown_InputType": "1",
|
||||||
|
"CButtonDown_Name": "righty+",
|
||||||
|
"CButtonDown_Data": "3",
|
||||||
|
"CButtonDown_ExtraData": "1",
|
||||||
|
"CButtonLeft_InputType": "1",
|
||||||
|
"CButtonLeft_Name": "rightx-",
|
||||||
|
"CButtonLeft_Data": "2",
|
||||||
|
"CButtonLeft_ExtraData": "0",
|
||||||
|
"CButtonRight_InputType": "1;0",
|
||||||
|
"CButtonRight_Name": "rightx+;x",
|
||||||
|
"CButtonRight_Data": "2;2",
|
||||||
|
"CButtonRight_ExtraData": "1;0",
|
||||||
|
"LeftTrigger_InputType": "0",
|
||||||
|
"LeftTrigger_Name": "rightshoulder",
|
||||||
|
"LeftTrigger_Data": "10",
|
||||||
|
"LeftTrigger_ExtraData": "0",
|
||||||
|
"RightTrigger_InputType": "1",
|
||||||
|
"RightTrigger_Name": "righttrigger+",
|
||||||
|
"RightTrigger_Data": "5",
|
||||||
|
"RightTrigger_ExtraData": "1",
|
||||||
|
"ZTrigger_InputType": "1",
|
||||||
|
"ZTrigger_Name": "lefttrigger+",
|
||||||
|
"ZTrigger_Data": "4",
|
||||||
|
"ZTrigger_ExtraData": "1",
|
||||||
|
"AnalogStickUp_InputType": "1",
|
||||||
|
"AnalogStickUp_Name": "lefty-",
|
||||||
|
"AnalogStickUp_Data": "1",
|
||||||
|
"AnalogStickUp_ExtraData": "0",
|
||||||
|
"AnalogStickDown_InputType": "1",
|
||||||
|
"AnalogStickDown_Name": "lefty+",
|
||||||
|
"AnalogStickDown_Data": "1",
|
||||||
|
"AnalogStickDown_ExtraData": "1",
|
||||||
|
"AnalogStickLeft_InputType": "1",
|
||||||
|
"AnalogStickLeft_Name": "leftx-",
|
||||||
|
"AnalogStickLeft_Data": "0",
|
||||||
|
"AnalogStickLeft_ExtraData": "0",
|
||||||
|
"AnalogStickRight_InputType": "1",
|
||||||
|
"AnalogStickRight_Name": "leftx+",
|
||||||
|
"AnalogStickRight_Data": "0",
|
||||||
|
"AnalogStickRight_ExtraData": "1"
|
||||||
|
}
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user