2004-09-15 22:52:52

by Jeremiah Holt

[permalink] [raw]
Subject: Patch gamecon.c

This patch changes gc_psx_delay from 60 usecs to 10 usecs. At 60usecs
my system was almost unusable anything a app wanted to use the the
joystick I tried the gc_psx_delay= switch for the module but that
appears to be no longer supported. Please personally CC: all comments
to me thanks

--- ./linux-2.4.28/drivers/char/joystick/gamecon.c 2004-09-15
17:45:43.000000000 -0500
+++ ./linux-2.4.28-patched/drivers/char/joystick/gamecon.c
2004-09-15 17:27:43.000000000 -0500
@@ -213,7 +213,7 @@
*
*/

-#define GC_PSX_DELAY 60 /* 60 usec */
+#define GC_PSX_DELAY 10 /* 10 usec */
#define GC_PSX_LENGTH 8 /* talk to the controller in bytes */

#define GC_PSX_MOUSE 1 /* Mouse */


2004-09-16 05:16:15

by Dmitry Torokhov

[permalink] [raw]
Subject: Re: Patch gamecon.c

On Wednesday 15 September 2004 05:49 pm, Jeremiah Holt wrote:
> This patch changes gc_psx_delay from 60 usecs to 10 usecs. At 60usecs
> my system was almost unusable anything a app wanted to use the the
> joystick I tried the gc_psx_delay= switch for the module but that
> appears to be no longer supported. Please personally CC: all comments
> to me thanks

It is simply 'psx_delay=xxx' if compiled as a module and gamecon.psx_delay=
if gamecon is built in.

--
Dmitry