Menu

#4 add constants into sdl package for keysyms

open
nobody
None
5
2009-06-25
2009-06-25
No

I transcribed these from SDL_keysym.h, enjoy.
Please apply this patch into the code as it's a feature of SDL missing from cl-sdl.
This will allow you to write (= key sdl:+k-esc+) instead of (= key (char-code #\Esc)),
for example.
Thank you.

Discussion

  • David E. Manifold

    symbolic names for key scancodes returned from key-down event

     
  • David E. Manifold

    bad example, it's actually sdl:+k-escape+ as I have written the patch.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.