Searched refs:down_count (Results 1 – 2 of 2) sorted by relevance
41 int down_count; in fallback_keyboard_notify_key() local43 down_count = evdev_update_key_down_count(device, key, state); in fallback_keyboard_notify_key()45 if ((state == LIBINPUT_KEY_STATE_PRESSED && down_count == 1) || in fallback_keyboard_notify_key()46 (state == LIBINPUT_KEY_STATE_RELEASED && down_count == 0)) in fallback_keyboard_notify_key()
173 int down_count; in evdev_pointer_post_button() local175 down_count = evdev_update_key_down_count(device, button, state); in evdev_pointer_post_button()177 if ((state == LIBINPUT_BUTTON_STATE_PRESSED && down_count == 1) || in evdev_pointer_post_button()178 (state == LIBINPUT_BUTTON_STATE_RELEASED && down_count == 0)) { in evdev_pointer_post_button()