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

Ignores advanced MacOS keyboard configurations #61

Open
SirVer opened this issue Jan 5, 2017 · 9 comments
Open

Ignores advanced MacOS keyboard configurations #61

SirVer opened this issue Jan 5, 2017 · 9 comments

Comments

@SirVer
Copy link

SirVer commented Jan 5, 2017

I am using Neo 2 keyboard layout which requires Karabiner.

alacritty flat out ignores the remappings done in Mac OS settings and through karabiner that all other app (except for Chrome) accept - this makes Mod3 keys like (/}[/-) inaccessible in Neo and this unusable.

@jwilm
Copy link
Contributor

jwilm commented Jan 5, 2017

There's an issue supporting alternative keyboard layouts with Glutin's input system, but as you're using Karabiner, I'm surprised you're affected (karabiner remaps at a very low level). Supporting alternativel layouts is important for the project. I'm personally a Colemak user, and Alarcitty hopes to be usable for international users as well.

@alexanderjeurissen
Copy link

I'm having the same issue, the reason this is the case is because it seems that the library that Alacritty is using uses hard coded key codes instead of keychars. Meaning that the exact position of the key that is pressed on the keyboard is leading not the actual keyboard layout that is specified on the OS level.

As a result for dvorak users they have to use cmd+k instead of cmd+v for pasting.

@JakobGM
Copy link

JakobGM commented Oct 3, 2017

For reference, I had to make the following changes for the Dvorak keyboard layout on MacOS:

key_bindings:
  - { key: Stop,     mods: Command, action: Paste                        }
  - { key: I,        mods: Command, action: Copy                         }
  - { key: X,        mods: Command, action: Quit                         }
  - { key: Comma,    mods: Command, action: Quit                         }

@francesca64
Copy link
Contributor

Could you try out this branch? https://github.com/francesca64/alacritty/tree/macos-kb

(Relevant winit PR: rust-windowing/winit#518)

@SirVer
Copy link
Author

SirVer commented May 23, 2018

@francesca64 Thanks for working on this!

The linked branch improves upon the situation, but does not fix it. For Neo2, Mod4 keys work, but Mod3 are still broken. See keyboard map on https://www.neo-layout.org/. So alacritty remains unusable in the current form.

Edit: I mistakenly compiled and tested master instead of the linked branch. I am currently recompiling the correct branch, but need to run for a while. Will report back after testing.

Edit 2: I now tested the correct branch at 91bf50d. As far as I can tell it behaves exactly like master for Neo2, i.e. no improvements. 😢 🐼

@sztomi
Copy link

sztomi commented Jun 20, 2021

I see this is an old issue but I'm facing the same problem. I'm not using any special software, only an alternative layout I set through the system settings. I'm unable to enter some characters like ~.

@jens1205
Copy link

I just stumbled upon this issue. I use an external german iso keyboard on my Mac, and have installed a custom keylayout created with ukelele which works just fine with e.g. iTerm2 and all other apps.
The basic keymappings and using shift do work - but everything with CTRL is broken - so CTRL-D is only recognized as a plain d.

@jandamm
Copy link

jandamm commented Sep 19, 2021

I have a similar issue using just the macOS Colemak layout.
Only keys which are on the same position as on US do work.
So Ctrl-w works but Ctrl-d does not.
I cannot exactly tell since when this issue is present since I mostly use an external keyboard where it works (since it uses hardware Colemak).
But I know for sure that it worked fine earlier this year.

@9j
Copy link

9j commented Dec 25, 2021

Same issue with worker layout. The Ctrl key is not recognized normally.
I expect all custom keyboard layouts to have the same issue.
image

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

No branches or pull requests

10 participants