forked from Mirror/Ryujinx
d24ea0d51b
* Added Basic Controller Support * Added Extra Configuration Options Added a GamePad_Enable option and GamePad_Index option * Revert "Added Extra Configuration Options" This reverts commit6cc56bfe7e
. * Revert "Revert "Added Extra Configuration Options"" This reverts commit4809e5effe
. * Forgot to change the Gamepad Index * Added Configuration for the A B X Y Buttons * Added Button Configuration for all other Buttons * Added Basic Joystick Configuration * Fixed Joystick Axis Problems Fixed Joystick Axis Problems when switching around the Joysticks (Left Stick is Right and Right stick is Left) * Refactored all of the button mapping code * Changes in compliance with review * Changes in compliance with review * Fixed problems in the configuration file with different regions * Changes in compliance with review
82 lines
No EOL
2.8 KiB
Text
82 lines
No EOL
2.8 KiB
Text
#Enable cpu memory checks (slow)
|
|
Enable_Memory_Checks = false
|
|
|
|
#Enable print debug logs
|
|
Logging_Enable_Debug = false
|
|
|
|
#Enable print stubbed calls logs
|
|
Logging_Enable_Stub = true
|
|
|
|
#Enable print informations logs
|
|
Logging_Enable_Info = true
|
|
|
|
#Enable print warning logs
|
|
Logging_Enable_Warn = true
|
|
|
|
#Enable print error logs
|
|
Logging_Enable_Error = true
|
|
|
|
#Filtered log classes, seperated by ", ", eg. `Logging_Filtered_Classes = Loader, ServiceFS`
|
|
Logging_Filtered_Classes =
|
|
|
|
#Controller Device Index
|
|
GamePad_Index = 0
|
|
|
|
#Controller Analog Stick Deadzone
|
|
GamePad_Deadzone = 0.05
|
|
|
|
#The value of how pressed down each trigger has to be in order to register a button press
|
|
GamePad_Trigger_Threshold = 0.5
|
|
|
|
#Whether or not to enable Controller support
|
|
GamePad_Enable = true
|
|
|
|
#https://github.com/opentk/opentk/blob/develop/src/OpenTK/Input/Key.cs
|
|
Controls_Left_JoyConKeyboard_Stick_Up = 105
|
|
Controls_Left_JoyConKeyboard_Stick_Down = 101
|
|
Controls_Left_JoyConKeyboard_Stick_Left = 83
|
|
Controls_Left_JoyConKeyboard_Stick_Right = 86
|
|
Controls_Left_JoyConKeyboard_Stick_Button = 88
|
|
Controls_Left_JoyConKeyboard_DPad_Up = 45
|
|
Controls_Left_JoyConKeyboard_DPad_Down = 46
|
|
Controls_Left_JoyConKeyboard_DPad_Left = 47
|
|
Controls_Left_JoyConKeyboard_DPad_Right = 48
|
|
Controls_Left_JoyConKeyboard_Button_Minus = 120
|
|
Controls_Left_JoyConKeyboard_Button_L = 87
|
|
Controls_Left_JoyConKeyboard_Button_ZL = 99
|
|
|
|
Controls_Right_JoyConKeyboard_Stick_Up = 91
|
|
Controls_Right_JoyConKeyboard_Stick_Down = 93
|
|
Controls_Right_JoyConKeyboard_Stick_Left = 92
|
|
Controls_Right_JoyConKeyboard_Stick_Right = 94
|
|
Controls_Right_JoyConKeyboard_Stick_Button = 90
|
|
Controls_Right_JoyConKeyboard_Button_A = 108
|
|
Controls_Right_JoyConKeyboard_Button_B = 106
|
|
Controls_Right_JoyConKeyboard_Button_X = 85
|
|
Controls_Right_JoyConKeyboard_Button_Y = 104
|
|
Controls_Right_JoyConKeyboard_Button_Plus = 121
|
|
Controls_Right_JoyConKeyboard_Button_R = 103
|
|
Controls_Right_JoyConKeyboard_Button_ZR = 97
|
|
|
|
#Controller Controls
|
|
|
|
Controls_Left_JoyConController_Stick_Button = LStick
|
|
Controls_Left_JoyConController_DPad_Up = DPadUp
|
|
Controls_Left_JoyConController_DPad_Down = DPadDown
|
|
Controls_Left_JoyConController_DPad_Left = DPadLeft
|
|
Controls_Left_JoyConController_DPad_Right = DPadRight
|
|
Controls_Left_JoyConController_Button_Minus = Back
|
|
Controls_Left_JoyConController_Button_L = LShoulder
|
|
Controls_Left_JoyConController_Button_ZL = LTrigger
|
|
|
|
Controls_Right_JoyConController_Stick_Button = RStick
|
|
Controls_Right_JoyConController_Button_A = B
|
|
Controls_Right_JoyConController_Button_B = A
|
|
Controls_Right_JoyConController_Button_X = Y
|
|
Controls_Right_JoyConController_Button_Y = X
|
|
Controls_Right_JoyConController_Button_Plus = Start
|
|
Controls_Right_JoyConController_Button_R = RShoulder
|
|
Controls_Right_JoyConController_Button_ZR = RTrigger
|
|
|
|
Controls_Left_JoyConController_Stick = LJoystick
|
|
Controls_Right_JoyConController_Stick = RJoystick |