HelenOS sources

new_kbd_event     637 uspace/srv/hid/remcons/remcons.c 	remcons_event_t *down = new_kbd_event(KEY_PRESS, mods, key, c);
new_kbd_event     641 uspace/srv/hid/remcons/remcons.c 	remcons_event_t *up = new_kbd_event(KEY_RELEASE, mods, key, c);
HelenOS homepage, sources at GitHub