Mercurial > sdl-ios-xcode
changeset 405:b5de7389a0a5
*** empty log message ***
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 11 Jun 2002 20:11:30 +0000 |
parents | cbb346aca05d |
children | 9916da315b0d |
files | src/joystick/bsd/SDL_sysjoystick.c |
diffstat | 1 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/joystick/bsd/SDL_sysjoystick.c Tue Jun 11 20:06:42 2002 +0000 +++ b/src/joystick/bsd/SDL_sysjoystick.c Tue Jun 11 20:11:30 2002 +0000 @@ -32,7 +32,6 @@ "@(#) $Id $"; #endif -#include <sys/types.h> #include <stdio.h> #include <stdlib.h> #include <unistd.h> @@ -242,8 +241,6 @@ break; case hid_input: switch (HID_PAGE(hitem.usage)) { - case HUP_UNDEFINED: - break; case HUP_GENERIC_DESKTOP: switch (HID_USAGE(hitem.usage)) { case HUG_X: @@ -264,6 +261,8 @@ case HUP_BUTTON: joy->nbuttons++; break; + default: + break; } break; default: @@ -308,8 +307,6 @@ switch (hitem.kind) { case hid_input: switch (HID_PAGE(hitem.usage)) { - case HUP_UNDEFINED: - continue; case HUP_GENERIC_DESKTOP: switch (HID_USAGE(hitem.usage)) { case HUG_X: @@ -357,6 +354,8 @@ } nbutton++; break; + default: + continue; } break; default: