Searched refs:NCURSES_MOUSE_MASK (Results 1 – 2 of 2) sorted by relevance
/openbsd/lib/libcurses/ |
H A D | curses.h | 1945 #define NCURSES_MOUSE_MASK(b,m) ((m) << (((b) - 1) * 5)) macro 1947 #define NCURSES_MOUSE_MASK(b,m) ((m) << (((b) - 1) * 6)) macro 1994 #define BUTTON_CTRL NCURSES_MOUSE_MASK(6, 0001L) 1995 #define BUTTON_SHIFT NCURSES_MOUSE_MASK(6, 0002L) 1996 #define BUTTON_ALT NCURSES_MOUSE_MASK(6, 0004L) 1997 #define REPORT_MOUSE_POSITION NCURSES_MOUSE_MASK(6, 0010L) 2006 #define BUTTON_CTRL NCURSES_MOUSE_MASK(5, 0001L) 2007 #define BUTTON_SHIFT NCURSES_MOUSE_MASK(5, 0002L) 2008 #define BUTTON_ALT NCURSES_MOUSE_MASK(5, 0004L) 2009 #define REPORT_MOUSE_POSITION NCURSES_MOUSE_MASK(5, 0010L) [all …]
|
/openbsd/lib/libcurses/base/ |
H A D | lib_mouse.c | 139 #define MASK_RELEASE(x) (mmask_t) NCURSES_MOUSE_MASK(x, 001) 140 #define MASK_PRESS(x) (mmask_t) NCURSES_MOUSE_MASK(x, 002) 141 #define MASK_CLICK(x) (mmask_t) NCURSES_MOUSE_MASK(x, 004) 142 #define MASK_DOUBLE_CLICK(x) (mmask_t) NCURSES_MOUSE_MASK(x, 010) 143 #define MASK_TRIPLE_CLICK(x) (mmask_t) NCURSES_MOUSE_MASK(x, 020) 144 #define MASK_RESERVED_EVENT(x) (mmask_t) NCURSES_MOUSE_MASK(x, 040) 1330 mmask_t pressed = (mmask_t) NCURSES_MOUSE_MASK(b3, NCURSES_BUTTON_PRESSED); in decode_xterm_SGR1006() 1331 mmask_t release = (mmask_t) NCURSES_MOUSE_MASK(b3, NCURSES_BUTTON_RELEASED); in decode_xterm_SGR1006()
|