Package: gdk

Function gdk:display-map-keyval

Lambda List

gdk:display-map-keyval (display keyval)

Arguments

display -- a gdk:display object
keyval -- an unsigned integer with the keyval

Return Value

The list of integer with the grouped keycode/group/level combinations, or nil.

Details

Obtains a list of keycode/group/level combinations that will generate keyval. Groups and levels are two kinds of keyboard mode. In general, the level determines whether the top or bottom symbol on a key is used, and the group determines whether the left or right symbol is used.

On US keyboards, the shift key changes the keyboard level, and there are no groups. A group switch key might convert a keyboard between Hebrew to English modes, for example.

Examples

(gdk:display-map-keyval (gdk:display-default) (char-code #a))
=> ((65 0 0) (65 0 3) (65 0 15) (65 0 2))    
 

See also

2024-1-7