Lines Matching refs:BTN_LEFT
386 test_button_event(dev, BTN_LEFT, 1); in START_TEST()
387 test_button_event(dev, BTN_LEFT, 0); in START_TEST()
390 test_button_event(dev, BTN_LEFT, 1); in START_TEST()
391 test_button_event(dev, BTN_LEFT, 0); in START_TEST()
419 { .code = BTN_LEFT, }, in START_TEST()
506 for (code = BTN_LEFT; code < KEY_OK; code++) in START_TEST()
522 litest_button_click_debounced(dev, li, BTN_LEFT, 1); in START_TEST()
525 BTN_LEFT, in START_TEST()
530 litest_button_click_debounced(dev, li, BTN_LEFT, 0); in START_TEST()
535 litest_button_click_debounced(dev, li, BTN_LEFT, 1); in START_TEST()
538 litest_button_click_debounced(dev, li, BTN_LEFT, 0); in START_TEST()
540 BTN_LEFT, in START_TEST()
992 BTN_LEFT, in START_TEST()
1007 BTN_LEFT); in START_TEST()
1025 BTN_LEFT, in START_TEST()
1040 BTN_LEFT); in START_TEST()
1115 litest_button_click_debounced(dev, li, BTN_LEFT, 1); in START_TEST()
1116 litest_button_click_debounced(dev, li, BTN_LEFT, 0); in START_TEST()
1128 BTN_LEFT, in START_TEST()
1131 BTN_LEFT, in START_TEST()
1155 litest_button_click_debounced(dev, li, BTN_LEFT, 1); in START_TEST()
1162 litest_button_click_debounced(dev, li, BTN_LEFT, 0); in START_TEST()
1165 BTN_LEFT, in START_TEST()
1168 BTN_LEFT, in START_TEST()
1186 litest_button_click_debounced(dev, li, BTN_LEFT, 1); in START_TEST()
1195 litest_button_click_debounced(dev, li, BTN_LEFT, 0); in START_TEST()
1198 BTN_LEFT, in START_TEST()
1207 BTN_LEFT, in START_TEST()
1221 BTN_LEFT); in START_TEST()
1225 litest_button_scroll(dev, BTN_LEFT, 1, 6); in START_TEST()
1230 litest_button_scroll(dev, BTN_LEFT, 1, -7); in START_TEST()
1235 litest_button_scroll(dev, BTN_LEFT, 8, 1); in START_TEST()
1240 litest_button_scroll(dev, BTN_LEFT, -9, 1); in START_TEST()
1247 litest_button_scroll(dev, BTN_LEFT, 1, 1); in START_TEST()
1249 litest_button_scroll(dev, BTN_LEFT, 0, 0); in START_TEST()
1250 litest_assert_button_event(li, BTN_LEFT, in START_TEST()
1253 BTN_LEFT, in START_TEST()
1284 status = libinput_device_config_scroll_set_button(device, BTN_LEFT); in START_TEST()
1305 BTN_LEFT); in START_TEST()
1308 litest_button_click_debounced(device, li, BTN_LEFT, true); in START_TEST()
1319 litest_button_click_debounced(device, li, BTN_LEFT, false); in START_TEST()
1321 litest_assert_button_event(li, BTN_LEFT, in START_TEST()
1324 BTN_LEFT, in START_TEST()
1352 litest_button_click(dev, BTN_LEFT, 1); in START_TEST()
1365 litest_button_click(dev, BTN_LEFT, 0); in START_TEST()
1396 BTN_LEFT); in START_TEST()
1399 litest_event(dev, EV_KEY, BTN_LEFT, 1); in START_TEST()
1435 litest_enable_scroll_button_lock(dev, BTN_LEFT); in START_TEST()
1440 litest_button_click_debounced(dev, li, BTN_LEFT, true); in START_TEST()
1441 litest_button_click_debounced(dev, li, BTN_LEFT, false); in START_TEST()
1456 litest_button_click_debounced(dev, li, BTN_LEFT, true); in START_TEST()
1457 litest_button_click_debounced(dev, li, BTN_LEFT, false); in START_TEST()
1527 litest_button_click_debounced(dev, li, BTN_LEFT, true); in START_TEST()
1530 litest_enable_scroll_button_lock(dev, BTN_LEFT); in START_TEST()
1532 litest_assert_button_event(li, BTN_LEFT, LIBINPUT_BUTTON_STATE_PRESSED); in START_TEST()
1535 litest_button_click_debounced(dev, li, BTN_LEFT, false); in START_TEST()
1536 litest_assert_button_event(li, BTN_LEFT, LIBINPUT_BUTTON_STATE_RELEASED); in START_TEST()
1549 litest_button_click_debounced(dev, li, BTN_LEFT, true); in START_TEST()
1550 litest_button_click_debounced(dev, li, BTN_LEFT, false); in START_TEST()
1561 litest_button_click_debounced(dev, li, BTN_LEFT, true); in START_TEST()
1562 litest_button_click_debounced(dev, li, BTN_LEFT, false); in START_TEST()
1594 BTN_LEFT); in START_TEST()
1596 litest_button_click_debounced(dev, li, BTN_LEFT, true); in START_TEST()
1600 litest_button_click_debounced(dev, li, BTN_LEFT, false); in START_TEST()
1601 litest_assert_button_event(li, BTN_LEFT, LIBINPUT_BUTTON_STATE_PRESSED); in START_TEST()
1602 litest_assert_button_event(li, BTN_LEFT, LIBINPUT_BUTTON_STATE_RELEASED); in START_TEST()
1615 litest_button_click_debounced(dev, li, BTN_LEFT, true); in START_TEST()
1616 litest_button_click_debounced(dev, li, BTN_LEFT, false); in START_TEST()
1627 litest_button_click_debounced(dev, li, BTN_LEFT, true); in START_TEST()
1628 litest_button_click_debounced(dev, li, BTN_LEFT, false); in START_TEST()
1655 litest_enable_scroll_button_lock(dev, BTN_LEFT); in START_TEST()
1657 litest_button_click_debounced(dev, li, BTN_LEFT, true); in START_TEST()
1658 litest_button_click_debounced(dev, li, BTN_LEFT, false); in START_TEST()
1685 litest_button_click_debounced(dev, li, BTN_LEFT, true); in START_TEST()
1686 litest_button_click_debounced(dev, li, BTN_LEFT, false); in START_TEST()
1713 litest_enable_scroll_button_lock(dev, BTN_LEFT); in START_TEST()
1718 litest_button_click_debounced(dev, li, BTN_LEFT, true); in START_TEST()
1719 litest_button_click_debounced(dev, li, BTN_LEFT, false); in START_TEST()
1720 litest_assert_button_event(li, BTN_LEFT, LIBINPUT_BUTTON_STATE_PRESSED); in START_TEST()
1721 litest_assert_button_event(li, BTN_LEFT, LIBINPUT_BUTTON_STATE_RELEASED); in START_TEST()
1736 litest_button_click_debounced(dev, li, BTN_LEFT, true); in START_TEST()
1737 litest_button_click_debounced(dev, li, BTN_LEFT, false); in START_TEST()
1747 litest_button_click_debounced(dev, li, BTN_LEFT, true); in START_TEST()
1748 litest_button_click_debounced(dev, li, BTN_LEFT, false); in START_TEST()
1786 litest_enable_scroll_button_lock(dev, BTN_LEFT); in START_TEST()
1795 litest_button_click_debounced(dev, li, BTN_LEFT, true); in START_TEST()
1796 litest_button_click_debounced(dev, li, BTN_LEFT, false); in START_TEST()
1801 litest_button_click_debounced(dev, li, BTN_LEFT, true); in START_TEST()
1803 litest_button_click_debounced(dev, li, BTN_LEFT, false); in START_TEST()
1807 litest_button_click_debounced(dev, li, BTN_LEFT, true); in START_TEST()
1810 litest_button_click_debounced(dev, li, BTN_LEFT, false); in START_TEST()
1815 litest_button_click_debounced(dev, li, BTN_LEFT, true); in START_TEST()
1816 litest_button_click_debounced(dev, li, BTN_LEFT, false); in START_TEST()
1820 litest_button_click_debounced(dev, li, BTN_LEFT, true); in START_TEST()
1822 litest_button_click_debounced(dev, li, BTN_LEFT, false); in START_TEST()
1826 litest_button_click_debounced(dev, li, BTN_LEFT, true); in START_TEST()
1827 litest_button_click_debounced(dev, li, BTN_LEFT, false); in START_TEST()
1851 litest_button_click_debounced(dev, li, BTN_LEFT, true); in START_TEST()
1852 litest_button_click_debounced(dev, li, BTN_LEFT, false); in START_TEST()
1897 litest_enable_scroll_button_lock(dev, BTN_LEFT); in START_TEST()
1901 litest_button_click_debounced(dev, li, BTN_LEFT, true); in START_TEST()
1902 litest_button_click_debounced(dev, li, BTN_LEFT, false); in START_TEST()
1904 litest_button_click_debounced(dev, li, BTN_LEFT, true); in START_TEST()
1905 litest_button_click_debounced(dev, li, BTN_LEFT, false); in START_TEST()
1907 litest_assert_button_event(li, BTN_LEFT, LIBINPUT_BUTTON_STATE_PRESSED); in START_TEST()
1908 litest_assert_button_event(li, BTN_LEFT, LIBINPUT_BUTTON_STATE_RELEASED); in START_TEST()
2224 { BTN_LEFT, BTN_RIGHT, BTN_LEFT, BTN_RIGHT }, in START_TEST()
2225 { BTN_LEFT, BTN_RIGHT, BTN_RIGHT, BTN_LEFT }, in START_TEST()
2226 { BTN_RIGHT, BTN_LEFT, BTN_LEFT, BTN_RIGHT }, in START_TEST()
2227 { BTN_RIGHT, BTN_LEFT, BTN_RIGHT, BTN_LEFT }, in START_TEST()
2266 { BTN_LEFT, BTN_RIGHT, BTN_LEFT, BTN_RIGHT }, in START_TEST()
2267 { BTN_LEFT, BTN_RIGHT, BTN_RIGHT, BTN_LEFT }, in START_TEST()
2268 { BTN_RIGHT, BTN_LEFT, BTN_LEFT, BTN_RIGHT }, in START_TEST()
2269 { BTN_RIGHT, BTN_LEFT, BTN_RIGHT, BTN_LEFT }, in START_TEST()
2330 for (button = BTN_LEFT; button <= BTN_RIGHT; button++) { in START_TEST()
2356 { BTN_LEFT, BTN_RIGHT, BTN_LEFT, BTN_RIGHT }, in START_TEST()
2357 { BTN_LEFT, BTN_RIGHT, BTN_RIGHT, BTN_LEFT }, in START_TEST()
2358 { BTN_RIGHT, BTN_LEFT, BTN_LEFT, BTN_RIGHT }, in START_TEST()
2359 { BTN_RIGHT, BTN_LEFT, BTN_RIGHT, BTN_LEFT }, in START_TEST()
2418 for (button = BTN_LEFT; button <= BTN_RIGHT; button++) { in START_TEST()
2485 for (button = BTN_LEFT; button <= BTN_RIGHT; button++) { in START_TEST()
2486 litest_button_click_debounced(device, li, BTN_LEFT, true); in START_TEST()
2513 litest_button_click_debounced(device, li, BTN_LEFT, false); in START_TEST()
2685 status = libinput_device_config_scroll_set_button(device, BTN_LEFT); in START_TEST()
2691 litest_event(dev, EV_KEY, BTN_LEFT, 1); in START_TEST()
2725 litest_event(dev, EV_KEY, BTN_LEFT, 0); in START_TEST()
2757 status = libinput_device_config_scroll_set_button(device, BTN_LEFT); in START_TEST()
2765 litest_event(dev, EV_KEY, BTN_LEFT, 1); in START_TEST()
2775 litest_event(dev, EV_KEY, BTN_LEFT, 0); in START_TEST()
2806 litest_event(dev, EV_KEY, BTN_LEFT, 1); in START_TEST()
2988 litest_event(dev, EV_KEY, BTN_LEFT, 1); in START_TEST()
2991 BTN_LEFT, in START_TEST()
2998 litest_event(dev, EV_KEY, BTN_LEFT, 0); in START_TEST()
3001 BTN_LEFT, in START_TEST()
3014 litest_event(dev, EV_KEY, BTN_LEFT, 1); in debounce_trigger_spurious()
3021 BTN_LEFT, in debounce_trigger_spurious()
3024 litest_event(dev, EV_KEY, BTN_LEFT, 0); in debounce_trigger_spurious()
3027 litest_event(dev, EV_KEY, BTN_LEFT, 1); in debounce_trigger_spurious()
3035 BTN_LEFT, in debounce_trigger_spurious()
3038 BTN_LEFT, in debounce_trigger_spurious()
3042 litest_event(dev, EV_KEY, BTN_LEFT, 0); in debounce_trigger_spurious()
3048 BTN_LEFT, in debounce_trigger_spurious()
3125 litest_event(dev, EV_KEY, BTN_LEFT, 1); in START_TEST()
3138 BTN_LEFT, in START_TEST()
3141 litest_event(dev, EV_KEY, BTN_LEFT, 0); in START_TEST()
3143 litest_event(dev, EV_KEY, BTN_LEFT, 1); in START_TEST()
3145 litest_event(dev, EV_KEY, BTN_LEFT, 0); in START_TEST()
3147 litest_event(dev, EV_KEY, BTN_LEFT, 1); in START_TEST()
3149 litest_event(dev, EV_KEY, BTN_LEFT, 0); in START_TEST()
3151 litest_event(dev, EV_KEY, BTN_LEFT, 1); in START_TEST()
3153 litest_event(dev, EV_KEY, BTN_LEFT, 0); in START_TEST()
3160 BTN_LEFT, in START_TEST()
3175 litest_event(dev, EV_KEY, BTN_LEFT, 1); in START_TEST()
3182 BTN_LEFT, in START_TEST()
3188 litest_event(dev, EV_KEY, BTN_LEFT, 0); in START_TEST()
3192 litest_event(dev, EV_KEY, BTN_LEFT, 1); in START_TEST()
3196 litest_event(dev, EV_KEY, BTN_LEFT, 0); in START_TEST()
3200 litest_event(dev, EV_KEY, BTN_LEFT, 1); in START_TEST()
3208 BTN_LEFT, in START_TEST()
3211 BTN_LEFT, in START_TEST()
3215 litest_event(dev, EV_KEY, BTN_LEFT, 0); in START_TEST()
3218 litest_event(dev, EV_KEY, BTN_LEFT, 1); in START_TEST()
3224 litest_event(dev, EV_KEY, BTN_LEFT, 0); in START_TEST()
3230 BTN_LEFT, in START_TEST()
3250 litest_event(dev, EV_KEY, BTN_LEFT, 1); in START_TEST()
3256 litest_event(dev, EV_KEY, BTN_LEFT, 0); in START_TEST()
3260 litest_event(dev, EV_KEY, BTN_LEFT, 1); in START_TEST()
3262 litest_event(dev, EV_KEY, BTN_LEFT, 0); in START_TEST()
3270 BTN_LEFT, in START_TEST()
3273 BTN_LEFT, in START_TEST()
3280 BTN_LEFT, in START_TEST()
3283 BTN_LEFT, in START_TEST()
3292 litest_event(dev, EV_KEY, BTN_LEFT, 1); in START_TEST()
3298 litest_event(dev, EV_KEY, BTN_LEFT, 0); in START_TEST()
3302 BTN_LEFT, in START_TEST()
3305 BTN_LEFT, in START_TEST()
3325 litest_event(dev, EV_KEY, BTN_LEFT, 1); in START_TEST()
3333 litest_event(dev, EV_KEY, BTN_LEFT, 0); in START_TEST()
3337 litest_event(dev, EV_KEY, BTN_LEFT, 1); in START_TEST()
3339 litest_event(dev, EV_KEY, BTN_LEFT, 0); in START_TEST()
3347 BTN_LEFT, in START_TEST()
3350 BTN_LEFT, in START_TEST()
3357 BTN_LEFT, in START_TEST()
3360 BTN_LEFT, in START_TEST()
3382 litest_event(dev, EV_KEY, BTN_LEFT, 1); in START_TEST()
3388 litest_event(dev, EV_KEY, BTN_LEFT, 0); in START_TEST()
3406 BTN_LEFT, in START_TEST()
3409 BTN_LEFT, in START_TEST()
3433 litest_event(dev, EV_KEY, BTN_LEFT, 1); in START_TEST()
3435 litest_event(dev, EV_KEY, BTN_LEFT, 0); in START_TEST()
3460 litest_event(dev, EV_KEY, BTN_LEFT, 1); in START_TEST()
3479 struct range buttons = {BTN_LEFT, BTN_TASK + 1}; in TEST_COLLECTION()