set_key


Description:

public void set_key (uint index_, uint keyval, ModifierType modifiers)

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

Parameters:

this

a Device

index_

the index of the macro button to set

keyval

the keyval to generate

modifiers

the modifiers to set