1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.35 Bug Reporting thread
    Solutions and more information may already be available.

Gamepad Axis Mapping

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by Fat-Alfie, Aug 5, 2013.

  1. Fat-Alfie

    Fat-Alfie
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    65
    I am using a Logitech Dual Action gamepad, and whilst the analogue steering was easy enough to get working on a joystick, the accelerator/brake is proving more difficult.

    The game seems unable to map two actions to the same axis, which means I can use the y-axis (upper) for the accelerator, great, but if I try to use y-axis (lower) for the brake, this over-rides any previous mapping, and the accelerator no longer works.

    moveMap.bind(%device, rzaxis, "I", accelerate);
    moveMap.bind(%device, rzaxis, brake);

    Does anyone know of a combined action (like joy_steer which combines left & right in one action) but for accelerator/brake?

    The action 'joy_accelerate' is used in the mapping for the Hitec Aurora 9 R/C (RC-Joystick) but is unrecognised when I try it for my gamepad.

    Any ideas would be welcome :)
     

    Attached Files:

  2. skyliner_369

    skyliner_369
    Expand Collapse

    Joined:
    Nov 4, 2013
    Messages:
    40
    This solution should work, I know, I've done it gas-and-brake-same-axis
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice