Author Topic: How to control free rider look with joystick ?  (Read 232 times)

poumpouny

  • Full Member
  • ***
  • Posts: 166
    • View Profile
How to control free rider look with joystick ?
« on: June 13, 2017, 02:18:36 PM »
I'm trying lot of thing with my smartphone gyroscope and the software monect (who transform your phone into a game pad). So my question is how i can assign my joystick axis to the freelook, i know there is an option "joystick" in free look but i don't know it is assigned to what joystick and and i don't see any option to assign it!

Thx

PiBoSo

  • Administrator
  • Hero Member
  • *****
  • Posts: 2147
    • View Profile
Re: How to control free rider look with joystick ?
« Reply #1 on: June 13, 2017, 03:17:31 PM »

It is possible to edit gpbikes.ini to add the following lines under the "core" section:
Code: [Select]
freelook_joystick_name = XBOX 360 For Windows (Controller)
freelook_joystick_center = 0
freelook_joystick_range = 32767

These values set the range from -32767 to 32767.
For a different range, for example from 0 to 255, use:
Code: [Select]
freelook_joystick_center = 127
freelook_joystick_range = 127

HornetMaX

  • Hero Member
  • *****
  • Posts: 5534
    • View Profile
Re: How to control free rider look with joystick ?
« Reply #2 on: June 13, 2017, 06:41:08 PM »
Sticky ! (or better, in the gpbikes.ini post)

PiBoSo

  • Administrator
  • Hero Member
  • *****
  • Posts: 2147
    • View Profile
Re: How to control free rider look with joystick ?
« Reply #3 on: June 13, 2017, 08:40:50 PM »
Sticky ! (or better, in the gpbikes.ini post)

Done.