Device.getKey
bool getKey(uint index, out uint keyval, out gdk.types.ModifierType modifiers)If index_ has a valid keyval, this function will return true and fill in keyval and modifiers with the keyval settings.
Parameters
index | the index of the macro button to get. |
keyval | return value for the keyval. |
modifiers | return value for modifiers. |
Returns
true if keyval is set for index.