DreymaR / BigBagKbdTrixPKL

"DreymaR's Big Bag of Keyboard Tricks" for Windows with EPKL
Other
322 stars 31 forks source link

Cmk-eD2VK layout, AltGr mapped keys don't work in gaming #86

Open teddympq opened 2 months ago

teddympq commented 2 months ago

All keys that are mapped with AltGR won't work in all variants of Cmk-eD2VK-EsAlt while gaming. "A" key won't let me move leftwards.

I know EPKL has some drawbacks in gaming, but I was wondering if there is a workaround other than switching to EsLat, which does not use AltGr for áéíóú.

DreymaR commented 2 months ago

The issue with gaming and state mapped keys is described in the README. It's a result of AHK's Send function, so there is little I can do about it unless I manage to write an alternative Send that can send glyphs without a KeyUp event. In VK-type layouts, key presses not glyphs are sent and those can be sent as only KeyDown events with separate KeyUp on release of the physical key.

Switching to a (VK-type) layout that does not state map any of the keys you game with, would work. But I'd consider simply suspending EPKL whenever you're gaming instead. EPKL can auto-suspend itself whenever a certain program is active; see the settings file.

teddympq commented 2 months ago

That's fair enough. I apologize for not fully understanding that part in the README files. It seemed odd to me at first that only certain letters wouldn't work. Now that I understand why, I think the best solution right now for people who want to use EPKL during gaming is to use the System layout over an MSKLC custom layout. Not all layouts are implemented, so you might spend some time creating yours. Thank you very much for your work and for taking the time to respond.