SDL_JoyButtonEvent * event
CODE:
+ if( items > 1 )
+ {
+ event->which = SvIV( ST(1) );
+
+ }
+
RETVAL = event->which;
OUTPUT:
RETVAL
SDL_JoyButtonEvent * event
CODE:
+ if( items > 1 )
+ {
+ event->button = SvIV( ST(1) );
+
+ }
+
RETVAL = event->button;
OUTPUT:
RETVAL
SDL_JoyButtonEvent * event
CODE:
+ if( items > 1 )
+ {
+ event->state = SvIV( ST(1) );
+
+ }
+
RETVAL = event->state;
OUTPUT:
RETVAL
+
+void
+jbevent_DESTROY(self)
+
+ SDL_JoyButtonEvent *self
+
+ CODE:
+ safefree( (char *)self );