Home
last modified time | relevance | path

Searched refs:NBUTTONS (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/external/xserver/hw/vfb/
H A DInitInput.c90 #define NBUTTONS 3 in vfbMouseProc() macro
93 BYTE map[NBUTTONS + 1]; in vfbMouseProc()
95 Atom btn_labels[NBUTTONS] = { 0 }; in vfbMouseProc()
111 InitPointerDeviceStruct(pDev, map, NBUTTONS, btn_labels, in vfbMouseProc()
129 #undef NBUTTONS in vfbMouseProc()
/OK3568_Linux_fs/external/xserver/hw/xquartz/
H A Ddarwin.c316 #define NBUTTONS 3 in DarwinMouseProc() macro
319 CARD8 map[NBUTTONS + 1] = { 0, 1, 2, 3}; in DarwinMouseProc()
320 Atom btn_labels[NBUTTONS] = { 0 }; in DarwinMouseProc()
339 InitPointerDeviceStruct((DevicePtr)pPointer, map, NBUTTONS, in DarwinMouseProc()
380 #undef NBUTTONS in DarwinMouseProc()
387 #define NBUTTONS 3 in DarwinTabletProc() macro
389 CARD8 map[NBUTTONS + 1] = { 0, 1, 2, 3 }; in DarwinTabletProc()
390 Atom btn_labels[NBUTTONS] = { 0 }; in DarwinTabletProc()
408 InitPointerDeviceStruct((DevicePtr)pPointer, map, NBUTTONS, in DarwinTabletProc()
448 #undef NBUTTONS in DarwinTabletProc()
/OK3568_Linux_fs/external/xserver/test/xi2/
H A Dprotocol-common.c80 #define NBUTTONS 10 in TestPointerProc() macro
82 BYTE map[NBUTTONS + 1]; in TestPointerProc()
84 Atom btn_labels[NBUTTONS] = { 0 }; in TestPointerProc()
89 for (i = 1; i <= NBUTTONS; i++) in TestPointerProc()
107 ((DevicePtr) pDev, map, NBUTTONS, btn_labels, in TestPointerProc()
134 #undef NBUTTONS in TestPointerProc()
/OK3568_Linux_fs/external/xserver/hw/xwayland/
H A Dxwayland-input.c83 #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()
[all …]
/OK3568_Linux_fs/external/xserver/dix/
H A Ddevices.c648 #define NBUTTONS 10 in CorePointerProc() macro
650 BYTE map[NBUTTONS + 1]; in CorePointerProc()
652 Atom btn_labels[NBUTTONS] = { 0 }; in CorePointerProc()
658 for (i = 1; i <= NBUTTONS; i++) in CorePointerProc()
674 ((DevicePtr) pDev, map, NBUTTONS, btn_labels, in CorePointerProc()
697 #undef NBUTTONS in CorePointerProc()
/OK3568_Linux_fs/external/xserver/
H A DChangeLog24547 xwayland: Expose all NBUTTONS buttons on the pointer
24552 btn_labels array, we subtitute 'NBUTTONS' in its place.