summaryrefslogtreecommitdiff
path: root/sdl2/input/mouse.scm
Commit message (Collapse)AuthorAgeFilesLines
* mouse: Add cursor manipulation bindings.Ekaitz Zarraga2022-07-251-2/+72
| | | | | | | | | | | | | | | * sdl2/bindings.scm (SDL_SYSTEM_CURSOR_ARROW, SDL_SYSTEM_CURSOR_IBEAM) (SDL_SYSTEM_CURSOR_WAIT, SDL_SYSTEM_CURSOR_CROSSHAIR) (SDL_SYSTEM_CURSOR_WAITARROW, SDL_SYSTEM_CURSOR_SIZENWSE) (SDL_SYSTEM_CURSOR_SIZENESW, SDL_SYSTEM_CURSOR_SIZEWE) (SDL_SYSTEM_CURSOR_SIZENS, SDL_SYSTEM_CURSOR_SIZEALL) (SDL_SYSTEM_CURSOR_NO, SDL_SYSTEM_CURSOR_HAND, SDL_NUM_SYSTEM_CURSORS): New variables. (sdl-create-system-cursor, sdl-create-color-cursor, sdl-free-cursor) (sdl-set-cursor, sdl-get-cursor, sdl-show-cursor): New procedures. * sdl2/input/mouse.scm (make-system-cursor, make-surface-cursor) (set-cursor!, get-cursor, delete-cursor!): New procedures. * doc/api.texi (Mouse): Document the added features
* input: mouse: Add bindings for showing/hiding/moving the mouse cursor.David Thompson2021-05-131-2/+24
|
* input: mouse: Add mouse-button-released?David Thompson2017-11-101-1/+6
| | | | * sdl2/input/mouse.scm (mouse-button-released?): New procedure.
* Add mouse input module.David Thompson2017-11-101-0/+67
* sdl2/input/mouse.scm: New file. * Makefile.am (SOURCES): Add it.