Parsing a key from key code

I get key events containing asci key codes, and I was wondering if there is an easy way to convert them to an actual key or a common lisp character. I am using a ccl implementation that does not include int-char (which might or might not work for this task).

+3
source share
1 answer

You can use the code-char function . It will return a character encoded with the given integer. Keep in mind that CCL uses Unicode, not pure 7-bit ASCII.

+6
source

Source: https://habr.com/ru/post/1749305/


All Articles