Intercepting and modifying joystick messages - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Intercepting and modifying joystick messages

I would like to write an application that modifies the joystick information as seen by other applications. The aim would be to process joystick information so that a game or simulator receives more realistic joystick input.



For example, a motorsport simulator could have throttle, braking and gear adjustments processed to provide more lifelike responses (such as non-linear response curves).



Most games seem to access the joystick using joyGetPosEx (rather than capturing messages using joySetCapture). Is where a way to modify the result of joyGetPosEx, or alternatively, would I need to write a joystick driver at a lower level (accessing the joystick port using basic serial

communications APIs, and writing some joystick APIs such as joyGetPosEx)?

--------------------------------------------------

Please reply by email to either: [email protected] or

[email protected]



Thanks.


Sign In or Register to comment.