Binding Hat switch on joystick with a modifier
-
Hi,
I’m trying to bind the hat switch on my joystick for TMS and DMS using a modifier. Coming over from DCS so I’m trying to bind everything the same as I have it setup there.
Right now the hat (without modifier) is assigned to “Radar-cursor” up, down, left and right. I would like to hold the Ctrl key and use the hat switch for TMS up, down, left and right, and also be able to alternately hold the Alt key and use the hat for DMS up, down, left and right.
The in game setup and the alternate launcher setup both do not support this. I am aware that it will probably require manual mods to the key file, I have no problem with that. I have been researching this for the past couple days, I’m not lazy, LOL but I’m not having any luck figuring this out. I do understand how the key file works, this was very helpful,
I understand you can add the 2 for Ctrl and 4 for Alt as a modifier for keyboard buttons but can I do this for the DX stuff?
I have gone through the documentation in the “Doc->Input Devices->Keyboard Layouts folder” but have not been successful finding what I’m looking for.
Thanks,
Bill
-
@Tunedport350 look for the pinky shift binding. By default the “v” key is for pinky switch. Holding it down should act as the modifier. If that doesn’t work for you, then another KB guru will surely be by in a bit.
-
@Tunedport350 Hi, I’m with Quasi about using the BMS Launcher and shift functionality. I set mine up the same as you., as I want to emulate the Sensor Control Switch of the Hornet. So, TMS’s are unshifted and DMS Up,left , and right are shifted. For me, DMS down wasn’t handy shifted, so on my Warthog I use the “SMS” press, but that’s just personal preference.
BTW, the callback for shift functionality is DX Pinky-shift. Tapping it does FOV and holding gives shift functionality -
@Tunedport350 For keyboard keys, there are 7 shift layers (shift, ctrl, and alt combos).
But BMS only supports 1 general-purpose shift layer, for DX buttons and 8-way-hats.
You can activate that shift-layer with a button or a keypress (but I don’t think it can be “just” the [ctrl] key scancode … not sure)
Caveat to above: there is a somewhat hard-coded special support for 3 additional shifted layers (2 extra shift buttons) for 8-way hats … bound to {Radar,TMS,DMS,CMS} it was a feature intended for PC game controllers, but any joystick device with an 8-way-hat can make use of it.
Example here => https://forum.falcon-bms.com/topic/26244/layout-template-for-logitech-extreme-3d-pro
-
@airtex2019 said in Binding Hat switch on joystick with a modifier:
@Tunedport350 For keyboard keys, there are 7 shift layers (shift, ctrl, and alt combos).
But BMS only supports 1 general-purpose shift layer, for DX buttons and 8-way-hats.
This clarifies things quite a bit, I believe that’s the wall I’ve been running into and banging my head against!
-
Thank you guys for the replies, it is greatly appreciated!