Hi,

Another possible issue I have come across: the documentation in the 
comments for base/events.lisp indicates that the joy-button-down-event 
takes the keyword arguments :which, :button and :state, as does the 
SDL-Joy-Button-Event defcstruct in cffi/events.lisp, however the 
expand-joybuttondown function on line 311 in base/events.lisp seems to 
expect the keywords :which, :axis and :value. Shouldn't the keywords 
listed in the case statement match the slots in the 
SDL-Joy-Button-Event? Or am I reading this incorrectly?

When I try to compile code for handling joystick button events, if I use 
the :button keyword I get the error "Unknown keyword BUTTON", but if I 
use :value, I get the error "Undefined slot VALUE in foreign type 
SDL-JOY-BUTTON-EVENT.". I am a newbie to both CL and SDL (i.e. this 
application is my first using either), so I'm a little uncertain as to 
what may be going on here.

I am using the version of Lispbuilder-SDL installed by the latest 
config.lisp for the Lisp StarterPack.

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

Reply via email to