Share

Common Lisp bindings for SDL

Tracker: Patches

5 add constants into sdl package for keysyms - ID: 2811957
Last Update: Comment added ( tril )

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.


David E. Manifold ( tril ) - 2009-06-25 04:42

5

Open

None

Nobody/Anonymous

None

None

Public


Comment ( 1 )




Date: 2009-06-25 04:43
Sender: tril

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



Log in to comment.

Attached File ( 1 )

Filename Description Download
sdlkeysyms.diff symbolic names for key scancodes returned from key-down event Download

Change ( 1 )

Field Old Value Date By
File Added 332293: sdlkeysyms.diff 2009-06-25 04:42 tril