Looks up the keyval mapped to a keycode/group/level triplet.
If no keyval is bound to key
, returns 0. For normal user input, you want to use
translate_keyboard_state instead of this function, since the
effective group/level may not be the same as the current keyboard state.
this |
a Keymap |
key |
a KeymapKey with keycode, group, and level initialized |
a keyval, or 0 if none was mapped to the given |