f9c483a301
(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 |
||
---|---|---|
.. | ||
darwin_exec.c | ||
darwin_exec.h | ||
darwin_ioctl.c | ||
darwin_ioctl.h | ||
darwin_ioframebuffer.c | ||
darwin_ioframebuffer.h | ||
darwin_iohidsystem.c | ||
darwin_iohidsystem.h | ||
darwin_iokit.c | ||
darwin_iokit.h | ||
darwin_mman.c | ||
darwin_mount.c | ||
darwin_mount.h | ||
darwin_proc.h | ||
darwin_signal.c | ||
darwin_signal.h | ||
darwin_stat.c | ||
darwin_syscall.h | ||
darwin_syscallargs.h | ||
darwin_syscalls.c | ||
darwin_sysctl.c | ||
darwin_sysctl.h | ||
darwin_sysent.c | ||
darwin_thread.c | ||
darwin_types.h | ||
darwin_unistd.c | ||
files.darwin | ||
Makefile | ||
syscalls.conf | ||
syscalls.master |