Aces High Bulletin Board

Help and Support Forums => Help and Training => Topic started by: SrN95 on February 03, 2018, 09:19:41 PM

Title: Logitech Switch Panel
Post by: SrN95 on February 03, 2018, 09:19:41 PM
Does anyone have experience with getting this Logitech switch panel (https://www.newegg.com/Product/Product.aspx?Item=N82E16826197233) working within AH3? Game just isn't recognizing the unit at all, even though the panel is functional within other programs. Thanks is advance!

SrN95
Title: Re: Logitech Switch Panel
Post by: LTCClark on February 03, 2018, 11:49:50 PM
That unit is made specifically for MS Flight Simulator

If you have the software installed try setting it up using the software with the keys and using macros instead of using it in game

i believe that control unit also has toggle switches instead of momentary switches so that could pose an issue as well.

You could also play around with AutoHotkey with it as it can detect and read the output of the unit and then translate that into virtual keypresses etc.

https://autohotkey.com/docs/misc/RemapJoystick.htm

A Sniffer that will show you all of the keys is found here https://autohotkey.com/docs/scripts/JoystickTest.htm

All you have to do is install auto hotkey copy that script into a text file and rename the .txt to .ahk and double click it

it will tell you the scan codes of each of the controls inputs

if you can reply with that list and what you want it to do i can easily map it for you and send you an AHK script

if you want it done in C# then that will take a while since my IDE is backed up with projects as is right now.

or if you have a way of mapping the HID using this which is Virtual Joystick

https://sourceforge.net/projects/vjoystick/
Title: Re: Logitech Switch Panel
Post by: bustr on February 04, 2018, 06:09:46 PM
You could write a ping DOS to run against your own PC and hotkey it off\on using this mapped to your joystick....... :rolleyes:
Title: Re: Logitech Switch Panel
Post by: 100Coogn on February 05, 2018, 12:51:03 PM
See Rule #4
Title: Re: Logitech Switch Panel
Post by: LTCClark on February 05, 2018, 01:06:26 PM
that seems perfectly acceptable however you would have to include some packet information on the pings to translate back to a command or macro

that would pretty much defeat the purpose of just writing a script and using the joysticks virtual keys to trigger key presses
Title: Re: Logitech Switch Panel
Post by: Mister Fork on February 05, 2018, 02:47:55 PM
Does anyone have experience with getting this Logitech switch panel (https://www.newegg.com/Product/Product.aspx?Item=N82E16826197233) working within AH3? Game just isn't recognizing the unit at all, even though the panel is functional within other programs. Thanks is advance!

SrN95
What OS are you running SrN95?  If it's Windows 10, all those buttons are just assignable in Aces High settings.  Just need to figure out what to use where. By design, it is for MS-FSX, but seriously, you can pretty much remap to anything you want in Aces High. No reprogramming required.
Title: Re: Logitech Switch Panel
Post by: bustr on February 05, 2018, 03:07:34 PM
that seems perfectly acceptable however you would have to include some packet information on the pings to translate back to a command or macro

that would pretty much defeat the purpose of just writing a script and using the joysticks virtual keys to trigger key presses

It's all the rage these days with first person shootemup games. Lots of players offering them in 3rd party forums for free.
Title: Re: Logitech Switch Panel
Post by: Skuzzy on February 06, 2018, 09:00:05 AM
Many of Saitek products, or portions thereof, were deliberately designed not to use the DirectInput API of DirectX (which Aces High has always had full support for),  requiring the user to install a separate driver and also requiring the client software to include a special library to interact with that driver before full functionality could be realized.

The API used to be pretty ugly with the underlying code being quite bad.  It has been a while since we reviewed it though.  Maybe time to look at it again.

Of course, that assumes we can get our hands on the code and documentation for it.  That was problematic before.
Title: Re: Logitech Switch Panel
Post by: SrN95 on February 09, 2018, 08:36:21 PM
Many of Saitek products, or portions thereof, were deliberately designed not to use the DirectInput API of DirectX (which Aces High has always had full support for),  requiring the user to install a separate driver and also requiring the client software to include a special library to interact with that driver before full functionality could be realized.

The API used to be pretty ugly with the underlying code being quite bad.  It has been a while since we reviewed it though.  Maybe time to look at it again.

Of course, that assumes we can get our hands on the code and documentation for it.  That was problematic before.

Well if y'all get the chance to take a look, we'd certainly appreciate it! It's a shame they've decided to make their products so difficult to use, considering the huge amount of other third party companies with peripherals that are pretty much plug and play. Thanks all for help!