Replies: 2 comments 1 reply
-
I learnt that |
Beta Was this translation helpful? Give feedback.
0 replies
-
I haven't used the DRM backend, but in general Raylib has 2 different ways of polling the pressed keys:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I find that shift and caps lock doesn't work in DRM, and my program only receive key character like '1' instead of '!', 'a' instead of 'A'. Currently, I do the shift convertion for alphabetical characters myself: (in Zig)
However, I cannot convert '1' to '!' since the people's keyboard may have different mappings. Is there a way to do this shift convertion? I see there is
xkbcommon
but I don't know if it suits since I may need to specify the region name like 'US' to get the uppercase key of the key I input ( my assumption). In my tty(using fish shell), I can directly input!
and other characters.Beta Was this translation helpful? Give feedback.
All reactions