google / extra-keyboards-for-chrome-os

Extra keyboard layouts and input methods for Chrome OS
Apache License 2.0
201 stars 123 forks source link

Use Caps Lock Key as Compose #126

Open alunduil opened 2 years ago

alunduil commented 2 years ago

There doesn't seem to be a way to set the caps lock key to the compose key in these settings. Without that mapping, this extension doesn't provide any value.

bcmills commented 2 years ago

If I recall correctly, the ChromeOS IME API doesn't provide a way to cancel Caps Lock events, so there isn't a good way to do this directly in the extension.

However, you can work around it somewhat. In the ChromeOS “Settings” app, go to the “Keyboard” section and remap Caps Lock to either Control or Alt. Then select the corresponding “Left Control” or “Left Alt” key in the ComposeKey settings.

hickford commented 2 years ago

Similar to https://bugs.chromium.org/p/chromium/issues/detail?id=914221&q=Caps%20lock&can=2