Author Topic: Logitech Switch Panel  (Read 1347 times)

Offline SrN95

  • Zinc Member
  • *
  • Posts: 2
Logitech Switch Panel
« 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

Offline LTCClark

  • Copper Member
  • **
  • Posts: 255
Re: Logitech Switch Panel
« Reply #1 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/
Get VoiceBot and Use Speech for game commands
www.voicebot.net
AutoHotkey and Software repo maps etc for AHIII

Offline bustr

  • Plutonium Member
  • *******
  • Posts: 12436
Re: Logitech Switch Panel
« Reply #2 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:
bustr - POTW 1st Wing


This is like the old joke that voters are harsher to their beer brewer if he has an outage, than their politicians after raising their taxes. Death and taxes are certain but, fun and sex is only now.

Offline 100Coogn

  • Gold Member
  • *****
  • Posts: 3925
Re: Logitech Switch Panel
« Reply #3 on: February 05, 2018, 12:51:03 PM »
See Rule #4
« Last Edit: February 06, 2018, 06:19:50 AM by Skuzzy »
Quote
From Wiley: If you're hitting them after they drop, that's not defense, that is revenge.
Game Id's:
AHIII: Coogan
RDR2: Coogan_Bear
MSFS-2020: Coogan Bear

Offline LTCClark

  • Copper Member
  • **
  • Posts: 255
Re: Logitech Switch Panel
« Reply #4 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
Get VoiceBot and Use Speech for game commands
www.voicebot.net
AutoHotkey and Software repo maps etc for AHIII

Offline Mister Fork

  • AvA Staff Member
  • Platinum Member
  • ******
  • Posts: 7257
Re: Logitech Switch Panel
« Reply #5 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.
"Games are meant to be fun and fair but fighting a war is neither." - HiTech

Offline bustr

  • Plutonium Member
  • *******
  • Posts: 12436
Re: Logitech Switch Panel
« Reply #6 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.
bustr - POTW 1st Wing


This is like the old joke that voters are harsher to their beer brewer if he has an outage, than their politicians after raising their taxes. Death and taxes are certain but, fun and sex is only now.

Offline Skuzzy

  • Support Member
  • Administrator
  • *****
  • Posts: 31462
      • HiTech Creations Home Page
Re: Logitech Switch Panel
« Reply #7 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.
« Last Edit: February 06, 2018, 09:01:41 AM by Skuzzy »
Roy "Skuzzy" Neese
support@hitechcreations.com

Offline SrN95

  • Zinc Member
  • *
  • Posts: 2
Re: Logitech Switch Panel
« Reply #8 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!