How to use "char" for combinated keys

Started by lyl, August 04, 2019, 01:39:01 AM

Previous topic - Next topic

lyl

A key value(integer) can be obtained by the built-in function "char".

For example,
(char "a")          → 97
My question is: How to  obtain the value of combinated keys like this:

(myfunc "ctrl a") which means "CTRL + a" . And also  "CTRL+Alt+a" , "CTRL+SHIFT+a" are wanted.

Thank you.