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
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.