View Single Post
  #23  
Old 10-16-2012, 08:50 PM
phoenix1963's Avatar
phoenix1963 phoenix1963 is offline
Approved Member
 
Join Date: Oct 2007
Posts: 176
Default

Quote:
Originally Posted by ACE-OF-ACES View Post
Sad things is the autopilot used with IL-2 used DeviceLink to get and set values.. And as far as I can tell the C# script only gets values.. That is to say there is no way to set values.. I have been looking into some other ways to set values, but that project is on the back burner right now.. Just too busy right now
I don't think there's any need to use DeviceLink to set values, one could generate a proxy DLL that intercepts DirectInput calls (assuming they've not switched to Xinput) and replaces the joystick values with your own to fly the aircraft. Though this is a "dangerous" thing to do because keyloggers do the same.

The existing C# script could be used to extract the values needed to fly the 'plane. Even if we can't get attitude values, you could calculate trajectories from the position data.

56RAF_phoenix
Reply With Quote