Jump to content

Recommended Posts

Posted

I've been playing around with ED's EFM template and found some issues while I tried to read input command values other than the stick axis'. I tried using the function "ed_fm_set_command" which appears to be in charge of handling the inputs but somehow I can't really get any commands to work besides the axis' and the wheel brakes.

How do I handle other controls in the EFM? Did I miss something?

[sIGPIC][/sIGPIC]

Posted
I had to search hard for this old post http://forums.eagle.ru/showpost.php?p=1982586

 

No idea if it still works though.

 

Thanks, I'll try that when I get out of the office.

 

Actually I'm in the same place as you.

 

Currently I just use GetAsyncKeyState function for example:

 

if (GetAsyncKeyState(0x53) & 1) //which means press "S" to do something.
           {
               autopilot = autopilot + 1;
               if (autopilot > 1) autopilot = 0;
           }

My version: http://forums.eagle.ru/showthread.php?t=147080 (updated today.)

 

That's a "solution" I've thought of as well, might use DInput for stick buttons as well. However, it would be pretty difficult to make a team play with this aircraft as they all like different setups.

[sIGPIC][/sIGPIC]

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...