KeyBinding

Defines a keybinding.

Constructors

this
this(ushort keymod, uint scancode, uint devicenumber, string ID, uint devicetype, ushort keymodIgnore)
Undocumented in source.

Members

Functions

conflID
bool conflID(KeyBinding a)

Returns true if the two KeyBindings have the same ID

conflKey
bool conflKey(KeyBinding a)

Returns if there's a conflicting key.

opEquals
bool opEquals(KeyBinding s)

Returns true it the two KeyBindings are equal.

toString
string toString()

Returns a standard string representation of the keybinding.

Variables

ID
string ID;

ID of the event

devicenumber
uint devicenumber;

The identificator of the device.

devicetype
uint devicetype;

The type of the device.

keymod
ushort keymod;
Undocumented in source.
keymodIgnore
ushort keymodIgnore;

Keymod sets the modifierkeys required to activate the event, keymodIgnore sets the keys that are ignored during event polling.

scancode
uint scancode;

The code of the phisical key relative to the US English keyboard.

Meta