mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* joystick.c
@ 2002-07-09 10:21 Piotr Sawuk
  2002-07-09 16:17 ` joystick.c Thunder from the hill
  2002-07-09 16:38 ` joystick.c Vojtech Pavlik
  0 siblings, 2 replies; 4+ messages in thread
From: Piotr Sawuk @ 2002-07-09 10:21 UTC (permalink / raw)
  To: linux-kernel; +Cc: vojtech

Sorry if I'm off-topic here, since I don't read this list.
also when replying please send me a copy...

in function js_correct(value,corr) I've found the instructions:

if (value < -32767) return -32767;
if (value > 32767) return 32767;

what's the use of these? I'm asking because my new usb-joystick
is returning those values somewhere in the middle of it's threshold
and I was wondering if disabling the above would do any good?


however, the actual reason why I've looked into that file was
because wine reported strange joystick-events 6,7,8,9 and I
just can't figure out what those are supposed to do. I've found
JS_EVENT 1 and 2 in the linux/joystick.h include, but no mention
of anything related to the number '6'. does anyone know anything
about those joystick events?

P

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-07-12 16:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-09 10:21 joystick.c Piotr Sawuk
2002-07-09 16:17 ` joystick.c Thunder from the hill
2002-07-09 16:38 ` joystick.c Vojtech Pavlik
2002-07-12  5:00   ` joystick.c Piotr Sawuk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®