*** empty log message ***
authorSam Lantinga <slouken@libsdl.org>
Mon, 26 Nov 2001 22:22:20 +0000
changeset 245ab781a7dd82f
parent 244 dc660aee7d7d
child 246 7c09c9e3b0c7
*** empty log message ***
src/joystick/linux/SDL_sysjoystick.c
     1.1 --- a/src/joystick/linux/SDL_sysjoystick.c	Fri Nov 23 17:11:05 2001 +0000
     1.2 +++ b/src/joystick/linux/SDL_sysjoystick.c	Mon Nov 26 22:22:20 2001 +0000
     1.3 @@ -140,10 +140,10 @@
     1.4  int SDL_SYS_JoystickInit(void)
     1.5  {
     1.6  	/* The base path of the joystick devices */
     1.7 -	const char *joydev_pattern[2] = {
     1.8 +	const char *joydev_pattern[] = {
     1.9  		"/dev/js%d",
    1.10  #ifdef USE_INPUT_EVENTS
    1.11 -		"/dev/input/event%d"
    1.12 +		"/dev/input/event%d",
    1.13  #endif
    1.14  		"/dev/input/js%d"
    1.15  	};