HelenOS sources

root/uspace/srv/hid/input/port/

[..]
chardev.c
[..]
HelenOS homepage, sources at GitHub