Warthog Radio Comms Switch Problem (Comms menu closes on 2nd press)
-
Using BasicDX key method, I mapped the throttle thumb 4 way switch (hat above speed brakes) as follows:
MSU (Mic Switch Up) (Win DX35 = BMS DX34)
RadioAWACSCommand 34 -1 -2 0 0x0 -1
MSR (Mic Switch Right) (Win DX36 = BMS DX35)
RadioWingCommand 35 -1 -2 0 0x0 -1
MSD (Mic Switch Down) (Win DX37 = BMS DX36)
RadioFlightCommand 36 -1 -2 0 0x0 -1
MSL (Mic Switch Left) (Win DX38 = BMS DX37)
RadioElementCommand 37 -1 -2 0 0x0 -1
The problem is, each menu appears at the first press but a 2nd press closes it instead of going to the next page in that menu. For example, if I hit “Q” on the keyboard twice, I enter the 2nd page of the AWACS menu. But with the throttle thumb hat up, it opens the AWACS menu at the first press (up) but then closes it on the 2nd press (up). The same happens with the other 3 menus/switch directions. I tried using Press and Release syntax but the results are the same.
- Normal: … -1 -2 0 0x0 …
- Press: … -2 -2 0 0x0 …
- Release: … -2 -2 0 0x42 …
Any work around or solution?
Thanks in advance!
-
For keyboard the “Q” key is used like:
RadioAWACSCommand -1 0 0x10 0 0 0 -0 “RADIO: AWACS Menu”
RadioMessageSend -1 0 0x10 0 0XFFFFFFFF 0 -2 “Radio-send message AWACS”
RadioMessageSend -1 0 0x10 1 0XFFFFFFFF 0 -2 “Radio-send message AWACS”
OTWRadioMenuStep -1 0 0x10 0 0x10 1 -2 “Radio-next menu AWACS”
OTWRadioMenuStep -1 0 0x10 0 0x10 0 -2 “Radio-next menu AWACS”I think your DX based command of the “Q” menu has got to be at least that sophisticated.
-
For keyboard the “Q” key is used like:
RadioAWACSCommand -1 0 0x10 0 0 0 -0 “RADIO: AWACS Menu”
RadioMessageSend -1 0 0x10 0 0XFFFFFFFF 0 -2 “Radio-send message AWACS”
RadioMessageSend -1 0 0x10 1 0XFFFFFFFF 0 -2 “Radio-send message AWACS”
OTWRadioMenuStep -1 0 0x10 0 0x10 1 -2 “Radio-next menu AWACS”
OTWRadioMenuStep -1 0 0x10 0 0x10 0 -2 “Radio-next menu AWACS”I think your DX based command of the “Q” menu has got to be at least that sophisticated.
Hi, are you saying I need to modify the default keyboard code lines?
I don’t understand why this simple callback for RadioAWACSCommand which has the default set key of “Q” does not behave the same way as pressing “Q” on the keyboard. It closes the menu on the 2nd press. Very strange.
I was thinking something like this (below) ought to work as I just need it to go to the next page whenever I press Mic Up again. But the below only recognises “OTWRadioMenuStep” so I have to press Q on the keyboard first then Mic Up will go to the next page. I guess what I am looking for is “RadioAWACSMenuStep” which is how the keyboard “Q” press behaves.
Ok, I found out that OTW means Out the Window for commands outside the cockpit but how is it used?
MSU (Mic Switch Up) (Win DX35 = BMS DX34)
RadioAWACSCommand 34 -1 -2 0 0x0 -1
OTWRadioMenuStep 34 -1 -2 0 0x0 -1 -
I’m saying when you press keyboard Q, 5 lines are responding to that input. I do not understand how but clearly that works to step through the pages of the menu. My first attempt to try to “Q” with a DX button would be to exactly replicate those 5 lines but with the DX button input instead of the keyboard Q input.
e.g.
RadioAWACSCommand 34 -1 -2 0 0x0 -1
RadioMessageSend 34 -1 -2 0 0x0 -1
OTWRadioMenuStep 34 -1 -2 0 0x0 -1Something like that. I do not know how it works.
-
I’m saying when you press keyboard Q, 5 lines are responding to that input. I do not understand how but clearly that works to step through the pages of the menu. My first attempt to try to “Q” with a DX button would be to exactly replicate those 5 lines but with the DX button input instead of the keyboard Q input.
e.g.
RadioAWACSCommand 34 -1 -2 0 0x0 -1
RadioMessageSend 34 -1 -2 0 0x0 -1
OTWRadioMenuStep 34 -1 -2 0 0x0 -1Something like that. I do not know how it works.
Yes I tried those 3 lines but BMS/DX only reads the last line (MenuStep) and skips the first 2 lines - so nothing happens, unless I first press Q on the keyboard first to get the menu up, then it will turn the menu page. Thanks anyway.
Update: My work around eventually was to map those radio commands (Q, W, E, R, T, Y) using JoyToKey running in the background, which worked very well and exactly like the keyboard presses, ie it brings up the menu page and turns it as well. Incidentally, I got the Coolie switch to work using JoyToKey also.