keyboard
fun keyboard(keyCode: Int, ctrl: Boolean = false, shift: Boolean = false, alt: Boolean = false): FzzyKeybind.Builder
Adds a keyboard-type keybind.
Return
this builder
Author
fzzyhmstrs
Since
0.6.5
Parameters
key Code
Keyboard key to test against. Using GLFW here is recommended.
ctrl
Whether the ctrl modifier needs to be active (left/right ctrl or left/right super pressed)
shift
Whether the shift modifier needs to be active (left/right shift pressed)
alt
Whether the alt modifier needs to be active (left/right alt pressed)