jaevent_which ( event, ... )
SDL_JoyAxisEvent *event
CODE:
+ if( items > 1 )
+ {
+ event->which = SvIV( ST(1) );
+
+ }
+
RETVAL = event->which;
OUTPUT:
RETVAL
Uint8
jaevent_axis ( event, ... )
SDL_JoyAxisEvent *event
- CODE:
+ CODE:
+ if( items > 1 )
+ {
+ event->axis = SvIV( ST(1) );
+
+ }
+
RETVAL = event->axis;
OUTPUT:
RETVAL
jaevent_value ( event, ... )
SDL_JoyAxisEvent *event
CODE:
+ if( items > 1 )
+ {
+ event->value = SvIV( ST(1) );
+
+ }
+
RETVAL = event->value;
OUTPUT:
RETVAL
+
+void
+jaevent_DESTROY(self)
+ SDL_JoyAxisEvent *self
+ CODE:
+ safefree( (char *)self );
jtevent_which ( event, ... )
SDL_JoyBallEvent *event
CODE:
+ if( items > 1 )
+ {
+ event->which = SvIV( ST(1) );
+
+ }
+
RETVAL = event->which;
OUTPUT:
RETVAL
Uint8
jtevent_ball ( event, ... )
SDL_JoyBallEvent *event
- CODE:
+ CODE:
+ if( items > 1 )
+ {
+ event->ball = SvIV( ST(1) );
+
+ }
+
+
RETVAL = event->ball;
OUTPUT:
RETVAL
jtevent_xrel ( event, ... )
SDL_JoyBallEvent *event
CODE:
+ if( items > 1 )
+ {
+ event->xrel = SvIV( ST(1) );
+
+ }
+
RETVAL = event->xrel;
OUTPUT:
RETVAL
jtevent_yrel ( event, ... )
SDL_JoyBallEvent *event
CODE:
+ if( items > 1 )
+ {
+ event->yrel = SvIV( ST(1) );
+
+ }
+
+
RETVAL = event->yrel;
OUTPUT:
RETVAL
+
+void
+jtevent_DESTROY(self)
+ SDL_JoyBallEvent *self
+ CODE:
+ safefree( (char *)self );