Home
last modified time | relevance | path

Searched refs:mouse_buttons (Results 1 – 3 of 3) sorted by relevance

/external/libvterm/src/
Dmouse.c64 if((state->mouse_flags & MOUSE_WANT_DRAG && state->mouse_buttons) || in vterm_mouse_move()
66 int button = state->mouse_buttons & 0x01 ? 1 : in vterm_mouse_move()
67 state->mouse_buttons & 0x02 ? 2 : in vterm_mouse_move()
68 state->mouse_buttons & 0x04 ? 3 : 4; in vterm_mouse_move()
77 int old_buttons = state->mouse_buttons; in vterm_mouse_button()
81 state->mouse_buttons |= (1 << (button-1)); in vterm_mouse_button()
83 state->mouse_buttons &= ~(1 << (button-1)); in vterm_mouse_button()
87 if(state->mouse_buttons == old_buttons && button < 4) in vterm_mouse_button()
Dvterm_internal.h84 int mouse_buttons; member
Dstate.c62 state->mouse_buttons = 0; in vterm_state_new()