Skip to contentSkip to conversation

Patch gamecon.c

DISCUSSION Jeremiah Holt 2 participants 2 messages Sep 15, 2004 – Sep 16, 2004

lore
Share & tools
lore
#0 lore raw

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 */

#1 lore raw
Quoted 5 lines · Jeremiah Holt

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.

Signature · 1 line
Dmitry