
Yesterday I bought a Trust Predator GM-1520. Debian Lenny utilizes it through HAL and it works without much problem... (Didn't know that vibration was there as a 3rd axis so it took some time to figure out.. then the occasional tweaking began.)
In KDE Control Center under Peripherals/Joystick you can test which axis is which. The number assigned to the axis in KDE minus one corresponds to nexuiz's axis scheme [e.g. axis 1 in KDE is axis 0 in nexiuz]. Nexuiz also has an axis -1 that is used to tell it that there is no input assigned for that job.
So now I have an autoexec.cfg file that has:
- Code: Select all
joy_axisforward "1"
joy_axispitch "3"
joy_axisroll "-1"
joy_axisside "0"
joy_axisup "-1"
joy_axisyaw "4"
Note that there is no axis 2 as it is used by the feedback (vibration) mechanism of the controller which is not supported (yet I presume).
The gamepad buttons are now all configured.
I also figured out that you can invert axis by changing these variables:
- Code: Select all
joy_sensitivityforward
joy_sensitivitypitch
joy_sensitivityroll
joy_sensitivityside
joy_sensitivityup
joy_sensitivityyaw
Changing a negative to a positive and vice versa does the trick. Values also help tweaking of speed to help you better aim etc. Due thanks to KadaverJack for his post here.
So everything seems to be working fine now. My only complaint is that looking up or down has to be manually leveled later.
After much muddling and failure to find any further references to some mythical +jlook command. My problems are these:
a) The centerview command does not work so I can not manually invoke auto leveling. (To which I had assigned a button to no avail.)
b) After setting lookspring to 1, noaim to 0 and sv_aim to 0.93 I still don't have recentering on.