Next: , Up: Input   [Contents][Index]


3.3.1 Keyboard

(use-modules (sdl2 input keyboard))
Procedure: key-pressed? key

Return #t if key is currently being pressed.

Procedure: key-released? key

Return #t is key is not currently being pressed.