Device.setKey

Specifies the X key event to generate when a macro button of a device is pressed.

class Device
void
setKey

Parameters

index uint

the index of the macro button to set

keyval uint

the keyval to generate

modifiers GdkModifierType

the modifiers to set