Hi,
I wrote earlier about an issue I found with the joybutton even macros
being incorrect, and that is now all working correctly. I've only now
gotten around to doing some actual testing with a joystick device, and
am not seeing the events firing when I press the buttons.
My setup code is as follows:
(sdl:with-init (sdl:SDL-INIT-EVERYTHING)
(setup-window 1024 768)
(run-trial)
(sdl:with-events ()
(:quit-event () t)
(:key-down-event (:key key)
(process-key key))
(:joy-button-down-event (:button but)
(button-press but))
(:idle () (sdl:update-display))
(:video-expose-event () (sdl:update-display))))
When I press the buttons on my joystick device, the button-press
function is not being called. Am I doing something wrong here, or are
joystick events not fully supported as yet?
The device I am using is a custom made button box built using a CUI
board (http://www.create.ucsb.edu/~dano/CUI/) which presents to the OS
as a USB joystick HID.
Cheers,
Tony.
_______________________________________________
application-builder mailing list
[email protected]
http://www.lispniks.com/mailman/listinfo/application-builder