},
libraries => [qw( SDL )],
},
-# JoyButtonEvent => {
-# file => {
-# from => 'src/Core/objects/JoyButtonEvent.xs',
-# to => 'lib/SDL/JoyButtonEvent.xs',
-# },
-# libraries => [qw( SDL )],
-# },
+ JoyButtonEvent => {
+ file => {
+ from => 'src/Core/objects/JoyButtonEvent.xs',
+ to => 'lib/SDL/JoyButtonEvent.xs',
+ },
+ libraries => [qw( SDL )],
+ },
JoyHatEvent => {
file => {
from => 'src/Core/objects/JoyHatEvent.xs',
=cut
Uint8
-jbevent_type ( event, ... )
- SDL_JoyButtonEvent *event
+jbevent_type ( event )
+
+ SDL_JoyButtonEvent * event
+
CODE:
RETVAL = event->type;
OUTPUT:
RETVAL
Uint8
-jbevent_which ( event, ... )
- SDL_JoyButtonEvent *event
+jbevent_which ( event )
+
+ SDL_JoyButtonEvent * event
+
CODE:
RETVAL = event->which;
OUTPUT:
RETVAL
Uint8
-jbevent_button ( event, ... )
- SDL_JoyButtonEvent *event
+jbevent_button ( event )
+
+ SDL_JoyButtonEvent * event
+
CODE:
RETVAL = event->button;
OUTPUT:
RETVAL
Uint8
-jbevent_state ( event, ... )
- SDL_JoyButtonEvent *event
+jbevent_state ( event )
+
+ SDL_JoyButtonEvent * event
+
CODE:
RETVAL = event->state;
OUTPUT:
SDL_MouseButtonEvent * O_OBJECT
SDL_JoyAxisEvent * O_OBJECT
SDL_JoyHatEvent * O_OBJECT
+SDL_JoyButtonEvent * O_OBJECT
SDL_JoyBallEvent * O_OBJECT
SDL_ResizeEvent * O_OBJECT
SDL_ExposeEvent * O_OBJECT