Subject: CVS commit: src/sys/compat/mach
To: None <source-changes@NetBSD.org>
From: Emmanuel Dreyfus <email@example.com>
Date: 09/11/2003 23:18:11
Module Name: src
Committed By: manu
Date: Thu Sep 11 23:18:11 UTC 2003
(file missing from the previous commit, I copy/past the commit log)
Some initial support for IOHIDSystem. This gives us some pointer moves in X11
(not really related the the actual mouse movement, but this will come).
The darwin_iohidsystem_thread reads events from wscons, translates them
into IOHIDSystem events and wakes up the userland client with a notification.
To do this, I had to improve the void implementation of
io_connect_set_notification_port() to actually register something (I assumed
a single notification port, which makes some sense since only one process
seems to be able to open the driver)
- we do not take event masks given by the process into account.
- the notification message has not been checked against Darwin
- events are badly translated
To generate a diff of this commit:
cvs rdiff -r1.38 -r1.39 src/sys/compat/mach/mach_port.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.