Lines Matching refs:NBUTTONS
83 #define NBUTTONS 10 in init_pointer_buttons() macro
84 BYTE map[NBUTTONS + 1]; in init_pointer_buttons()
86 Atom btn_labels[NBUTTONS] = { 0 }; in init_pointer_buttons()
88 for (i = 1; i <= NBUTTONS; i++) in init_pointer_buttons()
100 if (!InitButtonClassDeviceStruct(device, NBUTTONS, btn_labels, map)) in init_pointer_buttons()
158 #undef NBUTTONS in xwl_pointer_proc()
253 #define NBUTTONS 1 in xwl_touch_proc() macro
255 Atom btn_labels[NBUTTONS] = { 0 }; in xwl_touch_proc()
257 BYTE map[NBUTTONS + 1] = { 0 }; in xwl_touch_proc()
270 if (!InitButtonClassDeviceStruct(device, NBUTTONS, btn_labels, map)) in xwl_touch_proc()
296 #undef NBUTTONS in xwl_touch_proc()
303 #define NBUTTONS 9 in xwl_tablet_proc() macro
305 Atom btn_labels[NBUTTONS] = { 0 }; in xwl_tablet_proc()
307 BYTE map[NBUTTONS + 1] = { 0 }; in xwl_tablet_proc()
314 for (i = 1; i <= NBUTTONS; i++) in xwl_tablet_proc()
349 if (!InitButtonClassDeviceStruct(device, NBUTTONS, btn_labels, map)) in xwl_tablet_proc()
366 #undef NBUTTONS in xwl_tablet_proc()