Lines Matching defs:current
163 t->button.current = 0;
166 t->button.current = BUTTON_EVENT_IN_AREA;
169 t->button.current = event;
174 t->button.current = event;
181 t->button.current = 0;
281 if (event != t->button.current)
327 if (event != t->button.current)
362 if (event != t->button.current)
396 if (event == t->button.current)
445 t->button.current = BUTTON_EVENT_IN_AREA;
460 enum button_state current = t->button.state;
486 if (current != t->button.state)
490 button_state_to_str(current),
1026 uint32_t current, old, button;
1028 current = tp->buttons.state;
1032 while (current || old) {
1035 if ((current & 0x1) ^ (old & 0x1)) {
1038 if (!!(current & 0x1))
1051 current >>= 1;
1220 uint32_t current, old, button, is_top;
1225 current = tp->buttons.state;
1229 if (!tp->buttons.click_pending && current == old)
1232 if (current) {
1249 switch (t->button.current) {