keycode_to_evdev


Description:

[ Version ( since = "1.10" ) ]
public bool keycode_to_evdev (uint hardware_keycode, uint evdev_keycode)

Translates a hardware keycode from a KeyEvent to the equivalent evdev keycode.

Note that depending on the input backend used by Clutter this function can fail if there is no obvious mapping between the key codes. The hardware keycode can be taken from the hardware_keycode member of KeyEvent.

Parameters:

this

A InputDevice

hardware_keycode

The hardware keycode from a KeyEvent

evdev_keycode

The return location for the evdev keycode

Returns:

true if the conversion succeeded, false otherwise.