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!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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]


Sign In or Register to comment.