Searched refs:gameport (Results 1 – 1 of 1) sorted by relevance
547 struct joystick gameport; local551 while (read(joy->hwdata->fd, &gameport, sizeof gameport) == sizeof gameport) {552 if (abs(x - gameport.x) > 8) {553 x = gameport.x;569 if (abs(y - gameport.y) > 8) {570 y = gameport.y;586 SDL_PrivateJoystickButton(joy, 0, gameport.b1);587 SDL_PrivateJoystickButton(joy, 1, gameport.b2);
Completed in 7 milliseconds