Jump to content
The simFlight Network Forums

ErnieAlston

Members
  • Posts

    4
  • Joined

  • Last visited

About ErnieAlston

  • Birthday 01/01/1970

Contact Methods

  • AIM
    alstoer1
  • Website URL
    http://

ErnieAlston's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi Pete, thanks very much for the reply. I tried it again today, and the elevators are working fine. I can't explain why they weren't yersterday with the same code, unless I did something silly like have the autopilot on. If the issue arises again, I'll provide further details, and the log. Thanks for the help. Regards. Ernie.
  2. Hello, I'm trying to write a Thrust hold function, and am trying to prevent joystick throttle inputs while this mode is active. #define JOYSTICK_AXIS 0x310A BYTE FsuipcMem[1024]; BOOL FsuipcOK = FALSE; static DWORD dwResult; ... ... BYTE fcon=0; FsuipcOK=FSUIPC_Open2(SIM_ANY, &dwResult, FsuipcMem, sizeof(FsuipcMem)); if(FsuipcOK) { fcon |= 1 << 3; FSUIPC_Write(JOYSTICK_AXIS, 1, &fcon, &dwResult); FSUIPC_Process(&dwResult); FSUIPC_Close(); } This is write is made once every few seconds. The above code segment does indeed inhibit the Joystick throttle inputs. But it also inhibits the elevator inputs as well. When I clear the bit they both come back. I'd like only the throttle inputs inhibited. Any idea what I'm doing wrong here ? Thanks. Regards. Ernie.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.