PDA

View Full Version : Binding "Shift + h" to a joystick button


Gekkibi
18th February 2008, 06:44
Before we start, I would not like to use joy2key. And this is not an "ordinary joystick", so it doesn't have any kind of profiler.

I'm going to ask a very simple question: Is it possible to bind "change horn" to a joystick button, using one of spare "ctrl+" or "alt+" -features? I have successfully binded hazard lights etc to joystick buttons, but I can't simply type "/press shift+h", it won't work that way. If it is possible, tell me how. If it is not possible, then the case is closed.

Actually, I lied. I'm going to ask another question. Using command /press means just lwhat it sounds like: It presses the button. But is there command to initialize on/off -feature (For example, when I press the button, release the button and the binding stays on, until I press the button again) and off/on/off -feature (For example, binding stays on as long as I press the button)?

Don't ask me why do I need these to work like this. It is top secret. Only thing I can reveal is that it has something to do with external cockpit. :)

Stefani24
18th February 2008, 20:08
the only way that i know is, 1 button /press shift and 1 button /press h

eimer_
18th February 2008, 21:21
"/shift s" worked for me, so i could join spectators using one button on my wheel. so changing horn should work with "/shift h".

AndroidXP
18th February 2008, 21:37
Guess what, reading the manual (http://en.lfsmanual.net/wiki/Script_Guide#Binding_.26_Executing_Commands) would've solved this problem right away :p ;)

Gekkibi
19th February 2008, 08:46
Guess what, reading the manual (http://en.lfsmanual.net/wiki/Script_Guide#Binding_.26_Executing_Commands) would've solved this problem right away :p ;)

...That made me feel stupid. I have red the manual couple of times in the past, but for some reason missed completely that page. Thank you.

the_angry_angel
19th February 2008, 09:06
...That made me feel stupid. I have red the manual couple of times in the past, but for some reason missed completely that page. Thank you.To be fair, the manual does need a damn good tidy up in places at the moment :(