Method | Description | |
---|---|---|
GetKeyBinding ( byte keyId ) : |
Gets the key binding for a key.
|
|
KeyLayout ( ICollection |
Initializes a new instance of the KeyLayout class.
|
|
SetKeyBinding ( byte keyId, byte type, int action ) : void |
Sets the key binding for a key.
|
Method | Description | |
---|---|---|
KeyLayout ( ) : System | ||
ThrowIfInvalidId ( byte keyId ) : void |
public GetKeyBinding ( byte keyId ) : |
||
keyId | byte | The key to query the key binding of. |
return |
public KeyLayout ( ICollection |
||
bindings | ICollection |
The bindings to use for this instance. |
return | System |
public SetKeyBinding ( byte keyId, byte type, int action ) : void | ||
keyId | byte | The key to set the key binding of. |
type | byte | The new action type for the key binding. |
action | int | The new action for the key binding. |
return | void |