HomeSort by relevance Sort by last modified time
    Searched defs:joystick (Results 1 - 2 of 2) sorted by null

  /external/qemu/distrib/sdl-1.2.12/src/joystick/beos/
SDL_bejoystick.cc 26 /* This is the system specific header for the SDL joystick API */
29 #include <be/device/Joystick.h>
45 /* The private structure used to keep track of a joystick */
54 * joysticks. Joystick 0 should be the system default joystick.
59 BJoystick joystick; local
66 nports = joystick.CountDevices();
71 if ( joystick.GetDeviceName(i, name) == B_OK ) {
72 if ( joystick.Open(name) != B_ERROR ) {
74 joystick.GetControllerName(&stick_name)
    [all...]
  /external/qemu/distrib/sdl-1.2.12/src/joystick/
SDL_joystick.c 24 /* This is the joystick API for Simple DirectMedia Layer */
74 * Get the implementation dependent name of a joystick
87 * Open a joystick for use - the index passed as an argument refers to
88 * the N'th joystick on the system. This index is the value which will
89 * identify this joystick in future joystick events.
91 * This function returns a joystick identifier, or NULL if an error occurred.
96 SDL_Joystick *joystick; local
104 /* If the joystick is already open, return it */
107 joystick = SDL_joysticks[i]
    [all...]

Completed in 195 milliseconds