get_modifier


Description:

public virtual uint get_modifier (int keycode)

Gets the modifier for a given keycode, if one exists.

Does not creatt a new mapping. This function should be used when the intention is to query a locking modifier such as num lock via atspi_device_get_locked_modifiers, rather than to add key grabs.

Parameters:

this

the device.

keycode

the keycode to map.

Returns:

the modifier that is mapped to this keycode.