Thanks for the detailed info
@3KyNoX . It does help to try to narrow down this issue, but that said I have to admit I am at a bit of a dead end on what this might be.
Let me see if I can recap on what we have checked so far.. and what we know .. (see if this might bring up some more ideas)..
- Script is running successfully with no errors, and virtual device being created.
- Latest firmware and software running for Target devices.
- ED is finding the bindings and loading fine, most things work but a few do not. No issues with Throttle for example.
- You had some device drops/issues, but now USB ports cycled you are getting solid connection.
- CMS Hatswitch does work for change fire group with the modifier but not other mappings.
- Tried remapping those commands by clearing/saving/reassign in the bindings file/game but there was not any change in output.
- Windows showing buttons working fine with script running, Device manager showing output.
- Language for keyboard has been set to French and mainly using default user prefs besides that.
- Horizons using 4.3.0 .. untested in Odyssey (but likely the same)
- Running via Target Script not GUI (shouldn't matter at any rate)
- Cockpit mode error on double tap pinky trigger - something else potentially firing/cross-mapped (TBC).
- ... did I miss anything?
So to me, for the most, things to seem to be working OK - no red flags so to speak. Target is creating virtual device, game is finding the device and allowing bindings to be loaded. It seems to works outside of the game but not in the game. I mentioned previously, for both the grey hat switches on the Joystick, these have no code running in the script. It is purely mapped in the binding file so would eliminate any logic issues in the script causing this. But remapping your end with your keyboard did not fix it - resulting in the same behaviour.
I know from previous CMDRs that the language change works, but that was for the German revision. Not sure I have had it confirmed from French revision yet. I wonder if there might still need to be some remapping done in the binding file or KeyMap file. On the Windows side, you can also choose your keyboard layout. May be worth checking what you have set or trying different options there to see if it changes the output when you load into the game.
Also to the point of you having some dropping out in the past till you sorted out your USB ports. There could be a chance if you were in game session/running the script that loss of a controller could corrupt the binding file. It may be worth while to try a fresh download/copy, delete the old one now things are stable if you haven't already.
I keep coming back to it being an issue with the keyboard configuration .. some sort of miss-mapping between English and French .. only way we could be sure though would be to try it all in English if you had the hardware. Either way, remapping should fix it but doesn't seem to be.
Another curious thing to try would be to see if remapping hat switch to something that works on another button or toggle will allow the hat switch to work. May narrow down if its a specific function or key or mapping that is causing an issue. Could be the problematic mapping, mapped on another button also doesn't work.
Is the HOTAS a recent purchase or have you been using it previously on ED or other games? I doubt its a hardware issue given everything we know but would be good confirmation to know its worked on other scripts or games on your laptop previously.
Could also try unplugging any other USB devices you dont need while testing. I would even unplug the rudder pedals for now and configure the script to run without until the rest is working. Just to eliminate as much as we can from the equation. Need to narrow down where this issue may lie, is it the game, script, bindings, hardware, language. I'm leaning towards its being a binding issue, but not 100% sure.
(Scratches head)
Cheers, AD