HelenOS sources

root/uspace/srv/hid/input/

[..]
ctl/ doc/ gsp.c gsp.h input.c
input.h kbd.h kbd_ctl.h kbd_port.h layout.c
layout.h layout/ mouse.h mouse_port.h mouse_proto.h
port/ proto/ serial.h stroke.c stroke.h
[..]
HelenOS homepage, sources at GitHub