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.
this |
the device. |
keycode |
the keycode to map. |
the modifier that is mapped to this keycode. |