[directfb-users] Re: zsnes tv out patch?

Jon Åslund directfb-users.jon at aslund.org
Mon Jul 4 00:02:34 CEST 2005


On Mon, Jun 27, 2005 at 12:41:24AM +0200, Jon Åslund wrote:
> Victory! Almost... Input devices are weird. I can navigate in the
> menu with the mouse and up and down keys, but it is all messed up
> during game play (the key binder says esc is space, 9 is return ...)
> and the joystick doesn't seem to register at all.

Victory! ZSnes is still totally borked, when it comes to what keys it
thinks is being pressed when using directfb with SDL, but I am just
guessing its zsnes' own fault. However, I got the joystick working, by
downgrading to directfb 0.9.20.

During the whole "try to get zsnes working" (before I had the zsnes
patch) I upgraded to directfb 0.9.22 to see if it helped. A few days
ago, when I compiled a new version of mplayer, the joystick input
stopped working. It seems 0.9.22 don't want to listen to my
joystick. Found this in the changelog:

 Joystick Input

 * Do not dispatch events if unknown or JS_EVENT_INIT are
   received. Fixes crash upon initialization under some conditions.

My joystick, a playstation controller, connected to an EMS Dualshooter
usb converter, is probably sending something like that.

 (!!!)  *** ONCE [Joystick sends JS_EVENT_INIT events, make sure it has been calibrated using 'jscal -c'] *** [joystick.c:89 in joystick_handle_event()]

I remember I did run jscal -c once just to see if it helped (as it was
crashing without the patch), but it didn't.

-- 
Jon Åslund



More information about the directfb-users mailing list