Jump to content
The simFlight Network Forums

earthdog

Members
  • Posts

    30
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Athens, Greece

earthdog's Achievements

Rookie

Rookie (2/14)

  • Reacting Well Rare
  • First Post Rare
  • Collaborator Rare
  • Conversation Starter Rare
  • Week One Done

Recent Badges

0

Reputation

  1. Is there a way to reload myevents.txt without exiting the app? I tried from Addons->WASM-> Reload but doesn;t do the trick.
  2. It worked by using myevents.txt, thanks.
  3. Hi I need to assign current aircraft pitch to an LVAR and make that run when i press a button. The assignment is: (A:PLANE PITCH DEGREES, degrees) (>L:var_AP_PitchKnob, number) Can anyone guide me how to do it?
  4. Meaning that i can get the window that has the focus before send the key and return there? In an effort for the user no to be disrupted somehow?
  5. I will try what you propose and let you know. I also read somewhere that i may have to get hold of a child window to get the appropriate handle and not the parent MSFS window. On the other hand SendKeytoFS works just fine with the main window handle. Thanks.
  6. I tried your code and it does not work , giving no errors. I also tried with the following signature for PostMessage: [DllImport("User32.Dll", EntryPoint = "PostMessageA", SetLastError = true)] public static extern bool PostMessage(IntPtr hWnd, uint msg, IntPtr wParam, IntPtr lParam); But also i get no keys sent to MSFS. Any idea why?
  7. Thanks for the answer! I just want to send simple keystrokes to control the drone camera, and i will not be needing modifier keys. If i understand correctly this mean that i can use SendMessage?
  8. Is there any way to use SendKeyToFS or any other method to send keystrokes to MSFS without the app getting focus every time? Thanks.
  9. Hi All, hi Pete My target is to be able to move the drone camera. I tried to use the logging facility to check for events/offsets to use. Drone camera is moved by keys W,A,S,D - R,F (Up and down) and numpad 4 and 6. When pressing the above the only event that always get registered is: 508157 *** EVENT: Cntrl= 65555 (0x00010013), Param= 0 (0x00000000) SIM_RATE 509438 *** EVENT: Cntrl= 65555 (0x00010013), Param= 0 (0x00000000) SIM_RATE 508157 *** EVENT: Cntrl= 65555 (0x00010013), Param= 0 (0x00000000) SIM_RATE 509438 *** EVENT: Cntrl= 65555 (0x00010013), Param= 0 (0x00000000) SIM_RATE All of the above keys EXCEPT the numpad 4 and 6 do register in the log window the buttons: 465407 KEYDOWN: VK=65, Waiting=0, Repeat=N, Shifts=0 465407 .. Key not programmed -- passed on to FS 465407 EV_KEYDOWN received: 0x41 (A) 465407 KEYDOWN: VK=97, Waiting=0, Repeat=N, Shifts=0 465407 .. Key not programmed -- passed on to FS 465407 EV_KEYDOWN received: 0x61 (a) 465469 KEYUP: VK=65, Waiting=0, Shifts=0 465469 EV_KEYUP received: 0x41 (A) 465469 KEYUP: VK=97, Waiting=0, Shifts=0 465469 EV_KEYUP received: 0x61 (a) What are my options to be able to control the drone camera movement? Only the button events?
  10. Of course it isn;t...I ment using VIsual Studio and native simconnect...
  11. I just did, downloaded with Visual Studio project and i am connected to MSFS...I will go this way for now..I will leave C++ for gauges (if i need to work with one)... thanks.
  12. Thanks for the plethora of info. So if my platform/tool of choice is .NET and C# (managed) my only choice would be the .net dll? I dont write in C++ to get advantage of the C++ 64bit lib. EDIT: I just saw the examples in FSUIPC SDK and i saw that including the fsuipc.cs enables me to work with C#. Is this relevant to new MSFS? And what are the differences in using the .NET Client DLL?
  13. Although the SDK is far from complete, i want to take a look and explore the development capabilities that i have with MSFS using FSUIPC. What are the ways that i can develop apps? I can understand that using the .NET DLL is an option. Is there anything else? LUA? or something else? Thank you.
  14. I suppose you could use Fody/Costura to embed the managed DLL in your app...
  15. Hi All! I have read the other thread (from 2013) about using FSUIPC with Raspberry. I have a couple of PIs that i would like to use for P3D. So would i have success with the mentioned combo? A pi4 with Windows 10 Iot runnig apps with FSUIPC .NET Dll and reaching P3d via Wide FS client running on the PI? I would appreciate a consult on the above in order to get started. I was also thinking of having a local application on the P3d machine that serves as a "proxy" talking to my raspberrys through network... Thanks!
×
×
  • 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.