Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/compat/mach



Module Name:    src
Committed By:   manu
Date:           Thu Sep 11 23:18:11 UTC 2003

Modified Files:
        src/sys/compat/mach: mach_port.c

Log Message:
(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)

Missing bits:
- 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.




Home | Main Index | Thread Index | Old Index