WeirdTreeThing / cros-keyboard-map

Utility to generate keyd configurations for use on Chromebooks
BSD 3-Clause "New" or "Revised" License
56 stars 13 forks source link

Right Alt + Backspace isn't Delete #23

Open crystalcommunication opened 6 months ago

crystalcommunication commented 6 months ago

Pressing the left alt and backspace keys at the same time typically requires two hands, which is pretty annoying. The [control] keybinds from the script work fine on both sides, but the [alt] ones don't, because, at least on my machine, the right alt key is detected as [altgr].

Since placing your right thumb on the right alt key and your fingers on the backspace key is a very convenient and intuitive gesture for Delete, I think the following lines should be added to the keyd config:

[altgr]
backspace = delete
crystalcommunication commented 5 months ago

putting altgr = rightalt in the [main] section is maybe a more maintainable way to accomplish this, but it will probably break the function of the AltGr key on international models that actually do have a third layer of glyphs.