muchimi / JoystickGremlinEx

Modified version of Joystick Gremlin to add features I wanted to have but were difficult to do as just a plugin, plus I wanted to run this as 64 bit and on a more current version of Python/QT.
GNU General Public License v3.0
17 stars 2 forks source link

How hard to have SimConnect Python API in plugins? #46

Open aspence opened 1 month ago

aspence commented 1 month ago

Hey Muchimi it's so awesome that you have put work into JG, I love this program and agree with you on the whole approach - so smart. Thank you.

Would it be hard to bring the dlls or python modules necessary to be able to use SimConnect interfacing with MSFS2020 directly inside JGEx plugins?

I've seen example code to use a python SimConnect API and realized if it were inside JGEx plugins it would simplify a billion things for fs2020. I think.

Thanks for any input!

muchimi commented 1 month ago

I played a while back with SimConnect as a script (as I did with OSC). I think the approach is more to support SimConnect as an output device as it is with vjoy so the general JGEX mechanics fit as there aren't too many output options for SimConnect from a data standpoint - there are however a dynamic number of variables that vary with MSFS patches as well as add-ons. and it varies per MSFS session depending on how you load the sim. So one challenge is the ability to get custom variables as options as the brute force method (read every add-on configuration) can take a very long time. Not a small amount of work but feasible I'm sure. This would give JGEX the same functionality as AxisAndOhs and SnadNext so feasible for sure. I'll put this on the wishlist. Thanks for suggesting.

muchimi commented 4 weeks ago

I have started work on this.

aspence commented 4 weeks ago

Wow! This is tremendous. Thank you! Also, the other improvement you made to have Ex in a separate folder from standarg JG is so helpful. Cheers

From: muchimi @.> Date: Friday, June 7, 2024 at 3:30 PM To: muchimi/JoystickGremlinEx @.> Cc: Andrew Spence @.>, Author @.> Subject: [External] Re: [muchimi/JoystickGremlinEx] How hard to have SimConnect Python API in plugins? (Issue #46)

I have started work on this.

— Reply to this email directly, view it on GitHubhttps://github.com/muchimi/JoystickGremlinEx/issues/46#issuecomment-2155403855, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AA3LBHIVG6GKQV6Q23SCIDLZGIC6ZAVCNFSM6AAAAABIUPD52SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNJVGQYDGOBVGU. You are receiving this because you authored the thread.Message ID: @.***>

muchimi commented 1 day ago

Update: image image image

I am still working on the UI to enable axis and button and specific value outputs. This is very much a WIP.