Searched refs:BTNMASK (Results 1 – 1 of 1) sorted by relevance
36 #define BTNMASK(n) ((n) > 0 && (n) <= 32 ? 1 << ((n) - 1) : 0) macro38 #define LEFTBTN BTNMASK(1)39 #define MIDDLEBTN BTNMASK(2)40 #define RIGHTBTN BTNMASK(3)1821 tp->tap.btnmap[0] = BTNMASK(val); in wstpad_set_param()1824 tp->tap.btnmap[1] = BTNMASK(val); in wstpad_set_param()1827 tp->tap.btnmap[2] = BTNMASK(val); in wstpad_set_param()