Display.mapKeycode

bool mapKeycode(uint keycode, out gdk.types.KeymapKey[] keys, out uint[] keyvals)

Returns the keyvals bound to keycode.

The Nth [gdk.types.KeymapKey] 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 [glib.global.gfree].

Parameters

keycodea keycode
keysreturn location for array of [gdk.types.KeymapKey]
keyvalsreturn location for array of keyvals

Returns

true if there were any entries