Hipp0 Posted May 24, 2013 Report Posted May 24, 2013 Hi, I wanted to set up a joystick button to send a TAB keystroke using fsuipc, but can't find a keycode (in the advanced manual) other than to use the key as a shift. Is this possible? Thanks.
Andydigital Posted May 25, 2013 Report Posted May 25, 2013 The TAB key is classed as another modifier like Shift, CTRL or ALT which is a lot more useful than being just a key as it gives you another set of keys to assign to. I just wish other games used it as a modifier too.
Hipp0 Posted May 25, 2013 Author Report Posted May 25, 2013 Thanks for replying, however I don't think you've answered my question. I would like to hold down a joystick button and have this send the (held) tab key to FSX. I would like to do this in FSUIPC. Is this possible?
Andydigital Posted May 25, 2013 Report Posted May 25, 2013 You can't its a modifier key which means it can only be used in combination with another key.
Hipp0 Posted May 26, 2013 Author Report Posted May 26, 2013 Hello again, It appears that it is possible. Stumbled across it in the lua library manual, it's code 9 for tab: ipc.keypress(9) -- this works as desired for me.
mgh Posted May 26, 2013 Report Posted May 26, 2013 For reference 0x09 is the Virtual-Key (VK) code for the tab key. The other VKs are listed here http://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx
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