Need inputs routed... help
Hey, I am a beginning programmer, and I need to learn how to map inputs to other inputs.
More specifically, I need my x-axis on my mouse ALSO routed to me left and right keys.
How can this be done?
[215 byte] By [
Alighieri] at [2007-11-19 6:41:02]

# 1 Re: Need inputs routed... help
Can you describe little more? With this information, the only word that comes to my mind is SendInput ( http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/userinput/keyboardinput/keyboardinputreference/keyboardinputfunctions/sendinput.asp)
Ejaz at 2007-11-9 0:41:46 >

# 2 Re: Need inputs routed... help
The problem: Running a game in which there are the following movements:
Arms left/right: Controlled by arrow keys : Mapped in game
Arms up/down: Controlled by mouse y-axis : Mapped in game
Torso left/right/up/down: Controlled by mouse x-axis and y-axis : Mapped in game
I can not map the Arms left and right to the mouse in game, there is no option to do so. I need:
Arms left/right: Controlled by mouse x-axis : Mapped out of game
# 3 Re: Need inputs routed... help
I can not map the Arms left and right to the mouse in game, there is no option to do so. I need:
Is this game designed by you, or do you have the source code? It seems that you have the game executable and you want to change its behaviour, right?
Ejaz at 2007-11-9 0:43:47 >

# 4 Re: Need inputs routed... help
not sure if this is helpfull at all but u might wanna check out direct inpute, if this is for windows...there are other ways inlcude GetAsyncKeyState, but none measure up to effieciency that direct inute gives u. Or if u are on other os u can write a driver to do this for u.
Quell at 2007-11-9 0:44:47 >
