Jump to content

Sign in to follow this  
Rocky

How to "steal" joystick axis away from FS ?

Recommended Posts

Guest adameke777

I am trying to program a gauge that will intercept the elevator signal from joystick and process it on its own. I don't want FS to translate those signals directly into elevator deflection. I understand that one way of doing it would be through disabling joystick in FS (KEY_JOYSTICK_CALIBRATE event) and handling it throught DirectInput. 1. Is there a more elegant way of accomplishing this ? I only want to "steal" the pitch axis. The roll and yaw can be processed by FS, as far as I am concerned.2. Is there a way to read in the FS joystick axis assignments ? Should I be forced to use the dreaded "disable joy / DI" approach, I would like to preserve the FS assignments in order to eliminate the need for custom .cfg files.Adam

Share this post


Link to post
Share on other sites

Hello Adam,As far as I know, what you describe is the only way to steal the pitch axis from FS.If you want to read the FS joystick assignments, the only solution I know is to read and parse the "fs9.cfg" file.Eric

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...