Lines Matching defs:code
293 unsigned int code,
298 switch (code) {
310 shift = code - BTN_TOOL_DOUBLETAP + 2;
496 rotated(struct tp_dispatch *tp, unsigned int code, int value)
503 switch (code) {
525 switch(e->code) {
528 e->code,
530 t->point.x = rotated(tp, e->code, e->value);
536 e->code,
538 t->point.y = rotated(tp, e->code, e->value);
585 switch(e->code) {
588 e->code,
590 t->point.x = rotated(tp, e->code, e->value);
596 e->code,
598 t->point.y = rotated(tp, e->code, e->value);
722 .code = SYN_REPORT,
735 switch (event.code) {
737 event.code = BTN_LEFT;
740 event.code = BTN_RIGHT;
743 event.code = BTN_MIDDLE;
766 switch (e->code) {
778 tp_fake_finger_set(tp, e->code, !!e->value);
793 if (e->code != MSC_TIMESTAMP)
1590 * the pointer accel code should do the right thing.
2869 unsigned int code;
2871 for (code = ABS_MT_SLOT; code <= ABS_MAX; code++)
2872 libevdev_disable_event_code(evdev, EV_ABS, code);
2881 unsigned int code;
2936 m->code)) {
3604 unsigned int code;
3610 code = tp->has_mt ? ABS_MT_PRESSURE : ABS_PRESSURE;
3611 if (!libevdev_has_event_code(device->evdev, EV_ABS, code)) {
3616 abs = libevdev_get_abs_info(device->evdev, code);