Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swap option/command keys #11

Closed
nedclimaterisk opened this issue Sep 20, 2018 · 5 comments
Closed

Swap option/command keys #11

nedclimaterisk opened this issue Sep 20, 2018 · 5 comments

Comments

@nedclimaterisk
Copy link

In the hid_apple driver, there is the option to swap the cmd/option keys, which is nice, because they're in an annoying place on smaller macbooks. There is also a patched version that allows swapping of the ctrl/fn keys, and it would be great if those options could also be included.

@Dunedan
Copy link

Dunedan commented Sep 20, 2018

For the latter request there is already cb22#59

@roadrunner2
Copy link
Owner

Right; and as I mention in cb22#59, I'm somewhat disinclined to add arbitrary key-mapping capabilities at the driver level. @nedclimaterisk, can you explain why your desktop/console/whatever's key mapping functions aren't suitable/preferrable for this? E.g. Gnome has something like 150 key mapping options to choose from. In fact, I also switch those two keys (among other mappings) with the "Alt/Win key behaviour" -> "Left Alt is swapped with Left Win" (Cmd is called Win in Gnome since that's what the key is called on PC keyboards).

@nedclimaterisk
Copy link
Author

Ah, I didn't notice that, KDE also has that option. Yes, looks like this is a pure duplicate. Sorry for the noise :)

@nedclimaterisk
Copy link
Author

Hrm.. when swapping the left option/command keys (alt, win?super?), I get the correct behaviour for the alt key as a modifier on the command key, but if I press the command key by itself, it brings up the k-menu. If they keys were truly swapped, then that behaviour should now be on the option key. I don't know if this is a driver problem, or a problem with KDE's key switching code.

@roadrunner2
Copy link
Owner

Yes, all functionality should get swapped (and does for me in Gnome); but it sounds like in KDE the re-mapping may be happening a little later, so that certain other key listeners are getting the unmapped keys. You might have to adjust the keyboard short for that k-menu then too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants