module Nya::Input
Overview
Input helper methods
Defined in:
nya/input/events.crnya/input/input.cr
Class Method Summary
-
.key?(kcode : Keycode)
Returns true if given key is pressed
-
.key?(kcode)
ditto
-
.mouse?(button : UInt8)
Returns true if the given mouse button is pressed
-
.mouse?(b)
ditto