Celtarcs Posted March 5, 2015 Posted March 5, 2015 Hello everybody,I use the software AutoHotKey to programming the controls of my joystick. (http://www.autohotkey.com/)I would like to attribute the combinations of keys : (Shift, Control or Alt) + (Key). Is it possible ?Example: I want to assign the command "Switch pitch propellers control mode: manual / auto" (LShift + P) => button n°2 of my joystick. ; Switch propellers pitch (manual/auto) 1Joy2:: Send {LShift down}P{LShift up} return It works very well in NotePad.But in BOS, at the touch of a button 2, the game will be paused.It seems that the key "Shift" does not work.How can I get around this?Sorry for my english.Thank you in advance.
Sokol1 Posted March 5, 2015 Posted March 5, 2015 (edited) With others keymaper (TARGET...) is need use pauses between the modifier and the key. Edited March 5, 2015 by Sokol1
Celtarcs Posted March 9, 2015 Author Posted March 9, 2015 Thank you very much Sokol1.This works perfectly.Here is the code AutoHotKey : ; ***** Switch propellers pitch (manual/auto) ***** 1Joy2:: BlockInput On Send {RShift down} Sleep 33 Send {p down} Sleep 33 Send {p up}{RShift up} BlockInput Off Return
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now