Re: bug in 2.1.2
[email protected] ("David J Goehrig")
| Newsgroups | perl.sdl.devel |
|---|---|
| Message-ID | <1014753891-1156692268-cardhu_blackberry.rim.net-745901036-@bxe023-cell01.bisx.prod.on.blackberry> |
Thanks I will fix. it. Right now all I need is like a couple days of free time. I have a new realease almost ready but since I started this new job it has just sat there. If anyone has some free time (or needs a job in the San Diego area drop me a.line. Dave Sent via BlackBerry from T-Mobile -----Original Message----- From: "Guillaume Cottenceau" <[email protected]> Date: Sun, 27 Aug 2006 17:04:20 To:[email protected] Subject: bug in 2.1.2 2.1.2 code reads: Uint8 JoyAxisEventValue ( e ) SDL_Event *e CODE: RETVAL = e->jaxis.value; OUTPUT: RETVAL SDL_events.h reads: typedef struct SDL_JoyAxisEvent { Uint8 type; /* SDL_JOYAXISMOTION */ Uint8 which; /* The joystick device index */ Uint8 axis; /* The joystick axis index */ Sint16 value; /* The axis value (range: -32768 to 32767) */ } SDL_JoyAxisEvent; Hence, the value reported from sdlperl is broken. -- Guillaume Cottenceau - http://zarb.org/~gc/