HelenOS sources
event 38 abi/include/abi/udebug.h #define UDEBUG_EVMASK(event) (1 << ((event) - 1))
event 245 kernel/generic/src/console/console.c void kio_update(void *event)
event 50 kernel/generic/src/ipc/event.c static void event_initialize(event_t *event)
event 52 kernel/generic/src/ipc/event.c spinlock_initialize(&event->lock, "event.lock");
event 53 kernel/generic/src/ipc/event.c event->answerbox = NULL;
event 54 kernel/generic/src/ipc/event.c event->counter = 0;
event 55 kernel/generic/src/ipc/event.c event->imethod = 0;
event 56 kernel/generic/src/ipc/event.c event->masked = false;
event 57 kernel/generic/src/ipc/event.c event->unmask_callback = NULL;
event 64 kernel/generic/src/ipc/event.c event_t *event;
event 67 kernel/generic/src/ipc/event.c event = &events[(event_type_t) evno];
event 69 kernel/generic/src/ipc/event.c event = &task->events[(event_task_type_t) evno - EVENT_END];
event 71 kernel/generic/src/ipc/event.c return event;
event 110 kernel/generic/src/ipc/event.c static void _event_set_unmask_callback(event_t *event, event_callback_t callback)
event 112 kernel/generic/src/ipc/event.c spinlock_lock(&event->lock);
event 113 kernel/generic/src/ipc/event.c event->unmask_callback = callback;
event 114 kernel/generic/src/ipc/event.c spinlock_unlock(&event->lock);
event 140 kernel/generic/src/ipc/event.c static errno_t event_enqueue(event_t *event, bool mask, sysarg_t a1, sysarg_t a2,
event 145 kernel/generic/src/ipc/event.c spinlock_lock(&event->lock);
event 147 kernel/generic/src/ipc/event.c if (event->answerbox != NULL) {
event 148 kernel/generic/src/ipc/event.c if (!event->masked) {
event 153 kernel/generic/src/ipc/event.c call->priv = ++event->counter;
event 155 kernel/generic/src/ipc/event.c ipc_set_imethod(&call->data, event->imethod);
event 164 kernel/generic/src/ipc/event.c irq_spinlock_lock(&event->answerbox->irq_lock,
event 167 kernel/generic/src/ipc/event.c &event->answerbox->irq_notifs);
event 168 kernel/generic/src/ipc/event.c irq_spinlock_unlock(&event->answerbox->irq_lock,
event 171 kernel/generic/src/ipc/event.c waitq_wake_one(&event->answerbox->wq);
event 174 kernel/generic/src/ipc/event.c event->masked = true;
event 184 kernel/generic/src/ipc/event.c spinlock_unlock(&event->lock);
event 256 kernel/generic/src/ipc/event.c static errno_t event_subscribe(event_t *event, sysarg_t imethod,
event 261 kernel/generic/src/ipc/event.c spinlock_lock(&event->lock);
event 263 kernel/generic/src/ipc/event.c if (event->answerbox == NULL) {
event 264 kernel/generic/src/ipc/event.c event->answerbox = answerbox;
event 265 kernel/generic/src/ipc/event.c event->imethod = imethod;
event 266 kernel/generic/src/ipc/event.c event->counter = 0;
event 267 kernel/generic/src/ipc/event.c event->masked = false;
event 272 kernel/generic/src/ipc/event.c spinlock_unlock(&event->lock);
event 287 kernel/generic/src/ipc/event.c static errno_t event_unsubscribe(event_t *event, answerbox_t *answerbox)
event 291 kernel/generic/src/ipc/event.c spinlock_lock(&event->lock);
event 293 kernel/generic/src/ipc/event.c if (event->answerbox == answerbox) {
event 294 kernel/generic/src/ipc/event.c event->answerbox = NULL;
event 295 kernel/generic/src/ipc/event.c event->counter = 0;
event 296 kernel/generic/src/ipc/event.c event->imethod = 0;
event 297 kernel/generic/src/ipc/event.c event->masked = false;
event 302 kernel/generic/src/ipc/event.c spinlock_unlock(&event->lock);
event 312 kernel/generic/src/ipc/event.c static void event_unmask(event_t *event)
event 314 kernel/generic/src/ipc/event.c spinlock_lock(&event->lock);
event 315 kernel/generic/src/ipc/event.c event->masked = false;
event 316 kernel/generic/src/ipc/event.c event_callback_t callback = event->unmask_callback;
event 317 kernel/generic/src/ipc/event.c spinlock_unlock(&event->lock);
event 324 kernel/generic/src/ipc/event.c callback(event);
event 190 kernel/generic/src/log/log.c static void log_update(void *event)
event 109 tools/xcw/demo/viewer.c static void viewer_kbd_event_unmod(viewer_t *viewer, kbd_event_t *event)
event 113 tools/xcw/demo/viewer.c if (event->key == KC_Q || event->key == KC_ESCAPE)
event 116 tools/xcw/demo/viewer.c if (event->key == KC_PAGE_DOWN) {
event 125 tools/xcw/demo/viewer.c if (event->key == KC_PAGE_UP) {
event 157 tools/xcw/demo/viewer.c static void viewer_kbd_event_ctrl(viewer_t *viewer, kbd_event_t *event)
event 159 tools/xcw/demo/viewer.c if (event->key == KC_Q)
event 170 tools/xcw/demo/viewer.c kbd_event_t *event)
event 174 tools/xcw/demo/viewer.c if (event->type != KEY_PRESS)
event 177 tools/xcw/demo/viewer.c if ((event->mods & (KM_CTRL | KM_ALT | KM_SHIFT)) == 0)
event 178 tools/xcw/demo/viewer.c viewer_kbd_event_unmod(viewer, event);
event 180 tools/xcw/demo/viewer.c if ((event->mods & KM_CTRL) != 0 &&
event 181 tools/xcw/demo/viewer.c (event->mods & (KM_ALT | KM_SHIFT)) == 0)
event 182 tools/xcw/demo/viewer.c viewer_kbd_event_ctrl(viewer, event);
event 184 tools/xcw/demo/viewer.c ui_window_def_kbd(window, event);
event 91 uspace/app/aboutos/aboutos.c kbd_event_t *event)
event 97 uspace/app/aboutos/aboutos.c if (event->type == KEY_PRESS &&
event 98 uspace/app/aboutos/aboutos.c (event->mods & (KM_CTRL | KM_SHIFT | KM_ALT)) == 0) {
event 99 uspace/app/aboutos/aboutos.c if (event->key == KC_ENTER) {
event 106 uspace/app/aboutos/aboutos.c ui_window_def_kbd(window, event);
event 128 uspace/app/barber/barber.c static void barber_kbd_event_unmod(barber_t *barber, kbd_event_t *event)
event 130 uspace/app/barber/barber.c if (event->key == KC_ESCAPE)
event 139 uspace/app/barber/barber.c static void barber_kbd_event_ctrl(barber_t *barber, kbd_event_t *event)
event 141 uspace/app/barber/barber.c if (event->key == KC_Q)
event 151 uspace/app/barber/barber.c static void wnd_kbd_event(ui_window_t *window, void *arg, kbd_event_t *event)
event 155 uspace/app/barber/barber.c if (event->type != KEY_PRESS)
event 158 uspace/app/barber/barber.c if ((event->mods & (KM_CTRL | KM_ALT | KM_SHIFT)) == 0)
event 159 uspace/app/barber/barber.c barber_kbd_event_unmod(barber, event);
event 161 uspace/app/barber/barber.c if ((event->mods & KM_CTRL) != 0 &&
event 162 uspace/app/barber/barber.c (event->mods & (KM_ALT | KM_SHIFT)) == 0)
event 163 uspace/app/barber/barber.c barber_kbd_event_ctrl(barber, event);
event 165 uspace/app/barber/barber.c ui_window_def_kbd(window, event);
event 185 uspace/app/calculator/calculator.c static void wnd_kbd_event(ui_window_t *window, void *arg, kbd_event_t *event)
event 189 uspace/app/calculator/calculator.c if (ui_window_def_kbd(window, event) == ui_claimed)
event 192 uspace/app/calculator/calculator.c if (event->type == KEY_PRESS && (event->mods & KM_CTRL) != 0) {
event 193 uspace/app/calculator/calculator.c switch (event->key) {
event 205 uspace/app/calculator/calculator.c switch (event->key) {
event 207 uspace/app/calculator/calculator.c if (event->type == KEY_PRESS)
event 213 uspace/app/calculator/calculator.c if (event->type == KEY_PRESS)
event 219 uspace/app/calculator/calculator.c if (event->type == KEY_PRESS)
event 225 uspace/app/calculator/calculator.c if (event->type == KEY_PRESS)
event 231 uspace/app/calculator/calculator.c if (event->type == KEY_PRESS)
event 237 uspace/app/calculator/calculator.c if (event->type == KEY_PRESS)
event 243 uspace/app/calculator/calculator.c if (event->type == KEY_PRESS)
event 249 uspace/app/calculator/calculator.c if (event->type == KEY_PRESS)
event 255 uspace/app/calculator/calculator.c if (event->type == KEY_PRESS)
event 261 uspace/app/calculator/calculator.c if (event->type == KEY_PRESS)
event 267 uspace/app/calculator/calculator.c if (event->type == KEY_PRESS)
event 273 uspace/app/calculator/calculator.c if (event->type == KEY_PRESS)
event 279 uspace/app/calculator/calculator.c if (event->type == KEY_PRESS)
event 285 uspace/app/calculator/calculator.c if ((event->mods & KM_SHIFT) != 0) {
event 286 uspace/app/calculator/calculator.c if (event->type == KEY_PRESS)
event 291 uspace/app/calculator/calculator.c if (event->type == KEY_PRESS)
event 298 uspace/app/calculator/calculator.c if (event->type == KEY_PRESS)
event 1663 uspace/app/edit/edit.c static ui_evclaim_t pane_ctl_pos_event(void *arg, pos_event_t *event)
event 1667 uspace/app/edit/edit.c pos.x = event->hpos;
event 1668 uspace/app/edit/edit.c pos.y = event->vpos;
event 1673 uspace/app/edit/edit.c pos_handle(event);
event 2386 uspace/app/edit/edit.c kbd_event_t *event)
event 2388 uspace/app/edit/edit.c pane.keymod = event->mods;
event 2390 uspace/app/edit/edit.c if (ui_window_def_kbd(window, event) == ui_claimed)
event 2393 uspace/app/edit/edit.c if (event->type == KEY_PRESS) {
event 2394 uspace/app/edit/edit.c key_handle_press(event);
event 222 uspace/app/fontedit/fontedit.c pos_event_t *event)
event 231 uspace/app/fontedit/fontedit.c pos.x = event->hpos;
event 232 uspace/app/fontedit/fontedit.c pos.y = event->vpos;
event 234 uspace/app/fontedit/fontedit.c if (event->type != POS_PRESS)
event 305 uspace/app/fontedit/fontedit.c static void font_edit_ctrl_key(font_edit_t *fedit, kbd_event_t *event)
event 309 uspace/app/fontedit/fontedit.c switch (event->key) {
event 384 uspace/app/fontedit/fontedit.c static void font_edit_unmod_key(font_edit_t *fedit, kbd_event_t *event)
event 393 uspace/app/fontedit/fontedit.c if (event->c == '\0')
event 396 uspace/app/fontedit/fontedit.c printf("Character '%lc'\n", event->c);
event 397 uspace/app/fontedit/fontedit.c snprintf(str, sizeof(str), "%lc", event->c);
event 454 uspace/app/fontedit/fontedit.c kbd_event_t *event)
event 458 uspace/app/fontedit/fontedit.c if (event->type != KEY_PRESS)
event 461 uspace/app/fontedit/fontedit.c if ((event->mods & KM_CTRL) != 0 &&
event 462 uspace/app/fontedit/fontedit.c (event->mods & (KM_ALT | KM_SHIFT)) == 0) {
event 463 uspace/app/fontedit/fontedit.c font_edit_ctrl_key(fedit, event);
event 464 uspace/app/fontedit/fontedit.c } else if ((event->mods & (KM_CTRL | KM_ALT)) == 0) {
event 465 uspace/app/fontedit/fontedit.c font_edit_unmod_key(fedit, event);
event 1288 uspace/app/gfxdemo/gfxdemo.c static void demo_kbd_event(kbd_event_t *event)
event 1290 uspace/app/gfxdemo/gfxdemo.c if (event->type == KEY_PRESS) {
event 1292 uspace/app/gfxdemo/gfxdemo.c if ((event->mods & KM_CTRL) != 0 &&
event 1293 uspace/app/gfxdemo/gfxdemo.c (event->mods & KM_ALT) == 0 &&
event 1294 uspace/app/gfxdemo/gfxdemo.c (event->mods & KM_SHIFT) == 0 &&
event 1295 uspace/app/gfxdemo/gfxdemo.c event->key == KC_Q) {
event 1300 uspace/app/gfxdemo/gfxdemo.c if ((event->mods & KM_CTRL) == 0 &&
event 1301 uspace/app/gfxdemo/gfxdemo.c (event->mods & KM_ALT) == 0 &&
event 1302 uspace/app/gfxdemo/gfxdemo.c (event->mods & KM_SHIFT) == 0 &&
event 1303 uspace/app/gfxdemo/gfxdemo.c event->key == KC_ESCAPE) {
event 1309 uspace/app/gfxdemo/gfxdemo.c static void wnd_kbd_event(void *arg, kbd_event_t *event)
event 1312 uspace/app/gfxdemo/gfxdemo.c demo_kbd_event(event);
event 1320 uspace/app/gfxdemo/gfxdemo.c static void uiwnd_kbd_event(ui_window_t *window, void *arg, kbd_event_t *event)
event 1324 uspace/app/gfxdemo/gfxdemo.c demo_kbd_event(event);
event 264 uspace/app/mkbd/main.c uint8_t *event = (uint8_t *)malloc(size);
event 265 uspace/app/mkbd/main.c if (event == NULL) {
event 283 uspace/app/mkbd/main.c rc = usbhid_dev_get_event(dev_sess, event, size, &actual_size,
event 293 uspace/app/mkbd/main.c print_key(event, size, report);
event 57 uspace/app/modplay/modplay.c static void modplay_event(cons_event_t *event)
event 59 uspace/app/modplay/modplay.c switch (event->type) {
event 61 uspace/app/modplay/modplay.c if (event->ev.key.type == KEY_PRESS) {
event 62 uspace/app/modplay/modplay.c modplay_key_press(&event->ev.key);
event 83 uspace/app/modplay/modplay.c cons_event_t event;
event 176 uspace/app/modplay/modplay.c rc = console_get_event_timeout(con, &event, &timeout);
event 178 uspace/app/modplay/modplay.c modplay_event(&event);
event 90 uspace/app/nav/nav.c static void wnd_kbd(ui_window_t *window, void *arg, kbd_event_t *event)
event 94 uspace/app/nav/nav.c if (event->type == KEY_PRESS &&
event 95 uspace/app/nav/nav.c ((event->mods & KM_ALT) == 0) &&
event 96 uspace/app/nav/nav.c ((event->mods & KM_SHIFT) == 0) &&
event 97 uspace/app/nav/nav.c (event->mods & KM_CTRL) != 0) {
event 98 uspace/app/nav/nav.c switch (event->key) {
event 107 uspace/app/nav/nav.c if (event->type == KEY_PRESS &&
event 108 uspace/app/nav/nav.c ((event->mods & (KM_CTRL | KM_ALT | KM_SHIFT)) == 0)) {
event 109 uspace/app/nav/nav.c switch (event->key) {
event 118 uspace/app/nav/nav.c ui_window_def_kbd(window, event);
event 199 uspace/app/nav/panel.c ui_evclaim_t panel_kbd_event(panel_t *panel, kbd_event_t *event)
event 207 uspace/app/nav/panel.c return ui_control_kbd_event(ctl, event);
event 216 uspace/app/nav/panel.c ui_evclaim_t panel_pos_event(panel_t *panel, pos_event_t *event)
event 222 uspace/app/nav/panel.c pos.x = event->hpos;
event 223 uspace/app/nav/panel.c pos.y = event->vpos;
event 228 uspace/app/nav/panel.c claim = ui_control_pos_event(ctl, event);
event 232 uspace/app/nav/panel.c if (!panel->active && event->type == POS_PRESS)
event 336 uspace/app/nav/panel.c ui_evclaim_t panel_ctl_kbd_event(void *arg, kbd_event_t *event)
event 340 uspace/app/nav/panel.c return panel_kbd_event(panel, event);
event 349 uspace/app/nav/panel.c ui_evclaim_t panel_ctl_pos_event(void *arg, pos_event_t *event)
event 353 uspace/app/nav/panel.c return panel_pos_event(panel, event);
event 178 uspace/app/nav/test/panel.c kbd_event_t event;
event 195 uspace/app/nav/test/panel.c event.type = KEY_PRESS;
event 196 uspace/app/nav/test/panel.c event.key = KC_ESCAPE;
event 197 uspace/app/nav/test/panel.c event.mods = 0;
event 198 uspace/app/nav/test/panel.c event.c = '\0';
event 200 uspace/app/nav/test/panel.c claimed = panel_kbd_event(panel, &event);
event 210 uspace/app/nav/test/panel.c event.type = KEY_PRESS;
event 211 uspace/app/nav/test/panel.c event.key = KC_ESCAPE;
event 212 uspace/app/nav/test/panel.c event.mods = 0;
event 213 uspace/app/nav/test/panel.c event.c = '\0';
event 215 uspace/app/nav/test/panel.c claimed = panel_kbd_event(panel, &event);
event 216 uspace/app/taskbar/clock.c ui_evclaim_t taskbar_clock_kbd_event(taskbar_clock_t *clock, kbd_event_t *event)
event 227 uspace/app/taskbar/clock.c ui_evclaim_t taskbar_clock_pos_event(taskbar_clock_t *clock, pos_event_t *event)
event 231 uspace/app/taskbar/clock.c pos.x = event->hpos;
event 232 uspace/app/taskbar/clock.c pos.y = event->vpos;
event 297 uspace/app/taskbar/clock.c ui_evclaim_t taskbar_clock_ctl_kbd_event(void *arg, kbd_event_t *event)
event 301 uspace/app/taskbar/clock.c return taskbar_clock_kbd_event(clock, event);
event 310 uspace/app/taskbar/clock.c ui_evclaim_t taskbar_clock_ctl_pos_event(void *arg, pos_event_t *event)
event 314 uspace/app/taskbar/clock.c return taskbar_clock_pos_event(clock, event);
event 81 uspace/app/taskbar/taskbar.c static void taskbar_wnd_kbd(ui_window_t *window, void *arg, kbd_event_t *event)
event 87 uspace/app/taskbar/taskbar.c taskbar->wndlist->ev_idev_id = event->kbd_id;
event 88 uspace/app/taskbar/taskbar.c taskbar->tbsmenu->ev_idev_id = event->kbd_id;
event 90 uspace/app/taskbar/taskbar.c claim = ui_window_def_kbd(window, event);
event 94 uspace/app/taskbar/taskbar.c if (event->type == KEY_PRESS && (event->mods & KM_CTRL) == 0 &&
event 95 uspace/app/taskbar/taskbar.c (event->mods & KM_ALT) == 0 && (event->mods & KM_SHIFT) == 0 &&
event 96 uspace/app/taskbar/taskbar.c event->key == KC_ENTER) {
event 108 uspace/app/taskbar/taskbar.c static void taskbar_wnd_pos(ui_window_t *window, void *arg, pos_event_t *event)
event 113 uspace/app/taskbar/taskbar.c taskbar->wndlist->ev_idev_id = event->pos_id;
event 114 uspace/app/taskbar/taskbar.c taskbar->tbsmenu->ev_idev_id = event->pos_id;
event 116 uspace/app/taskbar/taskbar.c ui_window_def_pos(window, event);
event 105 uspace/app/taskbar/test/clock.c kbd_event_t event;
event 121 uspace/app/taskbar/test/clock.c event.type = KEY_PRESS;
event 122 uspace/app/taskbar/test/clock.c event.key = KC_ENTER;
event 123 uspace/app/taskbar/test/clock.c event.mods = 0;
event 124 uspace/app/taskbar/test/clock.c claim = taskbar_clock_kbd_event(clock, &event);
event 140 uspace/app/taskbar/test/clock.c pos_event_t event;
event 156 uspace/app/taskbar/test/clock.c event.type = POS_PRESS;
event 157 uspace/app/taskbar/test/clock.c event.hpos = 0;
event 158 uspace/app/taskbar/test/clock.c event.vpos = 0;
event 159 uspace/app/taskbar/test/clock.c claim = taskbar_clock_pos_event(clock, &event);
event 407 uspace/app/terminal/terminal.c cons_event_t *event = &qevent->ev;
event 410 uspace/app/terminal/terminal.c if (event->type == CEV_KEY && event->ev.key.type == KEY_PRESS &&
event 411 uspace/app/terminal/terminal.c event->ev.key.c != 0) {
event 413 uspace/app/terminal/terminal.c event->ev.key.c,
event 635 uspace/app/terminal/terminal.c static errno_t term_get_event(con_srv_t *srv, cons_event_t *event)
event 641 uspace/app/terminal/terminal.c *event = ev->ev;
event 827 uspace/app/terminal/terminal.c terminal_event_t *event =
event 829 uspace/app/terminal/terminal.c if (event == NULL)
event 832 uspace/app/terminal/terminal.c event->ev = *ev;
event 833 uspace/app/terminal/terminal.c link_initialize(&event->link);
event 835 uspace/app/terminal/terminal.c prodcons_produce(&term->input_pc, &event->link);
event 871 uspace/app/terminal/terminal.c cons_event_t event = { .type = CEV_RESIZE };
event 872 uspace/app/terminal/terminal.c terminal_queue_cons_event(term, &event);
event 901 uspace/app/terminal/terminal.c cons_event_t event;
event 903 uspace/app/terminal/terminal.c event.type = CEV_KEY;
event 904 uspace/app/terminal/terminal.c event.ev.key = *kbd_event;
event 919 uspace/app/terminal/terminal.c terminal_queue_cons_event(term, &event);
event 926 uspace/app/terminal/terminal.c static void terminal_pos_event(ui_window_t *window, void *arg, pos_event_t *event)
event 931 uspace/app/terminal/terminal.c switch (event->type) {
event 947 uspace/app/terminal/terminal.c if (event->hpos < sx || event->vpos < sy)
event 951 uspace/app/terminal/terminal.c cevent.ev.pos.type = event->type;
event 952 uspace/app/terminal/terminal.c cevent.ev.pos.pos_id = event->pos_id;
event 953 uspace/app/terminal/terminal.c cevent.ev.pos.btn_num = event->btn_num;
event 955 uspace/app/terminal/terminal.c cevent.ev.pos.hpos = (event->hpos - sx) / FONT_WIDTH;
event 956 uspace/app/terminal/terminal.c cevent.ev.pos.vpos = (event->vpos - sy) / FONT_SCANLINES;
event 371 uspace/app/tetris/screen.c cons_event_t event;
event 373 uspace/app/tetris/screen.c rc = console_get_event_timeout(console, &event, &timeout);
event 408 uspace/app/tetris/screen.c cons_event_t event;
event 410 uspace/app/tetris/screen.c rc = console_get_event_timeout(console, &event, &timeleft);
event 418 uspace/app/tetris/screen.c if (event.type == CEV_RESIZE)
event 421 uspace/app/tetris/screen.c if (event.type == CEV_KEY && event.ev.key.type == KEY_PRESS)
event 422 uspace/app/tetris/screen.c c = event.ev.key.c;
event 437 uspace/app/tetris/screen.c cons_event_t event;
event 439 uspace/app/tetris/screen.c rc = console_get_event(console, &event);
event 445 uspace/app/tetris/screen.c if (event.type == CEV_KEY && event.ev.key.type == KEY_PRESS)
event 446 uspace/app/tetris/screen.c c = event.ev.key.c;
event 561 uspace/app/top/screen.c cons_event_t event;
event 564 uspace/app/top/screen.c rc = console_get_event_timeout(console, &event, &timeleft);
event 575 uspace/app/top/screen.c if (event.type == CEV_KEY && event.ev.key.type == KEY_PRESS)
event 576 uspace/app/top/screen.c c = event.ev.key.c;
event 512 uspace/app/trace/trace.c cons_event_t event;
event 525 uspace/app/trace/trace.c rc = console_get_event(console, &event);
event 529 uspace/app/trace/trace.c if (event.type == CEV_KEY) {
event 531 uspace/app/trace/trace.c cev = event.ev.key;
event 109 uspace/app/viewer/viewer.c static void viewer_kbd_event_unmod(viewer_t *viewer, kbd_event_t *event)
event 113 uspace/app/viewer/viewer.c if (event->key == KC_Q || event->key == KC_ESCAPE)
event 116 uspace/app/viewer/viewer.c if (event->key == KC_PAGE_DOWN) {
event 125 uspace/app/viewer/viewer.c if (event->key == KC_PAGE_UP) {
event 157 uspace/app/viewer/viewer.c static void viewer_kbd_event_ctrl(viewer_t *viewer, kbd_event_t *event)
event 159 uspace/app/viewer/viewer.c if (event->key == KC_Q)
event 170 uspace/app/viewer/viewer.c kbd_event_t *event)
event 174 uspace/app/viewer/viewer.c if (event->type != KEY_PRESS)
event 177 uspace/app/viewer/viewer.c if ((event->mods & (KM_CTRL | KM_ALT | KM_SHIFT)) == 0)
event 178 uspace/app/viewer/viewer.c viewer_kbd_event_unmod(viewer, event);
event 180 uspace/app/viewer/viewer.c if ((event->mods & KM_CTRL) != 0 &&
event 181 uspace/app/viewer/viewer.c (event->mods & (KM_ALT | KM_SHIFT)) == 0)
event 182 uspace/app/viewer/viewer.c viewer_kbd_event_ctrl(viewer, event);
event 184 uspace/app/viewer/viewer.c ui_window_def_kbd(window, event);
event 344 uspace/dist/src/c/demos/tetris/screen.c cons_event_t event;
event 346 uspace/dist/src/c/demos/tetris/screen.c if (!console_get_event_timeout(console, &event, &timeout))
event 376 uspace/dist/src/c/demos/tetris/screen.c cons_event_t event;
event 378 uspace/dist/src/c/demos/tetris/screen.c if (!console_get_event_timeout(console, &event, &timeleft)) {
event 383 uspace/dist/src/c/demos/tetris/screen.c if (event.type == CEV_KEY && event.ev.key.type == KEY_PRESS)
event 384 uspace/dist/src/c/demos/tetris/screen.c c = event.ev.key.c;
event 398 uspace/dist/src/c/demos/tetris/screen.c cons_event_t event;
event 400 uspace/dist/src/c/demos/tetris/screen.c if (!console_get_event(console, &event))
event 403 uspace/dist/src/c/demos/tetris/screen.c if (event.type == CEV_KEY && event.ev.key.type == KEY_PRESS)
event 404 uspace/dist/src/c/demos/tetris/screen.c c = event.ev.key.c;
event 558 uspace/dist/src/c/demos/top/screen.c cons_event_t event;
event 561 uspace/dist/src/c/demos/top/screen.c if (!console_get_event_timeout(console, &event, &timeleft)) {
event 567 uspace/dist/src/c/demos/top/screen.c if (event.type == CEV_KEY && event.ev.key.type == KEY_PRESS)
event 568 uspace/dist/src/c/demos/top/screen.c c = event.ev.key.c;
event 353 uspace/drv/audio/hdaudio/pcm_iface.c void hda_pcm_event(hda_t *hda, pcm_event_t event)
event 359 uspace/drv/audio/hdaudio/pcm_iface.c ddf_log_warning("No one listening for event %u", event);
event 364 uspace/drv/audio/hdaudio/pcm_iface.c async_msg_1(exchange, event, 0);
event 152 uspace/drv/audio/sb16/dsp.c static inline void dsp_report_event(sb_dsp_t *dsp, pcm_event_t event)
event 156 uspace/drv/audio/sb16/dsp.c ddf_log_warning("No one listening for event %u", event);
event 157 uspace/drv/audio/sb16/dsp.c async_msg_1(dsp->event_exchange, event, dsp->active.frame_count);
event 401 uspace/drv/bus/usb/xhci/trb_ring.c errno_t xhci_event_ring_dequeue(xhci_event_ring_t *ring, xhci_trb_t *event)
event 419 uspace/drv/bus/usb/xhci/trb_ring.c memcpy(event, ring->dequeue_trb, sizeof(xhci_trb_t));
event 63 uspace/lib/c/generic/thread/fibril.c fibril_event_t *event;
event 70 uspace/lib/c/generic/thread/fibril.c fibril_event_t event;
event 210 uspace/lib/c/generic/thread/fibril.c static fibril_t *_fibril_trigger_internal(fibril_event_t *event, fibril_t *reason)
event 217 uspace/lib/c/generic/thread/fibril.c if (event->fibril == _EVENT_INITIAL) {
event 218 uspace/lib/c/generic/thread/fibril.c event->fibril = reason;
event 222 uspace/lib/c/generic/thread/fibril.c if (event->fibril == _EVENT_TIMED_OUT) {
event 224 uspace/lib/c/generic/thread/fibril.c event->fibril = reason;
event 228 uspace/lib/c/generic/thread/fibril.c if (event->fibril == _EVENT_TRIGGERED) {
event 233 uspace/lib/c/generic/thread/fibril.c fibril_t *f = event->fibril;
event 234 uspace/lib/c/generic/thread/fibril.c event->fibril = reason;
event 236 uspace/lib/c/generic/thread/fibril.c assert(f->sleep_event == event);
event 337 uspace/lib/c/generic/thread/fibril.c f = _fibril_trigger_internal(&w->event, _EVENT_TRIGGERED);
event 404 uspace/lib/c/generic/thread/fibril.c errno_t rc = fibril_wait_timeout(&w.event, expires);
event 438 uspace/lib/c/generic/thread/fibril.c to->event, _EVENT_TIMED_OUT));
event 626 uspace/lib/c/generic/thread/fibril.c errno_t fibril_wait_timeout(fibril_event_t *event,
event 631 uspace/lib/c/generic/thread/fibril.c DPRINTF("### Fibril %p sleeping on event %p.\n", fibril_self(), event);
event 642 uspace/lib/c/generic/thread/fibril.c if (event->fibril == _EVENT_TRIGGERED) {
event 644 uspace/lib/c/generic/thread/fibril.c event->fibril = _EVENT_INITIAL;
event 649 uspace/lib/c/generic/thread/fibril.c assert(event->fibril == _EVENT_INITIAL);
event 670 uspace/lib/c/generic/thread/fibril.c if (event->fibril == _EVENT_TRIGGERED) {
event 671 uspace/lib/c/generic/thread/fibril.c event->fibril = _EVENT_INITIAL;
event 683 uspace/lib/c/generic/thread/fibril.c timeout.event = event;
event 689 uspace/lib/c/generic/thread/fibril.c event->fibril = srcf;
event 690 uspace/lib/c/generic/thread/fibril.c srcf->sleep_event = event;
event 692 uspace/lib/c/generic/thread/fibril.c assert(event->fibril != _EVENT_INITIAL);
event 696 uspace/lib/c/generic/thread/fibril.c assert(event->fibril != srcf);
event 697 uspace/lib/c/generic/thread/fibril.c assert(event->fibril != _EVENT_INITIAL);
event 698 uspace/lib/c/generic/thread/fibril.c assert(event->fibril == _EVENT_TIMED_OUT || event->fibril == _EVENT_TRIGGERED);
event 701 uspace/lib/c/generic/thread/fibril.c errno_t rc = (event->fibril == _EVENT_TIMED_OUT) ? ETIMEOUT : EOK;
event 702 uspace/lib/c/generic/thread/fibril.c event->fibril = _EVENT_INITIAL;
event 709 uspace/lib/c/generic/thread/fibril.c void fibril_wait_for(fibril_event_t *event)
event 713 uspace/lib/c/generic/thread/fibril.c (void) fibril_wait_timeout(event, NULL);
event 722 uspace/lib/c/generic/thread/fibril.c void fibril_notify(fibril_event_t *event)
event 725 uspace/lib/c/generic/thread/fibril.c _ready_list_push(_fibril_trigger_internal(event, _EVENT_TRIGGERED));
event 899 uspace/lib/c/generic/thread/fibril.c fibril_event_t event = FIBRIL_EVENT_INIT;
event 900 uspace/lib/c/generic/thread/fibril.c fibril_wait_timeout(&event, &expires);
event 909 uspace/lib/c/generic/thread/fibril.c fibril_event_t event = FIBRIL_EVENT_INIT;
event 910 uspace/lib/c/generic/thread/fibril.c fibril_wait_timeout(&event, &expires);
event 107 uspace/lib/c/generic/thread/fibril_synch.c fibril_event_t event;
event 183 uspace/lib/c/generic/thread/fibril_synch.c fibril_wait_for(&wdata.event);
event 213 uspace/lib/c/generic/thread/fibril_synch.c fibril_notify(&wdp->event);
event 265 uspace/lib/c/generic/thread/fibril_synch.c fibril_wait_for(&wdata.event);
event 290 uspace/lib/c/generic/thread/fibril_synch.c fibril_wait_for(&wdata.event);
event 341 uspace/lib/c/generic/thread/fibril_synch.c fibril_notify(&wdp->event);
event 423 uspace/lib/c/generic/thread/fibril_synch.c (void) fibril_wait_timeout(&wdata.event, expires);
event 446 uspace/lib/c/generic/thread/fibril_synch.c fibril_notify(&w->event);
event 457 uspace/lib/c/generic/thread/fibril_synch.c fibril_notify(&w->event);
event 701 uspace/lib/c/generic/thread/fibril_synch.c fibril_notify(&w->event);
event 735 uspace/lib/c/generic/thread/fibril_synch.c fibril_wait_for(&wdata.event);
event 769 uspace/lib/c/generic/thread/fibril_synch.c errno_t rc = fibril_wait_timeout(&wdata.event, expires);
event 797 uspace/lib/c/generic/thread/fibril_synch.c fibril_notify(&w->event);
event 61 uspace/lib/c/generic/thread/mpsc.c fibril_event_t event;
event 124 uspace/lib/c/generic/thread/mpsc.c fibril_notify(&q->event);
event 165 uspace/lib/c/generic/thread/mpsc.c errno_t rc = fibril_wait_timeout(&q->event, expires);
event 45 uspace/lib/console/src/con_srv.c static errno_t console_ev_encode(cons_event_t *event, ipc_call_t *icall)
event 47 uspace/lib/console/src/con_srv.c ipc_set_arg1(icall, event->type);
event 49 uspace/lib/console/src/con_srv.c switch (event->type) {
event 51 uspace/lib/console/src/con_srv.c ipc_set_arg2(icall, event->ev.key.type);
event 52 uspace/lib/console/src/con_srv.c ipc_set_arg3(icall, event->ev.key.key);
event 53 uspace/lib/console/src/con_srv.c ipc_set_arg4(icall, event->ev.key.mods);
event 54 uspace/lib/console/src/con_srv.c ipc_set_arg5(icall, event->ev.key.c);
event 57 uspace/lib/console/src/con_srv.c ipc_set_arg2(icall, (event->ev.pos.pos_id << 16) | (event->ev.pos.type & 0xffff));
event 58 uspace/lib/console/src/con_srv.c ipc_set_arg3(icall, event->ev.pos.btn_num);
event 59 uspace/lib/console/src/con_srv.c ipc_set_arg4(icall, event->ev.pos.hpos);
event 60 uspace/lib/console/src/con_srv.c ipc_set_arg5(icall, event->ev.pos.vpos);
event 312 uspace/lib/console/src/con_srv.c cons_event_t event;
event 320 uspace/lib/console/src/con_srv.c rc = srv->srvs->ops->get_event(srv, &event);
event 326 uspace/lib/console/src/con_srv.c rc = console_ev_encode(&event, &result);
event 185 uspace/lib/console/src/console.c static errno_t console_ev_decode(ipc_call_t *call, cons_event_t *event)
event 187 uspace/lib/console/src/console.c event->type = ipc_get_arg1(call);
event 189 uspace/lib/console/src/console.c switch (event->type) {
event 191 uspace/lib/console/src/console.c event->ev.key.type = ipc_get_arg2(call);
event 192 uspace/lib/console/src/console.c event->ev.key.key = ipc_get_arg3(call);
event 193 uspace/lib/console/src/console.c event->ev.key.mods = ipc_get_arg4(call);
event 194 uspace/lib/console/src/console.c event->ev.key.c = ipc_get_arg5(call);
event 197 uspace/lib/console/src/console.c event->ev.pos.pos_id = ipc_get_arg2(call) >> 16;
event 198 uspace/lib/console/src/console.c event->ev.pos.type = ipc_get_arg2(call) & 0xffff;
event 199 uspace/lib/console/src/console.c event->ev.pos.btn_num = ipc_get_arg3(call);
event 200 uspace/lib/console/src/console.c event->ev.pos.hpos = ipc_get_arg4(call);
event 201 uspace/lib/console/src/console.c event->ev.pos.vpos = ipc_get_arg5(call);
event 216 uspace/lib/console/src/console.c errno_t console_get_event(console_ctrl_t *ctrl, cons_event_t *event)
event 231 uspace/lib/console/src/console.c rc = console_ev_decode(&result, event);
event 243 uspace/lib/console/src/console.c errno_t rc = console_ev_decode(&ctrl->input_call, event);
event 261 uspace/lib/console/src/console.c errno_t console_get_event_timeout(console_ctrl_t *ctrl, cons_event_t *event,
event 288 uspace/lib/console/src/console.c rc = console_ev_decode(&ctrl->input_call, event);
event 183 uspace/lib/cpp/include/__bits/io/ios.hpp using event_callback = void (*)(event, ios_base&, int);
event 50 uspace/lib/dispcfg/include/types/testdc.h dispcfg_ev_t event;
event 457 uspace/lib/dispcfg/src/dispcfg.c static errno_t dispcfg_get_event(dispcfg_t *dispcfg, dispcfg_ev_t *event)
event 466 uspace/lib/dispcfg/src/dispcfg.c rc = async_data_read_start(exch, event, sizeof(*event));
event 488 uspace/lib/dispcfg/src/dispcfg.c dispcfg_ev_t event;
event 494 uspace/lib/dispcfg/src/dispcfg.c rc = dispcfg_get_event(dispcfg, &event);
event 503 uspace/lib/dispcfg/src/dispcfg.c switch (event.etype) {
event 508 uspace/lib/dispcfg/src/dispcfg.c event.seat_id);
event 515 uspace/lib/dispcfg/src/dispcfg.c event.seat_id);
event 370 uspace/lib/dispcfg/src/dispcfg_srv.c dispcfg_ev_t event;
event 380 uspace/lib/dispcfg/src/dispcfg_srv.c rc = srv->ops->get_event(srv->arg, &event);
event 393 uspace/lib/dispcfg/src/dispcfg_srv.c if (size != sizeof(event)) {
event 399 uspace/lib/dispcfg/src/dispcfg_srv.c rc = async_data_read_finalize(&call, &event, sizeof(event));
event 197 uspace/lib/dispcfg/src/testdc.c static errno_t test_get_event(void *arg, dispcfg_ev_t *event)
event 204 uspace/lib/dispcfg/src/testdc.c *event = resp->event;
event 672 uspace/lib/dispcfg/test/dispcfg.c resp.event.etype = dcev_seat_added;
event 673 uspace/lib/dispcfg/test/dispcfg.c resp.event.seat_id = 42;
event 687 uspace/lib/dispcfg/test/dispcfg.c PCUT_ASSERT_INT_EQUALS(resp.event.etype,
event 721 uspace/lib/dispcfg/test/dispcfg.c resp.event.etype = dcev_seat_removed;
event 722 uspace/lib/dispcfg/test/dispcfg.c resp.event.seat_id = 42;
event 736 uspace/lib/dispcfg/test/dispcfg.c PCUT_ASSERT_INT_EQUALS(resp.event.etype,
event 513 uspace/lib/display/src/disp_srv.c display_wnd_ev_t event;
event 523 uspace/lib/display/src/disp_srv.c rc = srv->ops->get_event(srv->arg, &wnd_id, &event);
event 536 uspace/lib/display/src/disp_srv.c if (size != sizeof(event)) {
event 542 uspace/lib/display/src/disp_srv.c rc = async_data_read_finalize(&call, &event, sizeof(event));
event 631 uspace/lib/display/src/display.c display_wnd_ev_t *event)
event 642 uspace/lib/display/src/display.c rc = async_data_read_start(exch, event, sizeof(*event));
event 700 uspace/lib/display/src/display.c display_wnd_ev_t event;
event 706 uspace/lib/display/src/display.c rc = display_get_event(display, &window, &event);
event 715 uspace/lib/display/src/display.c switch (event.etype) {
event 724 uspace/lib/display/src/display.c event.ev.focus.nfocus);
event 730 uspace/lib/display/src/display.c &event.ev.kbd);
event 736 uspace/lib/display/src/display.c &event.ev.pos);
event 742 uspace/lib/display/src/display.c &event.ev.resize.rect);
event 748 uspace/lib/display/src/display.c event.ev.unfocus.nfocus);
event 114 uspace/lib/display/test/display.c display_wnd_ev_t event;
event 1686 uspace/lib/display/test/display.c resp.event.etype = wev_close;
event 1701 uspace/lib/display/test/display.c PCUT_ASSERT_INT_EQUALS(resp.event.etype,
event 1753 uspace/lib/display/test/display.c resp.event.etype = wev_focus;
event 1754 uspace/lib/display/test/display.c resp.event.ev.focus.nfocus = 42;
event 1769 uspace/lib/display/test/display.c PCUT_ASSERT_INT_EQUALS(resp.event.etype,
event 1771 uspace/lib/display/test/display.c PCUT_ASSERT_INT_EQUALS(resp.event.ev.focus.nfocus,
event 1823 uspace/lib/display/test/display.c resp.event.etype = wev_kbd;
event 1824 uspace/lib/display/test/display.c resp.event.ev.kbd.type = KEY_PRESS;
event 1825 uspace/lib/display/test/display.c resp.event.ev.kbd.key = KC_ENTER;
event 1826 uspace/lib/display/test/display.c resp.event.ev.kbd.mods = 0;
event 1827 uspace/lib/display/test/display.c resp.event.ev.kbd.c = L'\0';
event 1842 uspace/lib/display/test/display.c PCUT_ASSERT_INT_EQUALS(resp.event.etype,
event 1844 uspace/lib/display/test/display.c PCUT_ASSERT_INT_EQUALS(resp.event.ev.kbd.type,
event 1846 uspace/lib/display/test/display.c PCUT_ASSERT_INT_EQUALS(resp.event.ev.kbd.key,
event 1848 uspace/lib/display/test/display.c PCUT_ASSERT_INT_EQUALS(resp.event.ev.kbd.mods,
event 1850 uspace/lib/display/test/display.c PCUT_ASSERT_INT_EQUALS(resp.event.ev.kbd.c,
event 1902 uspace/lib/display/test/display.c resp.event.etype = wev_pos;
event 1903 uspace/lib/display/test/display.c resp.event.ev.pos.type = POS_PRESS;
event 1904 uspace/lib/display/test/display.c resp.event.ev.pos.btn_num = 1;
event 1905 uspace/lib/display/test/display.c resp.event.ev.pos.hpos = 2;
event 1906 uspace/lib/display/test/display.c resp.event.ev.pos.vpos = 3;
event 1921 uspace/lib/display/test/display.c PCUT_ASSERT_INT_EQUALS(resp.event.etype,
event 1923 uspace/lib/display/test/display.c PCUT_ASSERT_INT_EQUALS(resp.event.ev.pos.type,
event 1925 uspace/lib/display/test/display.c PCUT_ASSERT_INT_EQUALS(resp.event.ev.pos.btn_num,
event 1927 uspace/lib/display/test/display.c PCUT_ASSERT_INT_EQUALS(resp.event.ev.pos.hpos,
event 1929 uspace/lib/display/test/display.c PCUT_ASSERT_INT_EQUALS(resp.event.ev.pos.vpos,
event 1981 uspace/lib/display/test/display.c resp.event.etype = wev_unfocus;
event 1982 uspace/lib/display/test/display.c resp.event.ev.unfocus.nfocus = 42;
event 1997 uspace/lib/display/test/display.c PCUT_ASSERT_INT_EQUALS(resp.event.etype,
event 1999 uspace/lib/display/test/display.c PCUT_ASSERT_INT_EQUALS(resp.event.ev.focus.nfocus,
event 2164 uspace/lib/display/test/display.c static void test_kbd_event(void *arg, kbd_event_t *event)
event 2169 uspace/lib/display/test/display.c resp->revent.ev.kbd = *event;
event 2177 uspace/lib/display/test/display.c static void test_pos_event(void *arg, pos_event_t *event)
event 2182 uspace/lib/display/test/display.c resp->revent.ev.pos = *event;
event 2353 uspace/lib/display/test/display.c display_wnd_ev_t *event)
event 2361 uspace/lib/display/test/display.c *event = resp->event;
event 87 uspace/lib/drv/generic/remote_audio_pcm.c const char *audio_pcm_event_str(pcm_event_t event)
event 97 uspace/lib/drv/generic/remote_audio_pcm.c if (event >= ARRAY_SIZE(events))
event 99 uspace/lib/drv/generic/remote_audio_pcm.c return events[event];
event 350 uspace/lib/drv/generic/remote_usbhid.c uint8_t *event = malloc(len);
event 351 uspace/lib/drv/generic/remote_usbhid.c if (event == NULL) {
event 359 uspace/lib/drv/generic/remote_usbhid.c rc = hid_iface->get_event(fun, event, len, &act_length, &event_nr, flags);
event 361 uspace/lib/drv/generic/remote_usbhid.c free(event);
event 372 uspace/lib/drv/generic/remote_usbhid.c async_data_read_finalize(&data, event, act_length);
event 374 uspace/lib/drv/generic/remote_usbhid.c free(event);
event 393 uspace/lib/ui/src/checkbox.c ui_evclaim_t ui_checkbox_pos_event(ui_checkbox_t *checkbox, pos_event_t *event)
event 398 uspace/lib/ui/src/checkbox.c pos.x = event->hpos;
event 399 uspace/lib/ui/src/checkbox.c pos.y = event->vpos;
event 403 uspace/lib/ui/src/checkbox.c switch (event->type) {
event 460 uspace/lib/ui/src/checkbox.c ui_evclaim_t ui_checkbox_ctl_pos_event(void *arg, pos_event_t *event)
event 464 uspace/lib/ui/src/checkbox.c return ui_checkbox_pos_event(checkbox, event);
event 100 uspace/lib/ui/src/control.c ui_evclaim_t ui_control_kbd_event(ui_control_t *control, kbd_event_t *event)
event 103 uspace/lib/ui/src/control.c return control->ops->kbd_event(control->ext, event);
event 124 uspace/lib/ui/src/control.c ui_evclaim_t ui_control_pos_event(ui_control_t *control, pos_event_t *event)
event 126 uspace/lib/ui/src/control.c return control->ops->pos_event(control->ext, event);
event 630 uspace/lib/ui/src/entry.c ui_evclaim_t ui_entry_key_press_unmod(ui_entry_t *entry, kbd_event_t *event)
event 632 uspace/lib/ui/src/entry.c assert(event->type == KEY_PRESS);
event 634 uspace/lib/ui/src/entry.c switch (event->key) {
event 675 uspace/lib/ui/src/entry.c ui_evclaim_t ui_entry_key_press_shift(ui_entry_t *entry, kbd_event_t *event)
event 677 uspace/lib/ui/src/entry.c assert(event->type == KEY_PRESS);
event 679 uspace/lib/ui/src/entry.c switch (event->key) {
event 709 uspace/lib/ui/src/entry.c ui_evclaim_t ui_entry_key_press_ctrl(ui_entry_t *entry, kbd_event_t *event)
event 711 uspace/lib/ui/src/entry.c assert(event->type == KEY_PRESS);
event 713 uspace/lib/ui/src/entry.c switch (event->key) {
event 736 uspace/lib/ui/src/entry.c ui_evclaim_t ui_entry_kbd_event(ui_entry_t *entry, kbd_event_t *event)
event 752 uspace/lib/ui/src/entry.c if (event->type == KEY_PRESS && event->key == KC_LSHIFT)
event 754 uspace/lib/ui/src/entry.c if (event->type == KEY_RELEASE && event->key == KC_LSHIFT)
event 756 uspace/lib/ui/src/entry.c if (event->type == KEY_PRESS && event->key == KC_RSHIFT)
event 758 uspace/lib/ui/src/entry.c if (event->type == KEY_RELEASE && event->key == KC_RSHIFT)
event 761 uspace/lib/ui/src/entry.c if (event->type == KEY_PRESS &&
event 762 uspace/lib/ui/src/entry.c (event->mods & (KM_CTRL | KM_ALT)) == 0 && event->c >= ' ') {
event 764 uspace/lib/ui/src/entry.c rc = chr_encode(event->c, buf, &off, sizeof(buf));
event 771 uspace/lib/ui/src/entry.c if (event->type == KEY_PRESS &&
event 772 uspace/lib/ui/src/entry.c (event->mods & (KM_CTRL | KM_ALT | KM_SHIFT)) == 0)
event 773 uspace/lib/ui/src/entry.c return ui_entry_key_press_unmod(entry, event);
event 775 uspace/lib/ui/src/entry.c if (event->type == KEY_PRESS &&
event 776 uspace/lib/ui/src/entry.c (event->mods & KM_SHIFT) != 0 &&
event 777 uspace/lib/ui/src/entry.c (event->mods & (KM_CTRL | KM_ALT)) == 0)
event 778 uspace/lib/ui/src/entry.c return ui_entry_key_press_shift(entry, event);
event 780 uspace/lib/ui/src/entry.c if (event->type == KEY_PRESS &&
event 781 uspace/lib/ui/src/entry.c (event->mods & KM_CTRL) != 0 &&
event 782 uspace/lib/ui/src/entry.c (event->mods & (KM_ALT | KM_SHIFT)) == 0)
event 783 uspace/lib/ui/src/entry.c return ui_entry_key_press_ctrl(entry, event);
event 794 uspace/lib/ui/src/entry.c ui_evclaim_t ui_entry_pos_event(ui_entry_t *entry, pos_event_t *event)
event 801 uspace/lib/ui/src/entry.c if (event->type == POS_UPDATE) {
event 802 uspace/lib/ui/src/entry.c pos.x = event->hpos;
event 803 uspace/lib/ui/src/entry.c pos.y = event->vpos;
event 830 uspace/lib/ui/src/entry.c if (event->type == POS_PRESS) {
event 831 uspace/lib/ui/src/entry.c pos.x = event->hpos;
event 832 uspace/lib/ui/src/entry.c pos.y = event->vpos;
event 855 uspace/lib/ui/src/entry.c if (event->type == POS_RELEASE) {
event 868 uspace/lib/ui/src/entry.c static ui_evclaim_t ui_entry_ctl_kbd_event(void *arg, kbd_event_t *event)
event 872 uspace/lib/ui/src/entry.c return ui_entry_kbd_event(entry, event);
event 881 uspace/lib/ui/src/entry.c static ui_evclaim_t ui_entry_ctl_pos_event(void *arg, pos_event_t *event)
event 885 uspace/lib/ui/src/entry.c return ui_entry_pos_event(entry, event);
event 402 uspace/lib/ui/src/filedialog.c kbd_event_t *event)
event 408 uspace/lib/ui/src/filedialog.c claim = ui_window_def_kbd(window, event);
event 412 uspace/lib/ui/src/filedialog.c if (event->type == KEY_PRESS &&
event 413 uspace/lib/ui/src/filedialog.c (event->mods & (KM_CTRL | KM_SHIFT | KM_ALT)) == 0) {
event 414 uspace/lib/ui/src/filedialog.c if (event->key == KC_ENTER) {
event 421 uspace/lib/ui/src/filedialog.c } else if (event->key == KC_ESCAPE) {
event 676 uspace/lib/ui/src/filelist.c ui_evclaim_t ui_file_list_ctl_kbd_event(void *arg, kbd_event_t *event)
event 680 uspace/lib/ui/src/filelist.c return ui_control_kbd_event(ui_list_ctl(flist->list), event);
event 689 uspace/lib/ui/src/filelist.c ui_evclaim_t ui_file_list_ctl_pos_event(void *arg, pos_event_t *event)
event 693 uspace/lib/ui/src/filelist.c return ui_control_pos_event(ui_list_ctl(flist->list), event);
event 221 uspace/lib/ui/src/fixed.c ui_evclaim_t ui_fixed_kbd_event(ui_fixed_t *fixed, kbd_event_t *event)
event 228 uspace/lib/ui/src/fixed.c claimed = ui_control_kbd_event(elem->control, event);
event 244 uspace/lib/ui/src/fixed.c ui_evclaim_t ui_fixed_pos_event(ui_fixed_t *fixed, pos_event_t *event)
event 251 uspace/lib/ui/src/fixed.c claimed = ui_control_pos_event(elem->control, event);
event 307 uspace/lib/ui/src/fixed.c ui_evclaim_t ui_fixed_ctl_kbd_event(void *arg, kbd_event_t *event)
event 311 uspace/lib/ui/src/fixed.c return ui_fixed_kbd_event(fixed, event);
event 320 uspace/lib/ui/src/fixed.c ui_evclaim_t ui_fixed_ctl_pos_event(void *arg, pos_event_t *event)
event 324 uspace/lib/ui/src/fixed.c return ui_fixed_pos_event(fixed, event);
event 233 uspace/lib/ui/src/image.c ui_evclaim_t ui_image_ctl_pos_event(void *arg, pos_event_t *event)
event 264 uspace/lib/ui/src/label.c ui_evclaim_t ui_label_ctl_pos_event(void *arg, pos_event_t *event)
event 347 uspace/lib/ui/src/list.c ui_evclaim_t ui_list_kbd_event(ui_list_t *list, kbd_event_t *event)
event 352 uspace/lib/ui/src/list.c if (event->type == KEY_PRESS) {
event 353 uspace/lib/ui/src/list.c if ((event->mods & (KM_CTRL | KM_ALT | KM_SHIFT)) == 0) {
event 354 uspace/lib/ui/src/list.c switch (event->key) {
event 391 uspace/lib/ui/src/list.c ui_evclaim_t ui_list_pos_event(ui_list_t *list, pos_event_t *event)
event 401 uspace/lib/ui/src/list.c claim = ui_scrollbar_pos_event(list->scrollbar, event);
event 407 uspace/lib/ui/src/list.c pos.x = event->hpos;
event 408 uspace/lib/ui/src/list.c pos.y = event->vpos;
event 412 uspace/lib/ui/src/list.c if (event->type == POS_PRESS || event->type == POS_DCLICK) {
event 425 uspace/lib/ui/src/list.c if (event->type == POS_PRESS) {
event 434 uspace/lib/ui/src/list.c if (event->type == POS_PRESS) {
event 444 uspace/lib/ui/src/list.c if (!list->active && event->type == POS_PRESS)
event 648 uspace/lib/ui/src/list.c ui_evclaim_t ui_list_ctl_kbd_event(void *arg, kbd_event_t *event)
event 652 uspace/lib/ui/src/list.c return ui_list_kbd_event(list, event);
event 661 uspace/lib/ui/src/list.c ui_evclaim_t ui_list_ctl_pos_event(void *arg, pos_event_t *event)
event 665 uspace/lib/ui/src/list.c return ui_list_pos_event(list, event);
event 378 uspace/lib/ui/src/menu.c pos_event_t *event)
event 387 uspace/lib/ui/src/menu.c epos.x = event->hpos;
event 388 uspace/lib/ui/src/menu.c epos.y = event->vpos;
event 394 uspace/lib/ui/src/menu.c claimed = ui_menu_entry_pos_event(mentry, &pos, event);
event 408 uspace/lib/ui/src/menu.c if (event->type == POS_PRESS)
event 421 uspace/lib/ui/src/menu.c ui_evclaim_t ui_menu_kbd_event(ui_menu_t *menu, kbd_event_t *event)
event 423 uspace/lib/ui/src/menu.c if (event->type == KEY_PRESS && (event->mods &
event 425 uspace/lib/ui/src/menu.c ui_menu_key_press_unmod(menu, event);
event 428 uspace/lib/ui/src/menu.c if (event->type == KEY_PRESS && (event->mods & KM_ALT) != 0 &&
event 429 uspace/lib/ui/src/menu.c (event->mods & (KM_CTRL | KM_SHIFT)) == 0 && event->c != '\0')
event 430 uspace/lib/ui/src/menu.c ui_menu_press_accel(menu, event->c, event->kbd_id);
event 514 uspace/lib/ui/src/menu.c static void ui_menu_key_press_unmod(ui_menu_t *menu, kbd_event_t *event)
event 519 uspace/lib/ui/src/menu.c switch (event->key) {
event 524 uspace/lib/ui/src/menu.c ui_menu_left(menu, event->kbd_id);
event 527 uspace/lib/ui/src/menu.c ui_menu_right(menu, event->kbd_id);
event 541 uspace/lib/ui/src/menu.c if (event->c != '\0') {
event 545 uspace/lib/ui/src/menu.c if (c == (char32_t)tolower(event->c) &&
event 576 uspace/lib/ui/src/menu.c static void ui_menu_popup_kbd(ui_popup_t *popup, void *arg, kbd_event_t *event)
event 581 uspace/lib/ui/src/menu.c ui_menu_kbd_event(menu, event);
event 590 uspace/lib/ui/src/menu.c static void ui_menu_popup_pos(ui_popup_t *popup, void *arg, pos_event_t *event)
event 599 uspace/lib/ui/src/menu.c ui_menu_pos_event(menu, &spos, event);
event 445 uspace/lib/ui/src/menubar.c ui_evclaim_t ui_menu_bar_key_press_unmod(ui_menu_bar_t *mbar, kbd_event_t *event)
event 449 uspace/lib/ui/src/menubar.c if (event->key == KC_F10) {
event 457 uspace/lib/ui/src/menubar.c if (event->key == KC_ESCAPE) {
event 462 uspace/lib/ui/src/menubar.c if (event->key == KC_LEFT)
event 463 uspace/lib/ui/src/menubar.c ui_menu_bar_left(mbar, event->kbd_id);
event 465 uspace/lib/ui/src/menubar.c if (event->key == KC_RIGHT)
event 466 uspace/lib/ui/src/menubar.c ui_menu_bar_right(mbar, event->kbd_id);
event 468 uspace/lib/ui/src/menubar.c if (event->key == KC_ENTER || event->key == KC_DOWN) {
event 473 uspace/lib/ui/src/menubar.c ui_menu_dd_open(mbar->selected, &rect, event->kbd_id);
event 479 uspace/lib/ui/src/menubar.c if (event->c != '\0' && !ui_menu_dd_is_open(mbar->selected)) {
event 481 uspace/lib/ui/src/menubar.c ui_menu_bar_press_accel(mbar, event->c, event->kbd_id);
event 493 uspace/lib/ui/src/menubar.c ui_evclaim_t ui_menu_bar_kbd_event(ui_menu_bar_t *mbar, kbd_event_t *event)
event 495 uspace/lib/ui/src/menubar.c if ((event->mods & KM_ALT) != 0 &&
event 496 uspace/lib/ui/src/menubar.c (event->mods & (KM_CTRL | KM_SHIFT)) == 0 && event->c != '\0') {
event 498 uspace/lib/ui/src/menubar.c ui_menu_bar_press_accel(mbar, event->c, event->kbd_id);
event 501 uspace/lib/ui/src/menubar.c if (event->type == KEY_PRESS && (event->mods &
event 503 uspace/lib/ui/src/menubar.c return ui_menu_bar_key_press_unmod(mbar, event);
event 543 uspace/lib/ui/src/menubar.c ui_evclaim_t ui_menu_bar_pos_event(ui_menu_bar_t *mbar, pos_event_t *event)
event 557 uspace/lib/ui/src/menubar.c ppos.x = event->hpos;
event 558 uspace/lib/ui/src/menubar.c ppos.y = event->vpos;
event 567 uspace/lib/ui/src/menubar.c pos_id = event->pos_id;
event 579 uspace/lib/ui/src/menubar.c if (event->type == POS_PRESS &&
event 702 uspace/lib/ui/src/menubar.c ui_evclaim_t ui_menu_bar_ctl_kbd_event(void *arg, kbd_event_t *event)
event 706 uspace/lib/ui/src/menubar.c return ui_menu_bar_kbd_event(mbar, event);
event 715 uspace/lib/ui/src/menubar.c ui_evclaim_t ui_menu_bar_ctl_pos_event(void *arg, pos_event_t *event)
event 719 uspace/lib/ui/src/menubar.c return ui_menu_bar_pos_event(mbar, event);
event 570 uspace/lib/ui/src/menuentry.c gfx_coord2_t *pos, pos_event_t *event)
event 576 uspace/lib/ui/src/menuentry.c ppos.x = event->hpos;
event 577 uspace/lib/ui/src/menuentry.c ppos.y = event->vpos;
event 582 uspace/lib/ui/src/menuentry.c switch (event->type) {
event 608 uspace/lib/ui/src/pbutton.c ui_evclaim_t ui_pbutton_pos_event(ui_pbutton_t *pbutton, pos_event_t *event)
event 613 uspace/lib/ui/src/pbutton.c pos.x = event->hpos;
event 614 uspace/lib/ui/src/pbutton.c pos.y = event->vpos;
event 618 uspace/lib/ui/src/pbutton.c switch (event->type) {
event 675 uspace/lib/ui/src/pbutton.c ui_evclaim_t ui_pbutton_ctl_pos_event(void *arg, pos_event_t *event)
event 679 uspace/lib/ui/src/pbutton.c return ui_pbutton_pos_event(pbutton, event);
event 222 uspace/lib/ui/src/popup.c kbd_event_t *event)
event 227 uspace/lib/ui/src/popup.c popup->idev_id = event->kbd_id;
event 230 uspace/lib/ui/src/popup.c popup->cb->kbd(popup, popup->arg, event);
event 240 uspace/lib/ui/src/popup.c pos_event_t *event)
event 245 uspace/lib/ui/src/popup.c popup->idev_id = event->pos_id;
event 248 uspace/lib/ui/src/popup.c popup->cb->pos(popup, popup->arg, event);
event 326 uspace/lib/ui/src/promptdialog.c kbd_event_t *event)
event 331 uspace/lib/ui/src/promptdialog.c if (event->type == KEY_PRESS &&
event 332 uspace/lib/ui/src/promptdialog.c (event->mods & (KM_CTRL | KM_SHIFT | KM_ALT)) == 0) {
event 333 uspace/lib/ui/src/promptdialog.c if (event->key == KC_ENTER) {
event 340 uspace/lib/ui/src/promptdialog.c } else if (event->key == KC_ESCAPE) {
event 349 uspace/lib/ui/src/promptdialog.c ui_window_def_kbd(window, event);
event 461 uspace/lib/ui/src/rbutton.c ui_evclaim_t ui_rbutton_pos_event(ui_rbutton_t *rbutton, pos_event_t *event)
event 466 uspace/lib/ui/src/rbutton.c pos.x = event->hpos;
event 467 uspace/lib/ui/src/rbutton.c pos.y = event->vpos;
event 471 uspace/lib/ui/src/rbutton.c switch (event->type) {
event 528 uspace/lib/ui/src/rbutton.c ui_evclaim_t ui_rbutton_ctl_pos_event(void *arg, pos_event_t *event)
event 532 uspace/lib/ui/src/rbutton.c return ui_rbutton_pos_event(rbutton, event);
event 904 uspace/lib/ui/src/scrollbar.c ui_evclaim_t ui_scrollbar_pos_event(ui_scrollbar_t *scrollbar, pos_event_t *event)
event 912 uspace/lib/ui/src/scrollbar.c pos.x = event->hpos;
event 913 uspace/lib/ui/src/scrollbar.c pos.y = event->vpos;
event 915 uspace/lib/ui/src/scrollbar.c claimed = ui_pbutton_pos_event(scrollbar->up_btn, event);
event 919 uspace/lib/ui/src/scrollbar.c claimed = ui_pbutton_pos_event(scrollbar->down_btn, event);
event 923 uspace/lib/ui/src/scrollbar.c switch (event->type) {
event 1087 uspace/lib/ui/src/scrollbar.c ui_evclaim_t ui_scrollbar_ctl_pos_event(void *arg, pos_event_t *event)
event 1091 uspace/lib/ui/src/scrollbar.c return ui_scrollbar_pos_event(scrollbar, event);
event 361 uspace/lib/ui/src/selectdialog.c kbd_event_t *event)
event 367 uspace/lib/ui/src/selectdialog.c if (event->type == KEY_PRESS &&
event 368 uspace/lib/ui/src/selectdialog.c (event->mods & (KM_CTRL | KM_SHIFT | KM_ALT)) == 0) {
event 369 uspace/lib/ui/src/selectdialog.c if (event->key == KC_ENTER) {
event 377 uspace/lib/ui/src/selectdialog.c } else if (event->key == KC_ESCAPE) {
event 386 uspace/lib/ui/src/selectdialog.c ui_window_def_kbd(window, event);
event 504 uspace/lib/ui/src/slider.c ui_evclaim_t ui_slider_pos_event(ui_slider_t *slider, pos_event_t *event)
event 509 uspace/lib/ui/src/slider.c pos.x = event->hpos;
event 510 uspace/lib/ui/src/slider.c pos.y = event->vpos;
event 512 uspace/lib/ui/src/slider.c switch (event->type) {
event 566 uspace/lib/ui/src/slider.c ui_evclaim_t ui_slider_ctl_pos_event(void *arg, pos_event_t *event)
event 570 uspace/lib/ui/src/slider.c return ui_slider_pos_event(slider, event);
event 628 uspace/lib/ui/src/tab.c ui_evclaim_t ui_tab_pos_event(ui_tab_t *tab, pos_event_t *event)
event 634 uspace/lib/ui/src/tab.c epos.x = event->hpos;
event 635 uspace/lib/ui/src/tab.c epos.y = event->vpos;
event 640 uspace/lib/ui/src/tab.c if (event->type == POS_PRESS && event->btn_num == 1 &&
event 650 uspace/lib/ui/src/tab.c return ui_control_pos_event(tab->content, event);
event 661 uspace/lib/ui/src/tab.c ui_evclaim_t ui_tab_kbd_event(ui_tab_t *tab, kbd_event_t *event)
event 665 uspace/lib/ui/src/tab.c return ui_control_kbd_event(tab->content, event);
event 188 uspace/lib/ui/src/tabset.c ui_evclaim_t ui_tab_set_kbd_event(ui_tab_set_t *tabset, kbd_event_t *event)
event 195 uspace/lib/ui/src/tabset.c claim = ui_tab_kbd_event(tab, event);
event 211 uspace/lib/ui/src/tabset.c ui_evclaim_t ui_tab_set_pos_event(ui_tab_set_t *tabset, pos_event_t *event)
event 218 uspace/lib/ui/src/tabset.c claim = ui_tab_pos_event(tab, event);
event 257 uspace/lib/ui/src/tabset.c static ui_evclaim_t ui_tab_set_ctl_kbd_event(void *arg, kbd_event_t *event)
event 261 uspace/lib/ui/src/tabset.c return ui_tab_set_kbd_event(tabset, event);
event 270 uspace/lib/ui/src/tabset.c static ui_evclaim_t ui_tab_set_ctl_pos_event(void *arg, pos_event_t *event)
event 274 uspace/lib/ui/src/tabset.c return ui_tab_set_pos_event(tabset, event);
event 78 uspace/lib/ui/src/testctl.c static ui_evclaim_t test_ctl_kbd_event(void *arg, kbd_event_t *event)
event 84 uspace/lib/ui/src/testctl.c resp->kevent = *event;
event 89 uspace/lib/ui/src/testctl.c static ui_evclaim_t test_ctl_pos_event(void *arg, pos_event_t *event)
event 95 uspace/lib/ui/src/testctl.c resp->pevent = *event;
event 328 uspace/lib/ui/src/ui.c static void ui_cons_event_process(ui_t *ui, cons_event_t *event)
event 338 uspace/lib/ui/src/ui.c switch (event->type) {
event 341 uspace/lib/ui/src/ui.c ui_window_send_kbd(awnd, &event->ev.key);
event 345 uspace/lib/ui/src/ui.c pos = event->ev.pos;
event 376 uspace/lib/ui/src/ui.c cons_event_t event;
event 388 uspace/lib/ui/src/ui.c &event, &timeout);
event 392 uspace/lib/ui/src/ui.c ui_cons_event_process(ui, &event);
event 1043 uspace/lib/ui/src/wdecor.c ui_evclaim_t ui_wdecor_kbd_event(ui_wdecor_t *wdecor, kbd_event_t *event)
event 1045 uspace/lib/ui/src/wdecor.c if (event->type == KEY_PRESS && (event->mods & (KM_CTRL | KM_ALT |
event 1047 uspace/lib/ui/src/wdecor.c if (event->key == KC_F10) {
event 1049 uspace/lib/ui/src/wdecor.c ui_wdecor_sysmenu_open(wdecor, event->kbd_id);
event 1055 uspace/lib/ui/src/wdecor.c if (event->type == KEY_PRESS && (event->mods & (KM_CTRL | KM_ALT |
event 1057 uspace/lib/ui/src/wdecor.c switch (event->key) {
event 1062 uspace/lib/ui/src/wdecor.c ui_wdecor_sysmenu_left(wdecor, event->kbd_id);
event 1065 uspace/lib/ui/src/wdecor.c ui_wdecor_sysmenu_right(wdecor, event->kbd_id);
event 1068 uspace/lib/ui/src/wdecor.c ui_wdecor_sysmenu_open(wdecor, event->kbd_id);
event 1074 uspace/lib/ui/src/wdecor.c if (event->c != '\0') {
event 1076 uspace/lib/ui/src/wdecor.c ui_wdecor_sysmenu_accel(wdecor, event->c,
event 1077 uspace/lib/ui/src/wdecor.c event->kbd_id);
event 1089 uspace/lib/ui/src/wdecor.c void ui_wdecor_frame_pos_event(ui_wdecor_t *wdecor, pos_event_t *event)
event 1096 uspace/lib/ui/src/wdecor.c pos.x = event->hpos;
event 1097 uspace/lib/ui/src/wdecor.c pos.y = event->vpos;
event 1098 uspace/lib/ui/src/wdecor.c pos_id = event->pos_id;
event 1108 uspace/lib/ui/src/wdecor.c if (rsztype != ui_wr_none && event->type == POS_PRESS)
event 1118 uspace/lib/ui/src/wdecor.c ui_evclaim_t ui_wdecor_pos_event(ui_wdecor_t *wdecor, pos_event_t *event)
event 1125 uspace/lib/ui/src/wdecor.c pos.x = event->hpos;
event 1126 uspace/lib/ui/src/wdecor.c pos.y = event->vpos;
event 1127 uspace/lib/ui/src/wdecor.c pos_id = event->pos_id;
event 1133 uspace/lib/ui/src/wdecor.c if (event->type == POS_PRESS &&
event 1136 uspace/lib/ui/src/wdecor.c ui_wdecor_sysmenu_open(wdecor, event->pos_id);
event 1142 uspace/lib/ui/src/wdecor.c claim = ui_pbutton_pos_event(wdecor->btn_min, event);
event 1148 uspace/lib/ui/src/wdecor.c claim = ui_pbutton_pos_event(wdecor->btn_max, event);
event 1154 uspace/lib/ui/src/wdecor.c claim = ui_pbutton_pos_event(wdecor->btn_close, event);
event 1159 uspace/lib/ui/src/wdecor.c ui_wdecor_frame_pos_event(wdecor, event);
event 1162 uspace/lib/ui/src/wdecor.c if (event->type == POS_PRESS &&
event 1015 uspace/lib/ui/src/window.c static void dwnd_pos_event(void *arg, pos_event_t *event)
event 1027 uspace/lib/ui/src/window.c claim = ui_wdecor_pos_event(window->wdecor, event);
event 1033 uspace/lib/ui/src/window.c ui_window_send_pos(window, event);
event 440 uspace/lib/ui/test/checkbox.c pos_event_t event;
event 463 uspace/lib/ui/test/checkbox.c event.type = POS_PRESS;
event 464 uspace/lib/ui/test/checkbox.c event.hpos = 9;
event 465 uspace/lib/ui/test/checkbox.c event.vpos = 20;
event 466 uspace/lib/ui/test/checkbox.c claim = ui_checkbox_pos_event(checkbox, &event);
event 471 uspace/lib/ui/test/checkbox.c event.type = POS_PRESS;
event 472 uspace/lib/ui/test/checkbox.c event.hpos = 10;
event 473 uspace/lib/ui/test/checkbox.c event.vpos = 20;
event 474 uspace/lib/ui/test/checkbox.c claim = ui_checkbox_pos_event(checkbox, &event);
event 479 uspace/lib/ui/test/checkbox.c event.type = POS_RELEASE;
event 480 uspace/lib/ui/test/checkbox.c event.hpos = 9;
event 481 uspace/lib/ui/test/checkbox.c event.vpos = 20;
event 482 uspace/lib/ui/test/checkbox.c claim = ui_checkbox_pos_event(checkbox, &event);
event 501 uspace/lib/ui/test/checkbox.c pos_event_t event;
event 524 uspace/lib/ui/test/checkbox.c event.type = POS_UPDATE;
event 525 uspace/lib/ui/test/checkbox.c event.hpos = 9;
event 526 uspace/lib/ui/test/checkbox.c event.vpos = 20;
event 527 uspace/lib/ui/test/checkbox.c ui_checkbox_pos_event(checkbox, &event);
event 531 uspace/lib/ui/test/checkbox.c event.type = POS_UPDATE;
event 532 uspace/lib/ui/test/checkbox.c event.hpos = 10;
event 533 uspace/lib/ui/test/checkbox.c event.vpos = 20;
event 534 uspace/lib/ui/test/checkbox.c ui_checkbox_pos_event(checkbox, &event);
event 538 uspace/lib/ui/test/checkbox.c event.type = POS_UPDATE;
event 539 uspace/lib/ui/test/checkbox.c event.hpos = 9;
event 540 uspace/lib/ui/test/checkbox.c event.vpos = 20;
event 541 uspace/lib/ui/test/checkbox.c ui_checkbox_pos_event(checkbox, &event);
event 114 uspace/lib/ui/test/control.c kbd_event_t event;
event 124 uspace/lib/ui/test/control.c event.type = KEY_PRESS;
event 125 uspace/lib/ui/test/control.c event.key = KC_2;
event 126 uspace/lib/ui/test/control.c event.mods = KM_LSHIFT;
event 127 uspace/lib/ui/test/control.c event.c = '@';
event 129 uspace/lib/ui/test/control.c claim = ui_control_kbd_event(ui_test_ctl_ctl(testctl), &event);
event 132 uspace/lib/ui/test/control.c PCUT_ASSERT_EQUALS(resp.kevent.type, event.type);
event 133 uspace/lib/ui/test/control.c PCUT_ASSERT_INT_EQUALS(resp.kevent.key, event.key);
event 134 uspace/lib/ui/test/control.c PCUT_ASSERT_INT_EQUALS(resp.kevent.mods, event.mods);
event 135 uspace/lib/ui/test/control.c PCUT_ASSERT_INT_EQUALS(resp.kevent.c, event.c);
event 145 uspace/lib/ui/test/control.c pos_event_t event;
event 155 uspace/lib/ui/test/control.c event.pos_id = 1;
event 156 uspace/lib/ui/test/control.c event.type = POS_PRESS;
event 157 uspace/lib/ui/test/control.c event.btn_num = 2;
event 158 uspace/lib/ui/test/control.c event.hpos = 3;
event 159 uspace/lib/ui/test/control.c event.vpos = 4;
event 161 uspace/lib/ui/test/control.c claim = ui_control_pos_event(ui_test_ctl_ctl(testctl), &event);
event 164 uspace/lib/ui/test/control.c PCUT_ASSERT_INT_EQUALS(resp.pevent.pos_id, event.pos_id);
event 165 uspace/lib/ui/test/control.c PCUT_ASSERT_EQUALS(resp.pevent.type, event.type);
event 166 uspace/lib/ui/test/control.c PCUT_ASSERT_INT_EQUALS(resp.pevent.btn_num, event.btn_num);
event 167 uspace/lib/ui/test/control.c PCUT_ASSERT_INT_EQUALS(resp.pevent.hpos, event.hpos);
event 168 uspace/lib/ui/test/control.c PCUT_ASSERT_INT_EQUALS(resp.pevent.vpos, event.vpos);
event 205 uspace/lib/ui/test/fixed.c pos_event_t event;
event 220 uspace/lib/ui/test/fixed.c event.pos_id = 1;
event 221 uspace/lib/ui/test/fixed.c event.type = POS_PRESS;
event 222 uspace/lib/ui/test/fixed.c event.btn_num = 2;
event 223 uspace/lib/ui/test/fixed.c event.hpos = 3;
event 224 uspace/lib/ui/test/fixed.c event.vpos = 4;
event 226 uspace/lib/ui/test/fixed.c claim = ui_fixed_pos_event(fixed, &event);
event 229 uspace/lib/ui/test/fixed.c PCUT_ASSERT_INT_EQUALS(resp.pevent.pos_id, event.pos_id);
event 230 uspace/lib/ui/test/fixed.c PCUT_ASSERT_EQUALS(resp.pevent.type, event.type);
event 231 uspace/lib/ui/test/fixed.c PCUT_ASSERT_INT_EQUALS(resp.pevent.btn_num, event.btn_num);
event 232 uspace/lib/ui/test/fixed.c PCUT_ASSERT_INT_EQUALS(resp.pevent.hpos, event.hpos);
event 233 uspace/lib/ui/test/fixed.c PCUT_ASSERT_INT_EQUALS(resp.pevent.vpos, event.vpos);
event 279 uspace/lib/ui/test/fixed.c static ui_evclaim_t test_ctl_pos_event(void *arg, pos_event_t *event)
event 284 uspace/lib/ui/test/fixed.c resp->pevent = *event;
event 288 uspace/lib/ui/test/list.c kbd_event_t event;
event 305 uspace/lib/ui/test/list.c event.type = KEY_PRESS;
event 306 uspace/lib/ui/test/list.c event.key = KC_ESCAPE;
event 307 uspace/lib/ui/test/list.c event.mods = 0;
event 308 uspace/lib/ui/test/list.c event.c = '\0';
event 310 uspace/lib/ui/test/list.c claimed = ui_list_kbd_event(list, &event);
event 329 uspace/lib/ui/test/list.c event.type = KEY_PRESS;
event 330 uspace/lib/ui/test/list.c event.key = KC_ESCAPE;
event 331 uspace/lib/ui/test/list.c event.mods = 0;
event 332 uspace/lib/ui/test/list.c event.c = '\0';
event 334 uspace/lib/ui/test/list.c claimed = ui_list_kbd_event(list, &event);
event 350 uspace/lib/ui/test/list.c pos_event_t event;
event 395 uspace/lib/ui/test/list.c event.pos_id = 0;
event 396 uspace/lib/ui/test/list.c event.type = POS_PRESS;
event 397 uspace/lib/ui/test/list.c event.btn_num = 1;
event 400 uspace/lib/ui/test/list.c event.hpos = 20;
event 401 uspace/lib/ui/test/list.c event.vpos = 40;
event 403 uspace/lib/ui/test/list.c claimed = ui_list_pos_event(list, &event);
event 411 uspace/lib/ui/test/list.c event.hpos = 20;
event 412 uspace/lib/ui/test/list.c event.vpos = 20;
event 413 uspace/lib/ui/test/list.c claimed = ui_list_pos_event(list, &event);
event 424 uspace/lib/ui/test/menu.c pos_event_t event;
event 443 uspace/lib/ui/test/menu.c event.type = POS_PRESS;
event 444 uspace/lib/ui/test/menu.c event.hpos = 0;
event 445 uspace/lib/ui/test/menu.c event.vpos = 0;
event 446 uspace/lib/ui/test/menu.c claimed = ui_menu_pos_event(menu, &pos, &event);
event 192 uspace/lib/ui/test/menubar.c kbd_event_t event;
event 220 uspace/lib/ui/test/menubar.c event.type = KEY_PRESS;
event 221 uspace/lib/ui/test/menubar.c event.key = KC_F10;
event 222 uspace/lib/ui/test/menubar.c event.mods = 0;
event 223 uspace/lib/ui/test/menubar.c claimed = ui_menu_bar_kbd_event(mbar, &event);
event 290 uspace/lib/ui/test/menubar.c pos_event_t event;
event 318 uspace/lib/ui/test/menubar.c event.type = POS_PRESS;
event 319 uspace/lib/ui/test/menubar.c event.hpos = 4;
event 320 uspace/lib/ui/test/menubar.c event.vpos = 4;
event 321 uspace/lib/ui/test/menubar.c claimed = ui_menu_bar_pos_event(mbar, &event);
event 723 uspace/lib/ui/test/menuentry.c pos_event_t event;
event 759 uspace/lib/ui/test/menuentry.c event.type = POS_PRESS;
event 760 uspace/lib/ui/test/menuentry.c event.hpos = 4;
event 761 uspace/lib/ui/test/menuentry.c event.vpos = 4;
event 763 uspace/lib/ui/test/menuentry.c ui_menu_entry_pos_event(mentry, &pos, &event);
event 783 uspace/lib/ui/test/menuentry.c pos_event_t event;
event 819 uspace/lib/ui/test/menuentry.c event.type = POS_PRESS;
event 820 uspace/lib/ui/test/menuentry.c event.hpos = 40;
event 821 uspace/lib/ui/test/menuentry.c event.vpos = 20;
event 823 uspace/lib/ui/test/menuentry.c ui_menu_entry_pos_event(mentry, &pos, &event);
event 843 uspace/lib/ui/test/menuentry.c pos_event_t event;
event 882 uspace/lib/ui/test/menuentry.c event.type = POS_UPDATE;
event 883 uspace/lib/ui/test/menuentry.c event.hpos = 40;
event 884 uspace/lib/ui/test/menuentry.c event.vpos = 20;
event 886 uspace/lib/ui/test/menuentry.c ui_menu_entry_pos_event(mentry, &pos, &event);
event 906 uspace/lib/ui/test/menuentry.c pos_event_t event;
event 939 uspace/lib/ui/test/menuentry.c event.type = POS_UPDATE;
event 940 uspace/lib/ui/test/menuentry.c event.hpos = 4;
event 941 uspace/lib/ui/test/menuentry.c event.vpos = 4;
event 946 uspace/lib/ui/test/menuentry.c ui_menu_entry_pos_event(mentry, &pos, &event);
event 516 uspace/lib/ui/test/pbutton.c pos_event_t event;
event 539 uspace/lib/ui/test/pbutton.c event.type = POS_PRESS;
event 540 uspace/lib/ui/test/pbutton.c event.hpos = 9;
event 541 uspace/lib/ui/test/pbutton.c event.vpos = 20;
event 542 uspace/lib/ui/test/pbutton.c claim = ui_pbutton_pos_event(pbutton, &event);
event 547 uspace/lib/ui/test/pbutton.c event.type = POS_PRESS;
event 548 uspace/lib/ui/test/pbutton.c event.hpos = 10;
event 549 uspace/lib/ui/test/pbutton.c event.vpos = 20;
event 550 uspace/lib/ui/test/pbutton.c claim = ui_pbutton_pos_event(pbutton, &event);
event 555 uspace/lib/ui/test/pbutton.c event.type = POS_RELEASE;
event 556 uspace/lib/ui/test/pbutton.c event.hpos = 9;
event 557 uspace/lib/ui/test/pbutton.c event.vpos = 20;
event 558 uspace/lib/ui/test/pbutton.c claim = ui_pbutton_pos_event(pbutton, &event);
event 577 uspace/lib/ui/test/pbutton.c pos_event_t event;
event 600 uspace/lib/ui/test/pbutton.c event.type = POS_UPDATE;
event 601 uspace/lib/ui/test/pbutton.c event.hpos = 9;
event 602 uspace/lib/ui/test/pbutton.c event.vpos = 20;
event 603 uspace/lib/ui/test/pbutton.c ui_pbutton_pos_event(pbutton, &event);
event 607 uspace/lib/ui/test/pbutton.c event.type = POS_UPDATE;
event 608 uspace/lib/ui/test/pbutton.c event.hpos = 10;
event 609 uspace/lib/ui/test/pbutton.c event.vpos = 20;
event 610 uspace/lib/ui/test/pbutton.c ui_pbutton_pos_event(pbutton, &event);
event 614 uspace/lib/ui/test/pbutton.c event.type = POS_UPDATE;
event 615 uspace/lib/ui/test/pbutton.c event.hpos = 9;
event 616 uspace/lib/ui/test/pbutton.c event.vpos = 20;
event 617 uspace/lib/ui/test/pbutton.c ui_pbutton_pos_event(pbutton, &event);
event 301 uspace/lib/ui/test/popup.c kbd_event_t *event)
event 306 uspace/lib/ui/test/popup.c resp->kbd_event = *event;
event 318 uspace/lib/ui/test/popup.c pos_event_t *event)
event 323 uspace/lib/ui/test/popup.c resp->pos_event = *event;
event 334 uspace/lib/ui/test/popup.c static ui_evclaim_t test_ctl_pos_event(void *arg, pos_event_t *event)
event 339 uspace/lib/ui/test/popup.c resp->pos_event = *event;
event 474 uspace/lib/ui/test/rbutton.c pos_event_t event;
event 500 uspace/lib/ui/test/rbutton.c event.type = POS_PRESS;
event 501 uspace/lib/ui/test/rbutton.c event.hpos = 9;
event 502 uspace/lib/ui/test/rbutton.c event.vpos = 20;
event 503 uspace/lib/ui/test/rbutton.c claim = ui_rbutton_pos_event(rbutton, &event);
event 508 uspace/lib/ui/test/rbutton.c event.type = POS_PRESS;
event 509 uspace/lib/ui/test/rbutton.c event.hpos = 10;
event 510 uspace/lib/ui/test/rbutton.c event.vpos = 20;
event 511 uspace/lib/ui/test/rbutton.c claim = ui_rbutton_pos_event(rbutton, &event);
event 516 uspace/lib/ui/test/rbutton.c event.type = POS_RELEASE;
event 517 uspace/lib/ui/test/rbutton.c event.hpos = 9;
event 518 uspace/lib/ui/test/rbutton.c event.vpos = 20;
event 519 uspace/lib/ui/test/rbutton.c claim = ui_rbutton_pos_event(rbutton, &event);
event 540 uspace/lib/ui/test/rbutton.c pos_event_t event;
event 566 uspace/lib/ui/test/rbutton.c event.type = POS_UPDATE;
event 567 uspace/lib/ui/test/rbutton.c event.hpos = 9;
event 568 uspace/lib/ui/test/rbutton.c event.vpos = 20;
event 569 uspace/lib/ui/test/rbutton.c ui_rbutton_pos_event(rbutton, &event);
event 573 uspace/lib/ui/test/rbutton.c event.type = POS_UPDATE;
event 574 uspace/lib/ui/test/rbutton.c event.hpos = 10;
event 575 uspace/lib/ui/test/rbutton.c event.vpos = 20;
event 576 uspace/lib/ui/test/rbutton.c ui_rbutton_pos_event(rbutton, &event);
event 580 uspace/lib/ui/test/rbutton.c event.type = POS_UPDATE;
event 581 uspace/lib/ui/test/rbutton.c event.hpos = 9;
event 582 uspace/lib/ui/test/rbutton.c event.vpos = 20;
event 583 uspace/lib/ui/test/rbutton.c ui_rbutton_pos_event(rbutton, &event);
event 984 uspace/lib/ui/test/scrollbar.c pos_event_t event;
event 1010 uspace/lib/ui/test/scrollbar.c event.type = POS_PRESS;
event 1011 uspace/lib/ui/test/scrollbar.c event.hpos = 1;
event 1012 uspace/lib/ui/test/scrollbar.c event.vpos = 2;
event 1013 uspace/lib/ui/test/scrollbar.c claim = ui_scrollbar_pos_event(scrollbar, &event);
event 1018 uspace/lib/ui/test/scrollbar.c event.type = POS_PRESS;
event 1019 uspace/lib/ui/test/scrollbar.c event.hpos = 50;
event 1020 uspace/lib/ui/test/scrollbar.c event.vpos = 20;
event 1021 uspace/lib/ui/test/scrollbar.c claim = ui_scrollbar_pos_event(scrollbar, &event);
event 1026 uspace/lib/ui/test/scrollbar.c event.type = POS_RELEASE;
event 1027 uspace/lib/ui/test/scrollbar.c event.hpos = 41;
event 1028 uspace/lib/ui/test/scrollbar.c event.vpos = 32;
event 1029 uspace/lib/ui/test/scrollbar.c claim = ui_scrollbar_pos_event(scrollbar, &event);
event 1046 uspace/lib/ui/test/scrollbar.c pos_event_t event;
event 1072 uspace/lib/ui/test/scrollbar.c event.type = POS_PRESS;
event 1073 uspace/lib/ui/test/scrollbar.c event.hpos = 30;
event 1074 uspace/lib/ui/test/scrollbar.c event.vpos = 20;
event 1075 uspace/lib/ui/test/scrollbar.c claim = ui_scrollbar_pos_event(scrollbar, &event);
event 1092 uspace/lib/ui/test/scrollbar.c pos_event_t event;
event 1121 uspace/lib/ui/test/scrollbar.c event.type = POS_PRESS;
event 1122 uspace/lib/ui/test/scrollbar.c event.hpos = 50;
event 1123 uspace/lib/ui/test/scrollbar.c event.vpos = 20;
event 1124 uspace/lib/ui/test/scrollbar.c claim = ui_scrollbar_pos_event(scrollbar, &event);
event 1129 uspace/lib/ui/test/scrollbar.c event.type = POS_RELEASE;
event 1130 uspace/lib/ui/test/scrollbar.c event.hpos = 41;
event 1131 uspace/lib/ui/test/scrollbar.c event.vpos = 32;
event 1132 uspace/lib/ui/test/scrollbar.c claim = ui_scrollbar_pos_event(scrollbar, &event);
event 1149 uspace/lib/ui/test/scrollbar.c pos_event_t event;
event 1175 uspace/lib/ui/test/scrollbar.c event.type = POS_PRESS;
event 1176 uspace/lib/ui/test/scrollbar.c event.hpos = 70;
event 1177 uspace/lib/ui/test/scrollbar.c event.vpos = 20;
event 1178 uspace/lib/ui/test/scrollbar.c claim = ui_scrollbar_pos_event(scrollbar, &event);
event 1183 uspace/lib/ui/test/scrollbar.c event.type = POS_RELEASE;
event 1184 uspace/lib/ui/test/scrollbar.c event.hpos = 41;
event 1185 uspace/lib/ui/test/scrollbar.c event.vpos = 32;
event 1186 uspace/lib/ui/test/scrollbar.c claim = ui_scrollbar_pos_event(scrollbar, &event);
event 1203 uspace/lib/ui/test/scrollbar.c pos_event_t event;
event 1229 uspace/lib/ui/test/scrollbar.c event.type = POS_PRESS;
event 1230 uspace/lib/ui/test/scrollbar.c event.hpos = 90;
event 1231 uspace/lib/ui/test/scrollbar.c event.vpos = 20;
event 1232 uspace/lib/ui/test/scrollbar.c claim = ui_scrollbar_pos_event(scrollbar, &event);
event 371 uspace/lib/ui/test/slider.c pos_event_t event;
event 394 uspace/lib/ui/test/slider.c event.type = POS_PRESS;
event 395 uspace/lib/ui/test/slider.c event.hpos = 1;
event 396 uspace/lib/ui/test/slider.c event.vpos = 2;
event 397 uspace/lib/ui/test/slider.c claim = ui_slider_pos_event(slider, &event);
event 402 uspace/lib/ui/test/slider.c event.type = POS_PRESS;
event 403 uspace/lib/ui/test/slider.c event.hpos = 11;
event 404 uspace/lib/ui/test/slider.c event.vpos = 22;
event 405 uspace/lib/ui/test/slider.c claim = ui_slider_pos_event(slider, &event);
event 410 uspace/lib/ui/test/slider.c event.type = POS_RELEASE;
event 411 uspace/lib/ui/test/slider.c event.hpos = 41;
event 412 uspace/lib/ui/test/slider.c event.vpos = 32;
event 413 uspace/lib/ui/test/slider.c claim = ui_slider_pos_event(slider, &event);
event 442 uspace/lib/ui/test/tab.c kbd_event_t event;
event 464 uspace/lib/ui/test/tab.c event.type = KEY_PRESS;
event 465 uspace/lib/ui/test/tab.c event.key = KC_ENTER;
event 466 uspace/lib/ui/test/tab.c event.mods = 0;
event 467 uspace/lib/ui/test/tab.c claimed = ui_tab_set_kbd_event(tabset, &event);
event 484 uspace/lib/ui/test/tab.c event.type = KEY_PRESS;
event 485 uspace/lib/ui/test/tab.c event.key = KC_F10;
event 486 uspace/lib/ui/test/tab.c event.mods = 0;
event 487 uspace/lib/ui/test/tab.c claimed = ui_tab_kbd_event(tab, &event);
event 493 uspace/lib/ui/test/tab.c PCUT_ASSERT_EQUALS(event.type, resp.kevent.type);
event 494 uspace/lib/ui/test/tab.c PCUT_ASSERT_EQUALS(event.key, resp.kevent.key);
event 495 uspace/lib/ui/test/tab.c PCUT_ASSERT_EQUALS(event.mods, resp.kevent.mods);
event 513 uspace/lib/ui/test/tab.c pos_event_t event;
event 553 uspace/lib/ui/test/tab.c event.type = POS_PRESS;
event 554 uspace/lib/ui/test/tab.c event.hpos = 10;
event 555 uspace/lib/ui/test/tab.c event.vpos = 40;
event 556 uspace/lib/ui/test/tab.c claimed = ui_tab_pos_event(tab, &event);
event 562 uspace/lib/ui/test/tab.c PCUT_ASSERT_EQUALS(event.type, resp.pevent.type);
event 563 uspace/lib/ui/test/tab.c PCUT_ASSERT_EQUALS(event.hpos, resp.pevent.hpos);
event 564 uspace/lib/ui/test/tab.c PCUT_ASSERT_EQUALS(event.vpos, resp.pevent.vpos);
event 168 uspace/lib/ui/test/tabset.c kbd_event_t event;
event 190 uspace/lib/ui/test/tabset.c event.type = KEY_PRESS;
event 191 uspace/lib/ui/test/tabset.c event.key = KC_ENTER;
event 192 uspace/lib/ui/test/tabset.c event.mods = 0;
event 193 uspace/lib/ui/test/tabset.c claimed = ui_tab_set_kbd_event(tabset, &event);
event 210 uspace/lib/ui/test/tabset.c event.type = KEY_PRESS;
event 211 uspace/lib/ui/test/tabset.c event.key = KC_F10;
event 212 uspace/lib/ui/test/tabset.c event.mods = 0;
event 213 uspace/lib/ui/test/tabset.c claimed = ui_tab_set_kbd_event(tabset, &event);
event 219 uspace/lib/ui/test/tabset.c PCUT_ASSERT_EQUALS(event.type, resp.kevent.type);
event 220 uspace/lib/ui/test/tabset.c PCUT_ASSERT_EQUALS(event.key, resp.kevent.key);
event 221 uspace/lib/ui/test/tabset.c PCUT_ASSERT_EQUALS(event.mods, resp.kevent.mods);
event 239 uspace/lib/ui/test/tabset.c pos_event_t event;
event 259 uspace/lib/ui/test/tabset.c event.type = POS_PRESS;
event 260 uspace/lib/ui/test/tabset.c event.hpos = 80;
event 261 uspace/lib/ui/test/tabset.c event.vpos = 4;
event 262 uspace/lib/ui/test/tabset.c event.btn_num = 1;
event 263 uspace/lib/ui/test/tabset.c claimed = ui_tab_set_pos_event(tabset, &event);
event 279 uspace/lib/ui/test/tabset.c event.type = POS_PRESS;
event 280 uspace/lib/ui/test/tabset.c event.hpos = 80;
event 281 uspace/lib/ui/test/tabset.c event.vpos = 4;
event 282 uspace/lib/ui/test/tabset.c event.btn_num = 1;
event 283 uspace/lib/ui/test/tabset.c claimed = ui_tab_set_pos_event(tabset, &event);
event 701 uspace/lib/ui/test/wdecor.c pos_event_t event;
event 732 uspace/lib/ui/test/wdecor.c event.type = POS_PRESS;
event 733 uspace/lib/ui/test/wdecor.c event.hpos = 50;
event 734 uspace/lib/ui/test/wdecor.c event.vpos = 25;
event 735 uspace/lib/ui/test/wdecor.c ui_wdecor_pos_event(wdecor, &event);
event 738 uspace/lib/ui/test/wdecor.c PCUT_ASSERT_INT_EQUALS(event.hpos, resp.pos.x);
event 739 uspace/lib/ui/test/wdecor.c PCUT_ASSERT_INT_EQUALS(event.vpos, resp.pos.y);
event 757 uspace/lib/ui/test/wdecor.c kbd_event_t event;
event 786 uspace/lib/ui/test/wdecor.c event.type = KEY_PRESS;
event 787 uspace/lib/ui/test/wdecor.c event.mods = 0;
event 788 uspace/lib/ui/test/wdecor.c event.key = KC_F10;
event 789 uspace/lib/ui/test/wdecor.c event.kbd_id = 42;
event 790 uspace/lib/ui/test/wdecor.c ui_wdecor_kbd_event(wdecor, &event);
event 793 uspace/lib/ui/test/wdecor.c PCUT_ASSERT_INT_EQUALS(event.kbd_id, resp.idev_id);
event 807 uspace/lib/ui/test/wdecor.c kbd_event_t event;
event 838 uspace/lib/ui/test/wdecor.c event.type = KEY_PRESS;
event 839 uspace/lib/ui/test/wdecor.c event.mods = 0;
event 840 uspace/lib/ui/test/wdecor.c event.key = KC_DOWN;
event 841 uspace/lib/ui/test/wdecor.c event.kbd_id = 42;
event 842 uspace/lib/ui/test/wdecor.c ui_wdecor_kbd_event(wdecor, &event);
event 845 uspace/lib/ui/test/wdecor.c PCUT_ASSERT_INT_EQUALS(event.kbd_id, resp.idev_id);
event 859 uspace/lib/ui/test/wdecor.c kbd_event_t event;
event 890 uspace/lib/ui/test/wdecor.c event.type = KEY_PRESS;
event 891 uspace/lib/ui/test/wdecor.c event.mods = 0;
event 892 uspace/lib/ui/test/wdecor.c event.key = KC_LEFT;
event 893 uspace/lib/ui/test/wdecor.c event.kbd_id = 42;
event 894 uspace/lib/ui/test/wdecor.c ui_wdecor_kbd_event(wdecor, &event);
event 897 uspace/lib/ui/test/wdecor.c PCUT_ASSERT_INT_EQUALS(event.kbd_id, resp.idev_id);
event 911 uspace/lib/ui/test/wdecor.c kbd_event_t event;
event 942 uspace/lib/ui/test/wdecor.c event.type = KEY_PRESS;
event 943 uspace/lib/ui/test/wdecor.c event.mods = 0;
event 944 uspace/lib/ui/test/wdecor.c event.key = KC_RIGHT;
event 945 uspace/lib/ui/test/wdecor.c event.kbd_id = 42;
event 946 uspace/lib/ui/test/wdecor.c ui_wdecor_kbd_event(wdecor, &event);
event 949 uspace/lib/ui/test/wdecor.c PCUT_ASSERT_INT_EQUALS(event.kbd_id, resp.idev_id);
event 963 uspace/lib/ui/test/wdecor.c kbd_event_t event;
event 994 uspace/lib/ui/test/wdecor.c event.type = KEY_PRESS;
event 995 uspace/lib/ui/test/wdecor.c event.mods = 0;
event 996 uspace/lib/ui/test/wdecor.c event.key = KC_A;
event 997 uspace/lib/ui/test/wdecor.c event.c = 'a';
event 998 uspace/lib/ui/test/wdecor.c event.kbd_id = 42;
event 999 uspace/lib/ui/test/wdecor.c ui_wdecor_kbd_event(wdecor, &event);
event 1002 uspace/lib/ui/test/wdecor.c PCUT_ASSERT_INT_EQUALS(event.c, resp.accel);
event 1003 uspace/lib/ui/test/wdecor.c PCUT_ASSERT_INT_EQUALS(event.kbd_id, resp.idev_id);
event 1516 uspace/lib/ui/test/wdecor.c pos_event_t event;
event 1540 uspace/lib/ui/test/wdecor.c event.type = POS_RELEASE;
event 1541 uspace/lib/ui/test/wdecor.c event.hpos = 10;
event 1542 uspace/lib/ui/test/wdecor.c event.vpos = 10;
event 1543 uspace/lib/ui/test/wdecor.c ui_wdecor_frame_pos_event(wdecor, &event);
event 1548 uspace/lib/ui/test/wdecor.c event.type = POS_PRESS;
event 1549 uspace/lib/ui/test/wdecor.c event.hpos = 50;
event 1550 uspace/lib/ui/test/wdecor.c event.vpos = 100;
event 1551 uspace/lib/ui/test/wdecor.c ui_wdecor_frame_pos_event(wdecor, &event);
event 1556 uspace/lib/ui/test/wdecor.c event.type = POS_PRESS;
event 1557 uspace/lib/ui/test/wdecor.c event.hpos = 10;
event 1558 uspace/lib/ui/test/wdecor.c event.vpos = 20;
event 1559 uspace/lib/ui/test/wdecor.c ui_wdecor_frame_pos_event(wdecor, &event);
event 475 uspace/lib/ui/test/window.c pos_event_t event;
event 491 uspace/lib/ui/test/window.c event.pos_id = 1;
event 492 uspace/lib/ui/test/window.c event.type = POS_PRESS;
event 493 uspace/lib/ui/test/window.c event.btn_num = 2;
event 494 uspace/lib/ui/test/window.c event.hpos = 3;
event 495 uspace/lib/ui/test/window.c event.vpos = 4;
event 500 uspace/lib/ui/test/window.c ui_window_def_pos(window, &event);
event 503 uspace/lib/ui/test/window.c PCUT_ASSERT_INT_EQUALS(event.pos_id, resp.pos_event.pos_id);
event 504 uspace/lib/ui/test/window.c PCUT_ASSERT_INT_EQUALS(event.type, resp.pos_event.type);
event 505 uspace/lib/ui/test/window.c PCUT_ASSERT_INT_EQUALS(event.btn_num, resp.pos_event.btn_num);
event 506 uspace/lib/ui/test/window.c PCUT_ASSERT_INT_EQUALS(event.hpos, resp.pos_event.hpos);
event 507 uspace/lib/ui/test/window.c PCUT_ASSERT_INT_EQUALS(event.vpos, resp.pos_event.vpos);
event 1022 uspace/lib/ui/test/window.c kbd_event_t *event)
event 1027 uspace/lib/ui/test/window.c resp->kbd_event = *event;
event 1039 uspace/lib/ui/test/window.c pos_event_t *event)
event 1044 uspace/lib/ui/test/window.c resp->pos_event = *event;
event 1070 uspace/lib/ui/test/window.c static ui_evclaim_t test_ctl_pos_event(void *arg, pos_event_t *event)
event 1075 uspace/lib/ui/test/window.c resp->pos_event = *event;
event 334 uspace/lib/wndmgt/src/wndmgt.c static errno_t wndmgt_get_event(wndmgt_t *wndmgt, wndmgt_ev_t *event)
event 343 uspace/lib/wndmgt/src/wndmgt.c rc = async_data_read_start(exch, event, sizeof(*event));
event 365 uspace/lib/wndmgt/src/wndmgt.c wndmgt_ev_t event;
event 371 uspace/lib/wndmgt/src/wndmgt.c rc = wndmgt_get_event(wndmgt, &event);
event 380 uspace/lib/wndmgt/src/wndmgt.c switch (event.etype) {
event 385 uspace/lib/wndmgt/src/wndmgt.c event.wnd_id);
event 392 uspace/lib/wndmgt/src/wndmgt.c event.wnd_id);
event 399 uspace/lib/wndmgt/src/wndmgt.c event.wnd_id);
event 242 uspace/lib/wndmgt/src/wndmgt_srv.c wndmgt_ev_t event;
event 252 uspace/lib/wndmgt/src/wndmgt_srv.c rc = srv->ops->get_event(srv->arg, &event);
event 265 uspace/lib/wndmgt/src/wndmgt_srv.c if (size != sizeof(event)) {
event 271 uspace/lib/wndmgt/src/wndmgt_srv.c rc = async_data_read_finalize(&call, &event, sizeof(event));
event 78 uspace/lib/wndmgt/test/wndmgt.c wndmgt_ev_t event;
event 495 uspace/lib/wndmgt/test/wndmgt.c resp.event.etype = wmev_window_added;
event 496 uspace/lib/wndmgt/test/wndmgt.c resp.event.wnd_id = 42;
event 510 uspace/lib/wndmgt/test/wndmgt.c PCUT_ASSERT_INT_EQUALS(resp.event.etype,
event 544 uspace/lib/wndmgt/test/wndmgt.c resp.event.etype = wmev_window_removed;
event 545 uspace/lib/wndmgt/test/wndmgt.c resp.event.wnd_id = 42;
event 559 uspace/lib/wndmgt/test/wndmgt.c PCUT_ASSERT_INT_EQUALS(resp.event.etype,
event 593 uspace/lib/wndmgt/test/wndmgt.c resp.event.etype = wmev_window_changed;
event 594 uspace/lib/wndmgt/test/wndmgt.c resp.event.wnd_id = 42;
event 608 uspace/lib/wndmgt/test/wndmgt.c PCUT_ASSERT_INT_EQUALS(resp.event.etype,
event 723 uspace/lib/wndmgt/test/wndmgt.c static errno_t test_get_event(void *arg, wndmgt_ev_t *event)
event 730 uspace/lib/wndmgt/test/wndmgt.c *event = resp->event;
event 336 uspace/srv/hid/console/console.c cons_qevent_t *event =
event 338 uspace/srv/hid/console/console.c if (event == NULL)
event 341 uspace/srv/hid/console/console.c event->ev = *ev;
event 342 uspace/srv/hid/console/console.c link_initialize(&event->link);
event 344 uspace/srv/hid/console/console.c prodcons_produce(&cons->input_pc, &event->link);
event 367 uspace/srv/hid/console/console.c cons_event_t event;
event 380 uspace/srv/hid/console/console.c event.type = CEV_KEY;
event 383 uspace/srv/hid/console/console.c event.ev.key.type = type;
event 384 uspace/srv/hid/console/console.c event.ev.key.key = key;
event 385 uspace/srv/hid/console/console.c event.ev.key.mods = mods;
event 386 uspace/srv/hid/console/console.c event.ev.key.c = c;
event 388 uspace/srv/hid/console/console.c console_queue_cons_event(active_console, &event);
event 449 uspace/srv/hid/console/console.c cons_event_t event;
event 453 uspace/srv/hid/console/console.c event.type = CEV_POS;
event 454 uspace/srv/hid/console/console.c event.ev.pos.type = bpress ? POS_PRESS : POS_RELEASE;
event 455 uspace/srv/hid/console/console.c event.ev.pos.btn_num = bnum;
event 456 uspace/srv/hid/console/console.c event.ev.pos.hpos = pointer_x / mouse_scale_x;
event 457 uspace/srv/hid/console/console.c event.ev.pos.vpos = pointer_y / mouse_scale_y;
event 459 uspace/srv/hid/console/console.c console_queue_cons_event(active_console, &event);
event 465 uspace/srv/hid/console/console.c cons_event_t event;
event 469 uspace/srv/hid/console/console.c event.type = CEV_POS;
event 470 uspace/srv/hid/console/console.c event.ev.pos.type = POS_DCLICK;
event 471 uspace/srv/hid/console/console.c event.ev.pos.btn_num = bnum;
event 472 uspace/srv/hid/console/console.c event.ev.pos.hpos = pointer_x / mouse_scale_x;
event 473 uspace/srv/hid/console/console.c event.ev.pos.vpos = pointer_y / mouse_scale_y;
event 475 uspace/srv/hid/console/console.c console_queue_cons_event(active_console, &event);
event 560 uspace/srv/hid/console/console.c cons_event_t *event = &qevent->ev;
event 563 uspace/srv/hid/console/console.c if (event->type == CEV_KEY && event->ev.key.type == KEY_PRESS &&
event 564 uspace/srv/hid/console/console.c (event->ev.key.c != 0)) {
event 565 uspace/srv/hid/console/console.c char32_t tmp[2] = { event->ev.key.c, 0 };
event 702 uspace/srv/hid/console/console.c static errno_t cons_get_event(con_srv_t *srv, cons_event_t *event)
event 708 uspace/srv/hid/console/console.c *event = qevent->ev;
event 88 uspace/srv/hid/display/cfgclient.c errno_t ds_cfgclient_get_event(ds_cfgclient_t *cfgclient, dispcfg_ev_t *event)
event 100 uspace/srv/hid/display/cfgclient.c *event = wevent->event;
event 146 uspace/srv/hid/display/cfgclient.c sevent->event.etype = dcev_seat_added;
event 147 uspace/srv/hid/display/cfgclient.c sevent->event.seat_id = seat_id;
event 178 uspace/srv/hid/display/cfgclient.c sevent->event.etype = dcev_seat_removed;
event 179 uspace/srv/hid/display/cfgclient.c sevent->event.seat_id = seat_id;
event 186 uspace/srv/hid/display/client.c display_wnd_ev_t *event)
event 199 uspace/srv/hid/display/client.c *event = wevent->event;
event 244 uspace/srv/hid/display/client.c wevent->event.etype = wev_close;
event 264 uspace/srv/hid/display/client.c display_wnd_focus_ev_t *event)
event 273 uspace/srv/hid/display/client.c wevent->event.etype = wev_focus;
event 274 uspace/srv/hid/display/client.c wevent->event.ev.focus = *event;
event 294 uspace/srv/hid/display/client.c kbd_event_t *event)
event 303 uspace/srv/hid/display/client.c wevent->event.etype = wev_kbd;
event 304 uspace/srv/hid/display/client.c wevent->event.ev.kbd = *event;
event 323 uspace/srv/hid/display/client.c pos_event_t *event)
event 332 uspace/srv/hid/display/client.c wevent->event.etype = wev_pos;
event 333 uspace/srv/hid/display/client.c wevent->event.ev.pos = *event;
event 362 uspace/srv/hid/display/client.c wevent->event.etype = wev_resize;
event 363 uspace/srv/hid/display/client.c wevent->event.ev.resize.rect = *rect;
event 383 uspace/srv/hid/display/client.c display_wnd_unfocus_ev_t *event)
event 392 uspace/srv/hid/display/client.c wevent->event.etype = wev_unfocus;
event 393 uspace/srv/hid/display/client.c wevent->event.ev.unfocus = *event;
event 697 uspace/srv/hid/display/display.c errno_t ds_display_post_kbd_event(ds_display_t *display, kbd_event_t *event)
event 702 uspace/srv/hid/display/display.c seat = ds_display_seat_by_idev(display, event->kbd_id);
event 706 uspace/srv/hid/display/display.c return ds_seat_post_kbd_event(seat, event);
event 714 uspace/srv/hid/display/display.c errno_t ds_display_post_ptd_event(ds_display_t *display, ptd_event_t *event)
event 719 uspace/srv/hid/display/display.c seat = ds_display_seat_by_idev(display, event->pos_id);
event 723 uspace/srv/hid/display/display.c return ds_seat_post_ptd_event(seat, event);
event 355 uspace/srv/hid/display/dsops.c display_wnd_ev_t *event)
event 365 uspace/srv/hid/display/dsops.c rc = ds_client_get_event(client, &wnd, event);
event 80 uspace/srv/hid/display/input.c kbd_event_t event;
event 83 uspace/srv/hid/display/input.c event.kbd_id = kbd_id;
event 84 uspace/srv/hid/display/input.c event.type = type;
event 85 uspace/srv/hid/display/input.c event.key = key;
event 86 uspace/srv/hid/display/input.c event.mods = mods;
event 87 uspace/srv/hid/display/input.c event.c = c;
event 90 uspace/srv/hid/display/input.c rc = ds_ievent_post_kbd(disp, &event);
event 98 uspace/srv/hid/display/input.c ptd_event_t event;
event 101 uspace/srv/hid/display/input.c event.pos_id = pos_id;
event 102 uspace/srv/hid/display/input.c event.type = PTD_MOVE;
event 103 uspace/srv/hid/display/input.c event.dmove.x = dx;
event 104 uspace/srv/hid/display/input.c event.dmove.y = dy;
event 107 uspace/srv/hid/display/input.c rc = ds_ievent_post_ptd(disp, &event);
event 116 uspace/srv/hid/display/input.c ptd_event_t event;
event 119 uspace/srv/hid/display/input.c event.pos_id = pos_id;
event 120 uspace/srv/hid/display/input.c event.type = PTD_ABS_MOVE;
event 121 uspace/srv/hid/display/input.c event.apos.x = x;
event 122 uspace/srv/hid/display/input.c event.apos.y = y;
event 123 uspace/srv/hid/display/input.c event.abounds.p0.x = 0;
event 124 uspace/srv/hid/display/input.c event.abounds.p0.y = 0;
event 125 uspace/srv/hid/display/input.c event.abounds.p1.x = max_x + 1;
event 126 uspace/srv/hid/display/input.c event.abounds.p1.y = max_y + 1;
event 129 uspace/srv/hid/display/input.c rc = ds_ievent_post_ptd(disp, &event);
event 138 uspace/srv/hid/display/input.c ptd_event_t event;
event 141 uspace/srv/hid/display/input.c event.pos_id = pos_id;
event 142 uspace/srv/hid/display/input.c event.type = bpress ? PTD_PRESS : PTD_RELEASE;
event 143 uspace/srv/hid/display/input.c event.btn_num = bnum;
event 144 uspace/srv/hid/display/input.c event.dmove.x = 0;
event 145 uspace/srv/hid/display/input.c event.dmove.y = 0;
event 148 uspace/srv/hid/display/input.c rc = ds_ievent_post_ptd(disp, &event);
event 156 uspace/srv/hid/display/input.c ptd_event_t event;
event 159 uspace/srv/hid/display/input.c event.pos_id = pos_id;
event 160 uspace/srv/hid/display/input.c event.type = PTD_DCLICK;
event 161 uspace/srv/hid/display/input.c event.btn_num = bnum;
event 162 uspace/srv/hid/display/input.c event.dmove.x = 0;
event 163 uspace/srv/hid/display/input.c event.dmove.y = 0;
event 166 uspace/srv/hid/display/input.c rc = ds_ievent_post_ptd(disp, &event);
event 319 uspace/srv/hid/display/seat.c errno_t ds_seat_post_kbd_event(ds_seat_t *seat, kbd_event_t *event)
event 324 uspace/srv/hid/display/seat.c alt_or_shift = event->mods & (KM_SHIFT | KM_ALT);
event 325 uspace/srv/hid/display/seat.c if (event->type == KEY_PRESS && alt_or_shift && event->key == KC_TAB) {
event 338 uspace/srv/hid/display/seat.c return ds_window_post_kbd_event(dwindow, event);
event 481 uspace/srv/hid/display/seat.c errno_t ds_seat_post_ptd_event(ds_seat_t *seat, ptd_event_t *event)
event 493 uspace/srv/hid/display/seat.c if (event->type == PTD_PRESS && event->btn_num == 1) {
event 500 uspace/srv/hid/display/seat.c if (event->type == PTD_PRESS || event->type == PTD_RELEASE ||
event 501 uspace/srv/hid/display/seat.c event->type == PTD_DCLICK) {
event 502 uspace/srv/hid/display/seat.c pevent.pos_id = event->pos_id;
event 503 uspace/srv/hid/display/seat.c switch (event->type) {
event 517 uspace/srv/hid/display/seat.c pevent.btn_num = event->btn_num;
event 526 uspace/srv/hid/display/seat.c if (event->type == PTD_MOVE) {
event 527 uspace/srv/hid/display/seat.c gfx_coord2_add(&seat->pntpos, &event->dmove, &npos);
event 533 uspace/srv/hid/display/seat.c pevent.pos_id = event->pos_id;
event 546 uspace/srv/hid/display/seat.c if (event->type == PTD_ABS_MOVE) {
event 553 uspace/srv/hid/display/seat.c gfx_coord2_project(&event->apos, &event->abounds,
event 561 uspace/srv/hid/display/seat.c pevent.pos_id = event->pos_id;
event 584 uspace/srv/hid/display/seat.c errno_t ds_seat_post_pos_event(ds_seat_t *seat, pos_event_t *event)
event 602 uspace/srv/hid/display/seat.c if (event->type != POS_PRESS && cwindow != NULL &&
event 604 uspace/srv/hid/display/seat.c rc = ds_window_post_pos_event(cwindow, event);
event 613 uspace/srv/hid/display/seat.c rc = ds_window_post_pos_event(pwindow, event);
event 623 uspace/srv/hid/display/seat.c if (event->type == POS_PRESS && pwindow != seat->popup) {
event 303 uspace/srv/hid/display/test/client.c kbd_event_t event;
event 336 uspace/srv/hid/display/test/client.c event.type = KEY_PRESS;
event 337 uspace/srv/hid/display/test/client.c event.key = KC_ENTER;
event 338 uspace/srv/hid/display/test/client.c event.mods = 0;
event 339 uspace/srv/hid/display/test/client.c event.c = L'\0';
event 341 uspace/srv/hid/display/test/client.c rc = ds_client_post_kbd_event(client, wnd, &event);
event 349 uspace/srv/hid/display/test/client.c PCUT_ASSERT_EQUALS(event.type, revent.ev.kbd.type);
event 350 uspace/srv/hid/display/test/client.c PCUT_ASSERT_EQUALS(event.key, revent.ev.kbd.key);
event 351 uspace/srv/hid/display/test/client.c PCUT_ASSERT_EQUALS(event.mods, revent.ev.kbd.mods);
event 352 uspace/srv/hid/display/test/client.c PCUT_ASSERT_EQUALS(event.c, revent.ev.kbd.c);
event 371 uspace/srv/hid/display/test/client.c pos_event_t event;
event 406 uspace/srv/hid/display/test/client.c event.type = POS_PRESS;
event 407 uspace/srv/hid/display/test/client.c event.hpos = 1;
event 408 uspace/srv/hid/display/test/client.c event.vpos = 2;
event 410 uspace/srv/hid/display/test/client.c rc = ds_client_post_pos_event(client, wnd, &event);
event 418 uspace/srv/hid/display/test/client.c PCUT_ASSERT_EQUALS(event.type, revent.ev.pos.type);
event 419 uspace/srv/hid/display/test/client.c PCUT_ASSERT_EQUALS(event.hpos, revent.ev.pos.hpos);
event 420 uspace/srv/hid/display/test/client.c PCUT_ASSERT_EQUALS(event.vpos, revent.ev.pos.vpos);
event 465 uspace/srv/hid/display/test/display.c kbd_event_t event;
event 487 uspace/srv/hid/display/test/display.c event.type = KEY_PRESS;
event 488 uspace/srv/hid/display/test/display.c event.key = KC_ENTER;
event 489 uspace/srv/hid/display/test/display.c event.mods = 0;
event 490 uspace/srv/hid/display/test/display.c event.c = L'\0';
event 494 uspace/srv/hid/display/test/display.c rc = ds_display_post_kbd_event(disp, &event);
event 513 uspace/srv/hid/display/test/display.c kbd_event_t event;
event 538 uspace/srv/hid/display/test/display.c event.type = KEY_PRESS;
event 539 uspace/srv/hid/display/test/display.c event.key = KC_TAB;
event 540 uspace/srv/hid/display/test/display.c event.mods = KM_ALT;
event 541 uspace/srv/hid/display/test/display.c event.c = L'\0';
event 545 uspace/srv/hid/display/test/display.c rc = ds_display_post_kbd_event(disp, &event);
event 556 uspace/srv/hid/display/test/display.c rc = ds_display_post_kbd_event(disp, &event);
event 581 uspace/srv/hid/display/test/display.c ptd_event_t event;
event 622 uspace/srv/hid/display/test/display.c event.type = PTD_MOVE;
event 623 uspace/srv/hid/display/test/display.c event.dmove.x = 400;
event 624 uspace/srv/hid/display/test/display.c event.dmove.y = 400;
event 625 uspace/srv/hid/display/test/display.c rc = ds_display_post_ptd_event(disp, &event);
event 628 uspace/srv/hid/display/test/display.c event.type = PTD_PRESS;
event 629 uspace/srv/hid/display/test/display.c event.btn_num = 1;
event 630 uspace/srv/hid/display/test/display.c rc = ds_display_post_ptd_event(disp, &event);
event 635 uspace/srv/hid/display/test/display.c event.type = PTD_RELEASE;
event 636 uspace/srv/hid/display/test/display.c event.btn_num = 1;
event 637 uspace/srv/hid/display/test/display.c rc = ds_display_post_ptd_event(disp, &event);
event 640 uspace/srv/hid/display/test/display.c event.type = PTD_MOVE;
event 641 uspace/srv/hid/display/test/display.c event.dmove.x = -400 + 10;
event 642 uspace/srv/hid/display/test/display.c event.dmove.y = -400 + 10;
event 643 uspace/srv/hid/display/test/display.c rc = ds_display_post_ptd_event(disp, &event);
event 646 uspace/srv/hid/display/test/display.c event.type = PTD_PRESS;
event 647 uspace/srv/hid/display/test/display.c event.btn_num = 1;
event 648 uspace/srv/hid/display/test/display.c rc = ds_display_post_ptd_event(disp, &event);
event 470 uspace/srv/hid/display/test/seat.c kbd_event_t event;
event 497 uspace/srv/hid/display/test/seat.c event.type = KEY_PRESS;
event 498 uspace/srv/hid/display/test/seat.c event.mods = KM_ALT;
event 499 uspace/srv/hid/display/test/seat.c event.key = KC_TAB;
event 500 uspace/srv/hid/display/test/seat.c rc = ds_seat_post_kbd_event(seat, &event);
event 520 uspace/srv/hid/display/test/seat.c kbd_event_t event;
event 550 uspace/srv/hid/display/test/seat.c event.type = KEY_PRESS;
event 551 uspace/srv/hid/display/test/seat.c event.key = KC_ENTER;
event 552 uspace/srv/hid/display/test/seat.c event.mods = 0;
event 553 uspace/srv/hid/display/test/seat.c event.c = L'\0';
event 558 uspace/srv/hid/display/test/seat.c rc = ds_seat_post_kbd_event(seat, &event);
event 566 uspace/srv/hid/display/test/seat.c PCUT_ASSERT_EQUALS(event.type, revent.ev.kbd.type);
event 567 uspace/srv/hid/display/test/seat.c PCUT_ASSERT_EQUALS(event.key, revent.ev.kbd.key);
event 568 uspace/srv/hid/display/test/seat.c PCUT_ASSERT_EQUALS(event.mods, revent.ev.kbd.mods);
event 569 uspace/srv/hid/display/test/seat.c PCUT_ASSERT_EQUALS(event.c, revent.ev.kbd.c);
event 589 uspace/srv/hid/display/test/seat.c ptd_event_t event;
event 629 uspace/srv/hid/display/test/seat.c event.type = PTD_MOVE;
event 630 uspace/srv/hid/display/test/seat.c event.dmove.x = 400;
event 631 uspace/srv/hid/display/test/seat.c event.dmove.y = 400;
event 632 uspace/srv/hid/display/test/seat.c rc = ds_seat_post_ptd_event(seat, &event);
event 638 uspace/srv/hid/display/test/seat.c event.type = PTD_PRESS;
event 639 uspace/srv/hid/display/test/seat.c event.btn_num = 1;
event 640 uspace/srv/hid/display/test/seat.c rc = ds_seat_post_ptd_event(seat, &event);
event 647 uspace/srv/hid/display/test/seat.c event.type = PTD_MOVE;
event 648 uspace/srv/hid/display/test/seat.c event.dmove.x = -400 + 10;
event 649 uspace/srv/hid/display/test/seat.c event.dmove.y = -400 + 10;
event 650 uspace/srv/hid/display/test/seat.c rc = ds_seat_post_ptd_event(seat, &event);
event 655 uspace/srv/hid/display/test/seat.c event.type = PTD_PRESS;
event 656 uspace/srv/hid/display/test/seat.c event.btn_num = 1;
event 657 uspace/srv/hid/display/test/seat.c rc = ds_seat_post_ptd_event(seat, &event);
event 507 uspace/srv/hid/display/test/window.c kbd_event_t event;
event 533 uspace/srv/hid/display/test/window.c event.type = KEY_PRESS;
event 534 uspace/srv/hid/display/test/window.c event.mods = KM_ALT;
event 535 uspace/srv/hid/display/test/window.c event.key = KC_F4;
event 536 uspace/srv/hid/display/test/window.c rc = ds_window_post_kbd_event(wnd, &event);
event 562 uspace/srv/hid/display/test/window.c pos_event_t event;
event 589 uspace/srv/hid/display/test/window.c event.type = POS_PRESS;
event 590 uspace/srv/hid/display/test/window.c event.btn_num = 2;
event 591 uspace/srv/hid/display/test/window.c event.hpos = 10;
event 592 uspace/srv/hid/display/test/window.c event.vpos = 10;
event 593 uspace/srv/hid/display/test/window.c rc = ds_window_post_pos_event(wnd, &event);
event 598 uspace/srv/hid/display/test/window.c event.type = POS_UPDATE;
event 599 uspace/srv/hid/display/test/window.c event.hpos = 11;
event 600 uspace/srv/hid/display/test/window.c event.vpos = 12;
event 601 uspace/srv/hid/display/test/window.c rc = ds_window_post_pos_event(wnd, &event);
event 609 uspace/srv/hid/display/test/window.c event.type = POS_RELEASE;
event 610 uspace/srv/hid/display/test/window.c event.hpos = 13;
event 611 uspace/srv/hid/display/test/window.c event.vpos = 14;
event 613 uspace/srv/hid/display/test/window.c rc = ds_window_post_pos_event(wnd, &event);
event 68 uspace/srv/hid/display/types/display/cfgclient.h dispcfg_ev_t event;
event 122 uspace/srv/hid/display/types/display/window.h display_wnd_ev_t event;
event 68 uspace/srv/hid/display/types/display/wmclient.h wndmgt_ev_t event;
event 622 uspace/srv/hid/display/window.c errno_t ds_window_post_kbd_event(ds_window_t *wnd, kbd_event_t *event)
event 626 uspace/srv/hid/display/window.c alt_or_shift = event->mods & (KM_SHIFT | KM_ALT);
event 628 uspace/srv/hid/display/window.c if (event->type == KEY_PRESS && alt_or_shift && event->key == KC_F4) {
event 634 uspace/srv/hid/display/window.c return ds_client_post_kbd_event(wnd->client, wnd, event);
event 644 uspace/srv/hid/display/window.c errno_t ds_window_post_pos_event(ds_window_t *wnd, pos_event_t *event)
event 653 uspace/srv/hid/display/window.c "ds_window_post_pos_event type=%d pos=%d,%d", event->type,
event 654 uspace/srv/hid/display/window.c (int) event->hpos, (int) event->vpos);
event 656 uspace/srv/hid/display/window.c pos.x = event->hpos;
event 657 uspace/srv/hid/display/window.c pos.y = event->vpos;
event 658 uspace/srv/hid/display/window.c pos_id = event->pos_id;
event 662 uspace/srv/hid/display/window.c if (event->type == POS_PRESS && event->btn_num == 2 && inside &&
event 668 uspace/srv/hid/display/window.c if (event->type == POS_RELEASE) {
event 683 uspace/srv/hid/display/window.c if (event->type == POS_UPDATE) {
event 699 uspace/srv/hid/display/window.c tevent = *event;
event 88 uspace/srv/hid/display/wmclient.c errno_t ds_wmclient_get_event(ds_wmclient_t *wmclient, wndmgt_ev_t *event)
event 100 uspace/srv/hid/display/wmclient.c *event = wevent->event;
event 146 uspace/srv/hid/display/wmclient.c wevent->event.etype = wmev_window_added;
event 147 uspace/srv/hid/display/wmclient.c wevent->event.wnd_id = wnd_id;
event 178 uspace/srv/hid/display/wmclient.c wevent->event.etype = wmev_window_removed;
event 179 uspace/srv/hid/display/wmclient.c wevent->event.wnd_id = wnd_id;
event 210 uspace/srv/hid/display/wmclient.c wevent->event.etype = wmev_window_changed;
event 211 uspace/srv/hid/display/wmclient.c wevent->event.wnd_id = wnd_id;
event 63 uspace/srv/hid/isdv4_tablet/isdv4.c static void isdv4_event_init(isdv4_event_t *event)
event 65 uspace/srv/hid/isdv4_tablet/isdv4.c memset(event, 0, sizeof(isdv4_event_t));
event 82 uspace/srv/hid/isdv4_tablet/isdv4.c isdv4_event_t event;
event 83 uspace/srv/hid/isdv4_tablet/isdv4.c isdv4_event_init(&event);
event 91 uspace/srv/hid/isdv4_tablet/isdv4.c event.x = ((packet[1] & 127) << 7) | (packet[2] & 127);
event 92 uspace/srv/hid/isdv4_tablet/isdv4.c event.y = ((packet[3] & 127) << 7) | (packet[4] & 127);
event 93 uspace/srv/hid/isdv4_tablet/isdv4.c event.source = TOUCH;
event 99 uspace/srv/hid/isdv4_tablet/isdv4.c event.type = RELEASE;
event 100 uspace/srv/hid/isdv4_tablet/isdv4.c event.button = 1;
event 101 uspace/srv/hid/isdv4_tablet/isdv4.c state->emit_event_fn(&event);
event 105 uspace/srv/hid/isdv4_tablet/isdv4.c event.type = PRESS;
event 106 uspace/srv/hid/isdv4_tablet/isdv4.c event.button = 1;
event 107 uspace/srv/hid/isdv4_tablet/isdv4.c state->emit_event_fn(&event);
event 109 uspace/srv/hid/isdv4_tablet/isdv4.c event.type = MOVE;
event 110 uspace/srv/hid/isdv4_tablet/isdv4.c event.button = 1;
event 111 uspace/srv/hid/isdv4_tablet/isdv4.c state->emit_event_fn(&event);
event 123 uspace/srv/hid/isdv4_tablet/isdv4.c event.x = ((packet[1] & 127) << 7) | (packet[2] & 124) | ((packet[6] >> 5) & 3);
event 124 uspace/srv/hid/isdv4_tablet/isdv4.c event.y = ((packet[3] & 127) << 7) | (packet[4] & 124) | ((packet[6] >> 3) & 3);
event 125 uspace/srv/hid/isdv4_tablet/isdv4.c event.pressure = (packet[5] & 127) | ((packet[6] & 7) << 7);
event 131 uspace/srv/hid/isdv4_tablet/isdv4.c event.source = (state->stylus_is_eraser ? STYLUS_ERASER : STYLUS_TIP);
event 132 uspace/srv/hid/isdv4_tablet/isdv4.c event.type = PROXIMITY_IN;
event 133 uspace/srv/hid/isdv4_tablet/isdv4.c state->emit_event_fn(&event);
event 137 uspace/srv/hid/isdv4_tablet/isdv4.c event.source = (state->stylus_is_eraser ? STYLUS_ERASER : STYLUS_TIP);
event 138 uspace/srv/hid/isdv4_tablet/isdv4.c event.type = PROXIMITY_OUT;
event 139 uspace/srv/hid/isdv4_tablet/isdv4.c state->emit_event_fn(&event);
event 143 uspace/srv/hid/isdv4_tablet/isdv4.c event.type = PROXIMITY_OUT;
event 144 uspace/srv/hid/isdv4_tablet/isdv4.c event.source = STYLUS_ERASER;
event 145 uspace/srv/hid/isdv4_tablet/isdv4.c state->emit_event_fn(&event);
event 146 uspace/srv/hid/isdv4_tablet/isdv4.c event.type = PROXIMITY_IN;
event 147 uspace/srv/hid/isdv4_tablet/isdv4.c event.source = STYLUS_TIP;
event 148 uspace/srv/hid/isdv4_tablet/isdv4.c state->emit_event_fn(&event);
event 151 uspace/srv/hid/isdv4_tablet/isdv4.c event.type = PROXIMITY_OUT;
event 152 uspace/srv/hid/isdv4_tablet/isdv4.c event.source = STYLUS_TIP;
event 153 uspace/srv/hid/isdv4_tablet/isdv4.c state->emit_event_fn(&event);
event 154 uspace/srv/hid/isdv4_tablet/isdv4.c event.type = PROXIMITY_IN;
event 155 uspace/srv/hid/isdv4_tablet/isdv4.c event.source = STYLUS_ERASER;
event 156 uspace/srv/hid/isdv4_tablet/isdv4.c state->emit_event_fn(&event);
event 164 uspace/srv/hid/isdv4_tablet/isdv4.c event.type = PRESS;
event 165 uspace/srv/hid/isdv4_tablet/isdv4.c event.source = STYLUS_TIP;
event 166 uspace/srv/hid/isdv4_tablet/isdv4.c event.button = 1;
event 167 uspace/srv/hid/isdv4_tablet/isdv4.c state->emit_event_fn(&event);
event 170 uspace/srv/hid/isdv4_tablet/isdv4.c event.type = RELEASE;
event 171 uspace/srv/hid/isdv4_tablet/isdv4.c event.source = STYLUS_TIP;
event 172 uspace/srv/hid/isdv4_tablet/isdv4.c event.button = 1;
event 173 uspace/srv/hid/isdv4_tablet/isdv4.c state->emit_event_fn(&event);
event 177 uspace/srv/hid/isdv4_tablet/isdv4.c event.type = PRESS;
event 178 uspace/srv/hid/isdv4_tablet/isdv4.c event.source = STYLUS_TIP;
event 179 uspace/srv/hid/isdv4_tablet/isdv4.c event.button = 2;
event 180 uspace/srv/hid/isdv4_tablet/isdv4.c state->emit_event_fn(&event);
event 183 uspace/srv/hid/isdv4_tablet/isdv4.c event.type = RELEASE;
event 184 uspace/srv/hid/isdv4_tablet/isdv4.c event.source = STYLUS_TIP;
event 185 uspace/srv/hid/isdv4_tablet/isdv4.c event.button = 2;
event 186 uspace/srv/hid/isdv4_tablet/isdv4.c state->emit_event_fn(&event);
event 190 uspace/srv/hid/isdv4_tablet/isdv4.c event.type = PRESS;
event 191 uspace/srv/hid/isdv4_tablet/isdv4.c event.source = STYLUS_TIP;
event 192 uspace/srv/hid/isdv4_tablet/isdv4.c event.button = 3;
event 193 uspace/srv/hid/isdv4_tablet/isdv4.c state->emit_event_fn(&event);
event 196 uspace/srv/hid/isdv4_tablet/isdv4.c event.type = RELEASE;
event 197 uspace/srv/hid/isdv4_tablet/isdv4.c event.source = STYLUS_TIP;
event 198 uspace/srv/hid/isdv4_tablet/isdv4.c event.button = 3;
event 199 uspace/srv/hid/isdv4_tablet/isdv4.c state->emit_event_fn(&event);
event 201 uspace/srv/hid/isdv4_tablet/isdv4.c event.type = MOVE;
event 202 uspace/srv/hid/isdv4_tablet/isdv4.c event.source = STYLUS_TIP;
event 203 uspace/srv/hid/isdv4_tablet/isdv4.c event.button = 0;
event 204 uspace/srv/hid/isdv4_tablet/isdv4.c state->emit_event_fn(&event);
event 208 uspace/srv/hid/isdv4_tablet/isdv4.c event.type = PRESS;
event 209 uspace/srv/hid/isdv4_tablet/isdv4.c event.source = STYLUS_ERASER;
event 210 uspace/srv/hid/isdv4_tablet/isdv4.c event.button = 1;
event 211 uspace/srv/hid/isdv4_tablet/isdv4.c state->emit_event_fn(&event);
event 214 uspace/srv/hid/isdv4_tablet/isdv4.c event.type = RELEASE;
event 215 uspace/srv/hid/isdv4_tablet/isdv4.c event.source = STYLUS_ERASER;
event 216 uspace/srv/hid/isdv4_tablet/isdv4.c event.button = 1;
event 217 uspace/srv/hid/isdv4_tablet/isdv4.c state->emit_event_fn(&event);
event 219 uspace/srv/hid/isdv4_tablet/isdv4.c event.type = MOVE;
event 220 uspace/srv/hid/isdv4_tablet/isdv4.c event.source = STYLUS_ERASER;
event 221 uspace/srv/hid/isdv4_tablet/isdv4.c event.button = 0;
event 222 uspace/srv/hid/isdv4_tablet/isdv4.c state->emit_event_fn(&event);
event 93 uspace/srv/hid/isdv4_tablet/main.c static void emit_event(const isdv4_event_t *event)
event 106 uspace/srv/hid/isdv4_tablet/main.c if (event->source == TOUCH) {
event 110 uspace/srv/hid/isdv4_tablet/main.c async_msg_4(exch, MOUSEEV_ABS_MOVE_EVENT, event->x, event->y,
event 112 uspace/srv/hid/isdv4_tablet/main.c if (event->type == PRESS || event->type == RELEASE) {
event 113 uspace/srv/hid/isdv4_tablet/main.c async_msg_2(exch, MOUSEEV_BUTTON_EVENT, event->button,
event 114 uspace/srv/hid/isdv4_tablet/main.c event->type == PRESS);
event 120 uspace/srv/hid/isdv4_tablet/main.c static void print_and_emit_event(const isdv4_event_t *event)
event 123 uspace/srv/hid/isdv4_tablet/main.c switch (event->type) {
event 145 uspace/srv/hid/isdv4_tablet/main.c switch (event->source) {
event 157 uspace/srv/hid/isdv4_tablet/main.c printf("%s %s %u %u %u %u\n", type, source, event->x, event->y,
event 158 uspace/srv/hid/isdv4_tablet/main.c event->pressure, event->button);
event 160 uspace/srv/hid/isdv4_tablet/main.c emit_event(event);
event 374 uspace/srv/hid/remcons/remcons.c remcons_event_t *event = malloc(sizeof(remcons_event_t));
event 375 uspace/srv/hid/remcons/remcons.c if (event == NULL) {
event 380 uspace/srv/hid/remcons/remcons.c link_initialize(&event->link);
event 381 uspace/srv/hid/remcons/remcons.c event->cev.type = CEV_KEY;
event 382 uspace/srv/hid/remcons/remcons.c event->cev.ev.key.type = type;
event 383 uspace/srv/hid/remcons/remcons.c event->cev.ev.key.mods = mods;
event 384 uspace/srv/hid/remcons/remcons.c event->cev.ev.key.key = key;
event 385 uspace/srv/hid/remcons/remcons.c event->cev.ev.key.c = c;
event 387 uspace/srv/hid/remcons/remcons.c return event;
event 397 uspace/srv/hid/remcons/remcons.c remcons_event_t *event = malloc(sizeof(remcons_event_t));
event 398 uspace/srv/hid/remcons/remcons.c if (event == NULL) {
event 403 uspace/srv/hid/remcons/remcons.c link_initialize(&event->link);
event 404 uspace/srv/hid/remcons/remcons.c event->cev.type = CEV_POS;
event 405 uspace/srv/hid/remcons/remcons.c event->cev.ev.pos = *ev;
event 407 uspace/srv/hid/remcons/remcons.c return event;
event 414 uspace/srv/hid/remcons/remcons.c remcons_event_t *event = malloc(sizeof(remcons_event_t));
event 415 uspace/srv/hid/remcons/remcons.c if (event == NULL) {
event 420 uspace/srv/hid/remcons/remcons.c link_initialize(&event->link);
event 421 uspace/srv/hid/remcons/remcons.c event->cev.type = CEV_RESIZE;
event 423 uspace/srv/hid/remcons/remcons.c return event;
event 426 uspace/srv/hid/remcons/remcons.c static errno_t remcons_get_event(con_srv_t *srv, cons_event_t *event)
event 448 uspace/srv/hid/remcons/remcons.c *event = tmp->cev;
HelenOS homepage, sources at GitHub