Messages in this thread | | | Date | Tue, 23 Jun 1998 23:17:36 +0200 | From | Vojtech Pavlik <> | Subject | Re: 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
| |