Home
last modified time | relevance | path

Searched refs:num_buttons (Results 1 – 14 of 14) sorted by relevance

/OK3568_Linux_fs/external/xserver/dix/
H A Deventconvert.c475 mask_len = bytes_to_int32(bits_to_bytes(dce->buttons.num_buttons)); in appendButtonInfo()
478 info->num_buttons = dce->buttons.num_buttons; in appendButtonInfo()
480 info->num_buttons + mask_len; in appendButtonInfo()
488 memcpy(bits, dce->buttons.names, dce->buttons.num_buttons * sizeof(Atom)); in appendButtonInfo()
556 if (dce->buttons.num_buttons) { in eventToDeviceChanged()
558 len += dce->buttons.num_buttons * sizeof(Atom); /* button names */ in eventToDeviceChanged()
559 len += pad_to_int32(bits_to_bytes(dce->buttons.num_buttons)); in eventToDeviceChanged()
596 if (dce->buttons.num_buttons) { in eventToDeviceChanged()
H A Denterleave.c641 ev->num_buttons = 0; in FixDeviceStateNotify()
646 ev->num_buttons = b->numButtons; in FixDeviceStateNotify()
H A Dgetevents.c273 dce->buttons.num_buttons = slave->button->numButtons; in CreateClassesChangedEvent()
274 for (i = 0; i < dce->buttons.num_buttons; i++) in CreateClassesChangedEvent()
H A Ddevices.c2508 .buttons.num_buttons = maxbuttons in RecalculateMasterButtons()
/OK3568_Linux_fs/external/xserver/test/xi2/
H A Dprotocol-xiquerydevice.c232 swaps(&bi->num_buttons); in reply_XIQueryDevice_data()
234 assert(bi->num_buttons == devices.vcp->button->numButtons); in reply_XIQueryDevice_data()
236 l = 2 + bi->num_buttons + in reply_XIQueryDevice_data()
237 bytes_to_int32(bits_to_bytes(bi->num_buttons)); in reply_XIQueryDevice_data()
H A Dprotocol-eventconvert.c666 swaps(&b->num_buttons); in test_values_XIDeviceChangedEvent()
671 bytes_to_int32(bits_to_bytes(b->num_buttons)) + in test_values_XIDeviceChangedEvent()
672 b->num_buttons); in test_values_XIDeviceChangedEvent()
673 assert(b->num_buttons == in->buttons.num_buttons); in test_values_XIDeviceChangedEvent()
676 pad_to_int32(bits_to_bytes(b->num_buttons))); in test_values_XIDeviceChangedEvent()
677 for (j = 0; j < b->num_buttons; j++) { in test_values_XIDeviceChangedEvent()
828 in.buttons.num_buttons = 0; in test_convert_XIDeviceChangedEvent()
831 in.buttons.num_buttons = 1; in test_convert_XIDeviceChangedEvent()
834 in.buttons.num_buttons = MAX_BUTTONS; in test_convert_XIDeviceChangedEvent()
/OK3568_Linux_fs/external/xserver/Xi/
H A Dxiquerydevice.c247 *mask_words = bytes_to_int32(bits_to_bytes(info->num_buttons)); in ButtonInfoData()
268 info->num_buttons = dev->button->numButtons; in ListButtonInfo()
271 info->num_buttons + mask_len; in ListButtonInfo()
300 for (i = 0 ; i < info->num_buttons; i++, btn++) in SwapButtonInfo()
303 swaps(&info->num_buttons); in SwapButtonInfo()
H A Dlistdev.c151 b2->num_buttons = b->numButtons; in CopySwapButtonClass()
153 swaps(&b2->num_buttons); in CopySwapButtonClass()
H A Dqueryst.c135 tb->num_buttons = b->numButtons; in ProcXQueryDeviceState()
H A Dextinit.c662 (bi->num_buttons))); in SDeviceChangedEvent()
663 for (j = 0; j < bi->num_buttons; j++) in SDeviceChangedEvent()
665 swaps(&bi->num_buttons); in SDeviceChangedEvent()
/OK3568_Linux_fs/external/xserver/include/
H A Deventstr.h181 int num_buttons; /**< Number of buttons */ member
/OK3568_Linux_fs/external/xserver/hw/dmx/input/
H A Ddmxcommon.c420 info->numButtons = bi->num_buttons; in dmxCommonOthGetInfo()
/OK3568_Linux_fs/buildroot/dl/ncurses/
HDncurses-6.1-20200118.patch.gz1# ncurses 6.1 - patch 20200118 - Thomas E. Dickey 2# 3# --- ...
/OK3568_Linux_fs/external/xserver/
H A DChangeLog126955 to slave->num_buttons). The remaining button labels (if any) stay as they