Author Topic: Disable joystick input  (Read 1190 times)

PiBoSo

  • Administrator
  • Hero Member
  • *****
  • Posts: 1866
    • View Profile
    • Email
Disable joystick input
« on: July 24, 2015, 09:30:40 PM »
Starting with Beta14, it is possible to disable an input of a joystick.
This could be useful, for example, to disable a broken potentiometer that is outputting noise.

The file joysticks.cfg is automatically read at startup.
It is possible to add multiple joysticks: "name" is the name of the joystick as it appears in the "Calibration" page of Kart Racing Pro.
The names of the inputs are the same of the calibration page:
Code: [Select]
x, y, z, rx, ry, rz
slider1, slider2
pov1 to pov4
button1 to button32

The default joysticks.cfg disables the buttons linked to the triggers of the PS4 pad, so that it is possible to assign them as analog inputs.
« Last Edit: July 24, 2015, 09:43:41 PM by PiBoSo »