That's a bug. I'll fix it.

- Luke

On Thu, 15 Jan 2009 10:49:21 -0800, Stuart Overton  
<[email protected]> wrote:

> It seems to me that using more than one modifier key at a time causes an  
> error.
>
> Here's my simplified code:
>
> (defpackage :foo
>   (:use :common-lisp :sdl))
> (in-package :foo)
>
> (with-init ()
>   (window 100 100)
>   (with-events ()
>     (:quit-event () t)
>     (:key-down-event (:key k :mod m)
>              (format t "Key: ~s, Mod: ~s~%" k m))))
>
> The code works fine unless I use (for example) Ctrl+Alt+n, then I get
> the following error:
>
> 320 is not defined as a value for enum type #<CFFI::FOREIGN-ENUM
> LISPBUILDER-SDL-CFFI::SDL-MOD>.
>    [Condition of type SIMPLE-ERROR]
>
> Am I doing something wrong, or is this a bug?
> _______________________________________________
> application-builder mailing list
> [email protected]
> http://www.lispniks.com/mailman/listinfo/application-builder


_______________________________________________
application-builder mailing list
[email protected]
http://www.lispniks.com/mailman/listinfo/application-builder

Reply via email to