Searched refs:MAX_BUTTONS (Results 1 – 11 of 11) sorted by relevance
113 uint8_t buttons[(MAX_BUTTONS + 7) / 8]; /**< Button mask */182 Atom names[MAX_BUTTONS];/**< Button names */
95 #define MAX_BUTTONS 256 /* completely arbitrarily chosen */ macro99 #define MAP_LENGTH MAX_BUTTONS100 #define DOWN_LENGTH (MAX_BUTTONS/8) /* 256/8 => number of bytes to hold 256 bits */
369 Atom labels[MAX_BUTTONS];
2096 BYTE map[MAX_BUTTONS + 1]; in xwl_tablet_pad_proc()2098 Atom btn_labels[MAX_BUTTONS] = { 0 }; /* btn labels are meaningless */ in xwl_tablet_pad_proc()2113 for (i = 1; i <= MAX_BUTTONS; i++) in xwl_tablet_pad_proc()2117 nbuttons = min(max(pad->nbuttons + 4, 7), MAX_BUTTONS); in xwl_tablet_pad_proc()
788 for (i = 0; i < MAX_BUTTONS; i++) in test_convert_XIDeviceChangedEvent()834 in.buttons.num_buttons = MAX_BUTTONS; in test_convert_XIDeviceChangedEvent()
655 btlen = bytes_to_int32(bits_to_bytes(MAX_BUTTONS)); in eventToDeviceEvent()
1627 BUG_RETURN_VAL(buttons >= MAX_BUTTONS, 0); in GetPointerEvents()
1264 BUG_RETURN_VAL(numButtons >= MAX_BUTTONS, FALSE); in InitButtonClassDeviceStruct()
410 Atom btn_labels[MAX_BUTTONS] = { 0 }; /* FIXME */ in dmxDeviceOnOff()
54 #define MAX_BUTTONS (HID_SYSINFO_MAX_BTN) macro60 #define TABLE_BUTTON_MAX_SIZE (MAX_BUTTONS * 2)4970 int btn_num = MAX_BUTTONS; in cyttsp5_device_access_probe()
39401 MAP_LENGTH depends on MAX_BUTTONS which is somewhat arbitrarily chosen. We51042 dix: prevent a driver from initializing or submitting buttons > MAX_BUTTONS51044 The server internally relies on arrays with a MAX_BUTTONS maximum size (which