map_keycode


Description:

public bool map_keycode (uint keycode, out KeymapKey[] keys, out uint[] keyvals)

Returns the keyvals bound to keycode.

The Nth `GdkKeymapKey` in keys is bound to the Nth keyval in keyvals.

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.

Free the returned arrays with g_free.

Parameters:

this

a `GdkDisplay`

keycode

a keycode

keys

return location for array of `GdkKeymapKey`

keyvals

return location for array of keyvals

n_entries

length of keys and keyvals

Returns:

true if there were any entries