[Plib-devel] [PATCH] Joystick code under Linux
Brought to you by:
sjbaker
From: Mathias <Mat...@gm...> - 2004-10-18 19:19:15
|
Hi, The current cvs' code does not detect which joystick implementation it shou= ld=20 use. The current implementation always uses the 'jsLinuxOld' code which doe= s=20 not work with current Linux kernels. The js-linux.diff checks again against JS_VERSION defined in linux/joystick= =2Eh. The second patch removes any deadband settings done in the joystick kernel= =20 driver. Since plib does its own deadband handling I think that this is a go= od=20 idea to do. At least my thrustmaster topgun joystick/thrust combo works much better wit= h=20 this patch. Without, the kernel driver introduces an unrecoverable deadband= =20 plateau in the area of 50% thrust, which is pretty senseless to have on the= =20 thrust axis. Even on the other axis I prefer to have exactly *one* deadband= =20 parameter. Since plib has it's own ones, only take those ones. Can somebody apply them please? Greetings Mathais =2D-=20 Mathias Fr=C3=B6hlich, email: Mat...@gm... |