Closed lboklin closed 5 years ago
After taking some time looking at this it seems to me that the issue is that we're attempting to translate Godot's high-level key codes into evdev's lower-level event codes, which apparently does not cover non-hardware keys, ie. symbols produced via modifier keys (at least that's the only pattern I've been able to discern).
We're going to have to find a way to pass non-hardware key codes or characters into our compositor.
Vim Test. I found the following issues when testing keys with vim
(inside a weston-terminal
):
~
KP_0, …, KP_9
KP_PERIOD
[
]
{
}
/
|
(but \
does work):
(but ;
does work)"
(but '
does work)#
?
$
<
(but ,
does work)>
(but .
does work)Alt + *
Everything else seems to work (including, for example, Ctrl + *
combos and the remaining KP_*
combinations).
Fixed in fa56e8f
A must-have for any use case. Right now alphanumeric characters work along with modifier keys, but special characters (such as ~) do not.