alols / xcape

Linux utility to configure modifier keys to act as other keys when pressed and released on their own.
GNU General Public License v3.0
2.1k stars 115 forks source link

Allowing keycodes in map expressions #17

Closed alols closed 11 years ago

alols commented 11 years ago

Pasted from email:

First of all, thank you very much for xcape.

Are you interested in adding support for map-expressions that allow keycodes instead of key names?

The reason is this use case: I use xmodmap to set my "s" and "l" keys both to AltGr. Then I would like xcape to turn them back into "s" and "l" like this:

xcape -e "ISO_Level3_Shift=s;ISO_Level3_Shift=l"

which obviously doesn't work, because there is no AltGr_L and _R. But

xcape -e "42=s;43=l"

would make sense.

I'm sorry that I can suggest no patch.