csutorasa / XOutput

DirectInput to XInput wrapper
MIT License
1.16k stars 100 forks source link

After configuring the button/joystick at once, there is a problem of the joystick not being centered (reverse joystick not being centered) #784

Open questionsix opened 1 year ago

questionsix commented 1 year ago

In fact, there was a problem with the right joystick not being centered in the recently updated version 3.31, and after I tried to calibrate the joystick independently, it worked normally. However, at this time, the reverse joystick will again experience the joystick not being centered

imedox commented 1 year ago

tray to read issues section to find solution next time befor open new issues.

centered Key R-joystick Z,S,Q,D keys for example.

"RX": {
  "Mappers": [
   {
       "InputDevice": "Keyboard",
       "InputType": "60",
       "MinValue": 0.5,
       "MaxValue": -0.5,
       "Deadzone": 0.0
   },
   {
       "InputDevice": "Keyboard",
       "InputType": "47",
       "MinValue": 0.0,
       "MaxValue": 2.0,
       "Deadzone": 0.0
   }
 ],
 "CenterPoint": 0.0
},
"RY": {
  "Mappers": [
   {
       "InputDevice": "Keyboard",
       "InputType": "62",
       "MinValue": 0.5,
       "MaxValue": -0.5,
       "Deadzone": 0.0
   },
   {
       "InputDevice": "Keyboard",
       "InputType": "69",
       "MinValue": 0.0,
       "MaxValue": 2.0,
       "Deadzone": 0.0
   }
 ],
 "CenterPoint": 0.0        
},