mwseKeyMouseCombo⚓︎
A table with the data about mouse and keyboard key combination. Unbound key combinations will have all the fields set to nil.
This type inherits the following: mwseKeyCombo.
Properties⚓︎
isAltDown⚓︎
If true, alt key is pressed in the key combination.
Returns:
result(boolean, nil)
isControlDown⚓︎
If true, control key is pressed in the key combination.
Returns:
result(boolean, nil)
isShiftDown⚓︎
If true, shift key is pressed in the key combination.
Returns:
result(boolean, nil)
isSuperDown⚓︎
If true, super (Windows or Command) key is pressed in the key combination.
Returns:
result(boolean, nil)
keyCode⚓︎
Maps to values in tes3.scanCode enumeration.
Returns:
result(tes3.scanCode, integer, false, nil)
mouseButton⚓︎
The index of the currently pressed mouse button.
Returns:
result(integer, false, nil)
mouseWheel⚓︎
The mouse wheel action in the combination.
| Value | Description |
|---|---|
| -1 | Mouse wheel down |
| 1 | Mouse wheel up |
Returns:
result(integer, false, nil)