Jump to content
The simFlight Network Forums

earthdog

Members
  • Posts

    31
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Location
    Athens, Greece

earthdog's Achievements

Apprentice

Apprentice (3/14)

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

Recent Badges

0

Reputation

  1. I am on latest FSUIPC version 7.5.0 and Latest MSFS2024. See the attachment showcasing my issue. The throttle advances but it seems to reset like i am pressing F1 or something. I tried calibrating the throttle axis in all possible ways, Sending them to MSFS or calibrating in FSUIPC but the situation is the same. If i close FSUIPC and set the throttle axis in MSFS it works fine. But i cant live without FSUIPC 🙂 throtlle.mp4
  2. Is there a way to reload myevents.txt without exiting the app? I tried from Addons->WASM-> Reload but doesn;t do the trick.
  3. It worked by using myevents.txt, thanks.
  4. 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?
  5. 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?
  6. 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.
  7. 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?
  8. 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?
  9. Is there any way to use SendKeyToFS or any other method to send keystrokes to MSFS without the app getting focus every time? Thanks.
  10. 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?
  11. Of course it isn;t...I ment using VIsual Studio and native simconnect...
  12. 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.
  13. 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?
  14. 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.
  15. I suppose you could use Fody/Costura to embed the managed DLL in your app...
×
×
  • 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.