get_entries_for_keycode
Description:
public bool get_entries_for_keycode (uint hardware_keycode, out KeymapKey[] keys, out uint[] keyvals)
Returns the keyvals bound to hardware_keycode
.
The Nth KeymapKey in keys
is bound to the Nth keyval in keyvals
. Free the returned arrays with g_free. When a keycode is pressed by the user, the
keyval from this list of entries is selected by considering the effective keyboard group and level. See
translate_keyboard_state.
Parameters:
this |
a Keymap |
hardware_keycode |
a keycode |
keys |
return location for array of KeymapKey, or null |
keyvals |
return location for array of keyvals, or null |
n_entries |
length of |
Returns:
true if there were any entries |