Device.setKey
void setKey(uint index, uint keyval, gdk.types.ModifierType modifiers)Specifies the X key event to generate when a macro button of a device is pressed.
Parameters
index | the index of the macro button to set |
keyval | the keyval to generate |
modifiers | the modifiers to set |