summaryrefslogtreecommitdiff
path: root/2d/keyboard.scm
Commit message (Collapse)AuthorAgeFilesLines
* Okay, I think I finally got all of the license headers updated.David Thompson2014-03-101-8/+8
|
* Use new signal API for keyboard module.David Thompson2014-02-171-25/+28
| | | | | * 2d/keyboard.scm (key-last-down, key-last-up, key-arrows, key-wasd): Use new signal API.
* Move SDL event handling to a separate module.David Thompson2014-01-261-1/+1
| | | | | | | | | | | | * 2d/event.scm: New module. * 2d/game.scm: Remove event handling code. * 2d/keyboard.scm: Import (2d event) instead of (2d game). * 2d/mouse.scm: Import (2d event) instead of (2d game). * 2d/window.scm: Import (2d event) instead of (2d game).
* Add key press/release hooks.David Thompson2014-01-091-1/+11
| | | | * 2d/keyboard.scm (key-press-hook, key-release-hook): New hooks.
* Update keyboard module to use new signals API.David Thompson2013-12-151-19/+23
| | | | | * 2d/keyboard.scm (key-last-down, key-last-up, key-down?) (key-directions): Rewrite signals.
* Move event handlers and signals into their own modules.David Thompson2013-12-011-0/+71
* 2d/game.scm (register-event-handler): New procedure. (mouse-*, key-*, window-*): Remove signals. * 2d/window.scm (window-size): New signal. * 2d/mouse.scm: New module. * 2d/keyboard.scm: New module.