mouse

fun mouse(button: Int, ctrl: Boolean = false, shift: Boolean = false, alt: Boolean = false): FzzyKeybind.Builder

Adds a mouse-type keybind.

Return

this builder

Author

fzzyhmstrs

Since

0.6.5

Parameters

button

Mouse button 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)