summaryrefslogtreecommitdiff
path: root/2d/keyboard.scm
Commit message (Collapse)AuthorAgeFilesLines
* Rename guile-2d to Sly!David Thompson2014-06-281-88/+0
| | | | Massive find/replace job.
* Replace vector2 module with a more generic vector module.David Thompson2014-06-071-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | * 2d/vector2.scm: Delete it. * 2d/vector.scm: New file. * Makefile.am (SOURCES): s/vector2/vector. * 2d/font.scm: * 2d/keyboard.scm: * 2d/mouse.scm: * 2d/rect.scm: * 2d/shader.scm: * 2d/sprite.scm: * 2d/texture.scm: * 2d/transform.scm: * 2d/window.scm: * examples/2048/2048: * examples/animation.scm: * examples/coroutine.scm: * examples/font.scm: * examples/particles.scm: * examples/simple.scm: * examples/tilemap.scm: Use vectors instead of defunct vector2.
* 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.