HelenOS sources
layout 70 uspace/srv/hid/input/input.c static layout_ops_t *layout[NUM_LAYOUTS] = {
layout 215 uspace/srv/hid/input/input.c kdev->active_layout = layout_create(layout[0]);
layout 219 uspace/srv/hid/input/input.c kdev->active_layout = layout_create(layout[1]);
layout 223 uspace/srv/hid/input/input.c kdev->active_layout = layout_create(layout[2]);
layout 227 uspace/srv/hid/input/input.c kdev->active_layout = layout_create(layout[3]);
layout 231 uspace/srv/hid/input/input.c kdev->active_layout = layout_create(layout[4]);
layout 422 uspace/srv/hid/input/input.c kdev->active_layout = layout_create(layout[0]);
layout 46 uspace/srv/hid/input/kbd.h struct layout;
layout 74 uspace/srv/hid/input/kbd.h struct layout *active_layout;
layout 46 uspace/srv/hid/input/layout.c layout_t *layout;
layout 48 uspace/srv/hid/input/layout.c layout = calloc(1, sizeof(layout_t));
layout 49 uspace/srv/hid/input/layout.c if (layout == NULL) {
layout 54 uspace/srv/hid/input/layout.c layout->ops = ops;
layout 55 uspace/srv/hid/input/layout.c if ((*ops->create)(layout) != EOK) {
layout 56 uspace/srv/hid/input/layout.c free(layout);
layout 60 uspace/srv/hid/input/layout.c return layout;
layout 64 uspace/srv/hid/input/layout.c void layout_destroy(layout_t *layout)
layout 66 uspace/srv/hid/input/layout.c (*layout->ops->destroy)(layout);
layout 67 uspace/srv/hid/input/layout.c free(layout);
layout 71 uspace/srv/hid/input/layout.c char32_t layout_parse_ev(layout_t *layout, kbd_event_t *ev)
layout 73 uspace/srv/hid/input/layout.c return (*layout->ops->parse_ev)(layout, ev);
HelenOS homepage, sources at GitHub