Searched defs:stick (Results 1 - 3 of 3) sorted by relevance

/external/qemu/distrib/sdl-1.2.15/src/joystick/beos/
H A DSDL_bejoystick.cc47 BJoystick *stick; member in struct:joystick_hwdata
99 BJoystick *stick; local
109 stick = new BJoystick;
110 joystick->hwdata->stick = stick;
113 if ( stick->Open(SDL_joyport[joystick->index]) == B_ERROR ) {
120 stick->EnableCalibration();
123 joystick->nbuttons = stick->CountButtons();
124 joystick->naxes = stick->CountAxes();
125 joystick->nhats = stick
161 BJoystick *stick; local
[all...]
/external/qemu/distrib/sdl-1.2.15/src/joystick/
H A DSDL_joystick.c412 SDL_Joystick *stick = SDL_joysticks[i]; local
413 if (stick && (stick->ref_count >= 1)) {
414 stick->ref_count = 1;
415 SDL_JoystickClose(stick);
/external/qemu/distrib/sdl-1.2.15/src/joystick/linux/
H A DSDL_sysjoystick.c457 * This happens when we see a stick via symlink.
927 void HandleHat(SDL_Joystick *stick, Uint8 hat, int axis, int value) argument
938 if (stick->nhats <= hat) {
942 the_hat = &stick->hwdata->hats[hat];
958 if (SDL_joylist[stick->index].map != NULL) {
962 hats = SDL_joylist[stick->index].map->hatmap+hat;
963 logicaljoy = FindLogicalJoystick(stick, hats);
967 stick = logicaljoy;
972 SDL_PrivateJoystickHat(stick, hat,
978 void HandleBall(SDL_Joystick *stick, Uint argument
[all...]

Completed in 299 milliseconds