lkml.org 
[lkml]   [1998]   [Jun]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: joystick (was Re: Y2K)
On Tue, Jun 23, 1998 at 01:16:23PM -0500, Robert Hamilton wrote:

> But I have a sort-of kernel related question.
> Why does the joystick driver now open in blocking mode by default?
> Not that I'm criticizing or anything like that, just wondering about
> the rationale.

Because it generates events, and not just reports the current state.
It blocks until an event is received. It supports nonblocking mode as
well, but that must be explicitly specified. You can wait on events
in select(), too.

Vojtech Pavlik
joystick driver maintainer

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.103 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site