diff options
author | David Thompson <dthompson2@worcester.edu> | 2015-12-16 20:47:20 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2015-12-16 20:47:20 -0500 |
commit | 2fd545051eb6307ab2a3fe70e69af27cb44e96cb (patch) | |
tree | c9717ceb885313571ed08660fc6c805a9028e1e3 /COPYING | |
parent | 5679a233b55f1a6919bc14d54683c1c84bc15652 (diff) |
events: mouse: Add motion event bindings.
* sdl2/bindings.scm (button-mask): New procedure.
(SDL_BUTTON_LMASK, SDL_BUTTON_RMASK, SDL_BUTTON_MMASK,
SDL_BUTTON_X1MASK, SDL_BUTTON_X2MASK): New variables.
* sdl2/events.scm (<mouse-motion-event>): New record type.
(make-mouse-motion-event mouse-motion-event?,
mouse-motion-event-timestamp, mouse-motion-event-window-id,
mouse-motion-event-which, mouse-motion-event-buttons,
mouse-motion-event-x, mouse-motion-event-y, mouse-motion-event-x-rel,
mouse-motion-event-y-rel, parse-mouse-motion-event): New procedures.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions