How to send a L-Alt keypress only Kosmosima grip

Moderator: AdminGroup

TrainmanRob
Posts: 10
Joined: Sun Mar 08, 2020 19:16
Has thanked: 18 times
Been thanked: 3 times

How to send a L-Alt keypress only Kosmosima grip

Postby TrainmanRob » Thu Mar 19, 2020 11:17

How do I configure the button mapping wizard to send ONLY an L-Alt keypress.

I have found that the "Key_**********" with the left Alt modifier actually sends the Key_Power scan code along with the L-Alt scan code. The VKB Device config testing does not display the Key_Power but it is sending scan code (Windows key code: 255 (0xff); bios key code 94(Ox5e))

I am finding that Elite Dangerous sees this extra keypress in the bindings. Star Citizen seems to ignore the key_power press.

Note: I am verifing this keypress with the Elite Dangerous control binding tool and ALSO the PassMark keyboard testing tool (https://www.passmark.com/products/keytest/index.php)

Is there a technique that I am missing?
Thank you for your help and guidance
buttonMapping.jpg

Ron61
Posts: 3276
Joined: Tue Jan 15, 2013 23:56
Location: г.Минск
Has thanked: 44 times
Been thanked: 637 times

Re: How to send a L-Alt keypress only Kosmosima grip

Postby Ron61 » Thu Mar 19, 2020 16:04

Show a screenshot of the Global tab.

User avatar
Victorus
Posts: 1677
Joined: Wed Sep 21, 2011 13:25
Has thanked: 374 times
Been thanked: 257 times

Re: How to send a L-Alt keypress only Kosmosima grip

Postby Victorus » Thu Mar 19, 2020 23:24

I tried Thrustmaster Event tester. LAlt only. PassMark keyboard test recognizes Wake + Lalt((, you are right. But it happens not for all keyboard types. Lenovo G575, AT107+...
Also I've found that Wake key is recognized with other modifiers such as Shift, Ralt.... Problem((((

Thinking.
Руководство пользователя по контроллерам VKB (VKB controllers User Guide) Ru&En
https://disk.yandex.ru/d/LlqiYtIrIetBOQ

User avatar
Victorus
Posts: 1677
Joined: Wed Sep 21, 2011 13:25
Has thanked: 374 times
Been thanked: 257 times

Re: How to send a L-Alt keypress only Kosmosima grip

Postby Victorus » Thu Mar 19, 2020 23:53

Workaround found!
About keyboard remapping (Ru)https://habr.com/ru/post/75290/
SharpKey tool download https://sharpkeys.ru.softonic.com/
Also you can edit registry manually, indeed) But GUI helps.
Tried to disable Wake key - no result. Succeeded with Power key.
sharpkeys.jpg

Result
keybtest.jpg

Try!
About scancodes https://www.win.tue.nl/~aeb/linux/kbd/scancodes-1.html
Руководство пользователя по контроллерам VKB (VKB controllers User Guide) Ru&En
https://disk.yandex.ru/d/LlqiYtIrIetBOQ

TrainmanRob
Posts: 10
Joined: Sun Mar 08, 2020 19:16
Has thanked: 18 times
Been thanked: 3 times

Re: How to send a L-Alt keypress only Kosmosima grip

Postby TrainmanRob » Fri Mar 20, 2020 16:54

Thank you very much for the work around. I appreciate your very fast response.
I love these Flight Sticks!!!

Enjoy your day and be safe!
thank you again!
Rob

TrainmanRob
Posts: 10
Joined: Sun Mar 08, 2020 19:16
Has thanked: 18 times
Been thanked: 3 times

Re: How to send a L-Alt keypress only Kosmosima grip

Postby TrainmanRob » Sat Mar 21, 2020 19:17

@Victorus It WORKS!!
I used the SharpKeys utility (https://github.com/randyrants/sharpkeys) to change the Key_Power (E0_5E) to send the scan code for L-Alt (00_38)

So in the VKB config Logical Layer Wizard I simply use the KEY_*************** from the drop down without adding the modifier.

I would not have found this easy solution without your help. Thank you!!!!!

Enhancment Request :D Would it be reasonable to ask that all of the modifier keys be added to the dropdown list in the logical layer wizard so that we do not need to modify our registry with a 3rd party tool?

Power to Alt.jpg
SharpKeys utility screen and PassMark keyboard test tool result. Right flightstick button 41 press sending Key_****** results in LAlt being seen!


Power to Alt2.jpg
VKB config Quick Logical Layer Wizard


Note for others: the SharpKeys tool modified my registry at: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout and adds a NEW binary value "Scancode Map". I found this explaination of how to interpret the registry entry: http://smallvoid.com/article/winnt-scancode-map.html
Power to Alt3.jpg
Example of SharpKeys tool registry change

User avatar
Victorus
Posts: 1677
Joined: Wed Sep 21, 2011 13:25
Has thanked: 374 times
Been thanked: 257 times

Re: How to send a L-Alt keypress only Kosmosima grip

Postby Victorus » Sat Mar 21, 2020 21:46

TrainmanRob wrote:@Victorus It WORKS!!

Enhancment Request :D Would it be reasonable to ask that all of the modifier keys be added to the dropdown list in the logical layer wizard so that we do not need to modify our registry with a 3rd party tool?

Congratulations!
I think no. (I'm not VKBDevCfg programmer))). Given situation is not(?) so common. The most of games do not recognize Power key. The advantage of VKB production is that devices do not need driver installation and software does not modify system or other settings. You are the first(!) who found this problem. In such rare cases it's easier (IMHO) to make personal settings. Now we know how)))
Thank you, welcome with questions.
Руководство пользователя по контроллерам VKB (VKB controllers User Guide) Ru&En
https://disk.yandex.ru/d/LlqiYtIrIetBOQ

ginoc1
Posts: 12
Joined: Tue Aug 11, 2020 23:39
Been thanked: 1 time

Re: How to send a L-Alt keypress only for IL-2 - SOLVED FOR ME

Postby ginoc1 » Thu Aug 26, 2021 2:49

OK this issue drove me a little crazy this past few days but I finally figured out a solution for my system. I have heard of others that tried to remap keys via registry scancode edit via SharpKeys but for ME it did not work. My issue was strictly with IL-2 BoX - trying to program a button on my VKB GF3 to act as a "shift modifier" (LAlt, LCtrl, LShft, etc are what IL-2 allows as a modifier). I programmed my pinky switch using VKB software NJoy32 XT to emulate the keyboard command ***** (power key) with a L-CTRL modifier and used the mentioned SharpKeys program (in this thread) to disable the "Power Key" (Key_Power) with it's registry hack but alas that did NOT work for MY keyboard. (CoolerMaster QuickFire TK) I spent over a day working on how to get rid of this "power key" being triggered when I pressed the button so that only LCTRL was sent. I tried remapping the power key to DISABLED and I tried remapping it to L-CTRL but alas the key_power code kept getting triggered in IL-2 rendering MY system useless for using a modifier button in IL-2.

Edit: YES I restarted my system after trying SharpKeys for disabling the Power key via registry hack

Then I came across a program called Key Remapper by ATNSOFT. THIS program allows the ability to not just disable a key via registry hack but actually BLOCK any given key. I tried it and FINALLY I am able to use my pinky button on the GF3 as a modifier in IL2. It's not free though...it costs $25USD for a license but to me it's completely worth it to keep my mapping consistent with my DCS scheme. https://atnsoft.com/keyremapper/ is the link. Hope this helps someone with the same issue.

It REALLY would be helpful if VKB would include the ability to map a button to the actual MODIFIER keys without using this "power button" method...then it would not be an issue for anyone. Please reconsider this!

halz
Posts: 4
Joined: Mon Jun 24, 2019 14:36
Been thanked: 2 times

Re: How to send a L-Alt keypress only Kosmosima grip

Postby halz » Tue Sep 21, 2021 18:08

Another bit of software I've found that works to do the key remapping/blocking of 'key_power' is Microsoft's own "PowerToys" https://docs.microsoft.com/en-us/windows/powertoys/ and the Keyboard Manager https://docs.microsoft.com/en-us/window ... rd-manager
...when pressing the keyboard-mapped button on the VKB device, it will show up within Keyboard Manager as an 'unknown function'. Just remap it to 'Disabled' and things will no longer pick up the extraneous scan codes.


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 73 guests