get_key


Description:

[ Version ( since = "2.20" ) ]
public bool get_key (uint index_, out uint keyval, out ModifierType modifiers)

If index_ has a valid keyval, this function will return true and fill in keyval and modifiers with the keyval settings.

Parameters:

this

a Device.

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.