/dports/x11-wm/afterstep/AfterStep-1.0/modules/Wharf/ |
H A D | Wharf.c | 133 int num_buttons = 0; variable 276 if(num_buttons == 0) in main() 370 for(i=0;i<num_buttons;i++) in main() 388 for(i=0;i<num_buttons;i++) { in main() 750 for (x=0;x<num_buttons;x++) in Loop() 1357 first_avail_button = num_buttons; in CreateWindow() 1359 if(num_buttons > MAX_BUTTONS) in CreateWindow() 1679 && (num_buttons < MAX_BUTTONS)) in ParseOptions() 1712 num_buttons--; in ParseOptions() 1873 for (i=num_buttons - 2;i>=0;i--) in match_string() [all …]
|
/dports/x11-toolkits/qt5-gui/kde-qtbase-5.15.2p263/src/plugins/platforms/xcb/ |
H A D | qxcbconnection_xi2.cpp | 172 if (bci->num_buttons >= 5) { in xi2SetupDevice() 182 if (bci->num_buttons >= 7) { in xi2SetupDevice() 188 qCDebug(lcQpaXInputDevices, " has %d buttons", bci->num_buttons); in xi2SetupDevice()
|
/dports/x11-toolkits/plib/plib-1.8.5/src/js/ |
H A D | jsBSD.cxx | 132 int *num_axes, int *num_buttons) in joy_initialize_hid() argument 227 if (interesting_hid && usage - 1 > *num_buttons) in joy_initialize_hid() 229 *num_buttons = usage - 1; in joy_initialize_hid() 268 num_buttons = 0; in open() 272 num_buttons = 32 ; in open() 314 if ( !joy_initialize_hid(os, &num_axes, &num_buttons ) ) in open()
|
/dports/x11-drivers/xf86-input-joystick/xf86-input-joystick-1.6.3/src/ |
H A D | backend_bsd.c | 149 joystick->num_buttons = 0; in jstkOpenDevice_bsd() 187 if (joystick->num_buttons < MAXBUTTONS) { in jstkOpenDevice_bsd() 189 memcpy(&bsddata->button_item[joystick->num_buttons], &h, sizeof(h)); in jstkOpenDevice_bsd() 190 joystick->num_buttons++; in jstkOpenDevice_bsd() 206 joystick->num_buttons, joystick->num_axes); in jstkOpenDevice_bsd() 312 for (j=0; j<joystick->num_buttons; j++) { in jstkReadData_bsd()
|
/dports/x11-drivers/xf86-input-evdev/xf86-input-evdev-2.10.6/src/ |
H A D | evdev.c | 2185 num_buttons = 0; in EvdevProbe() 2194 if (mapping > num_buttons) in EvdevProbe() 2195 num_buttons = mapping; in EvdevProbe() 2203 if (num_buttons) in EvdevProbe() 2206 pEvdev->num_buttons = num_buttons; in EvdevProbe() 2223 if (!num_buttons) in EvdevProbe() 2226 num_buttons = (num_buttons < 3) ? 7 : num_buttons + 4; in EvdevProbe() 2227 pEvdev->num_buttons = num_buttons; in EvdevProbe() 2275 if (num_buttons == 0) { in EvdevProbe() 2281 num_buttons = 1; in EvdevProbe() [all …]
|
H A D | evdev.h | 191 int num_buttons; /* number of buttons */ member
|
/dports/x11/wlogout/wlogout-1.1.1/ |
H A D | main.c | 36 static int num_buttons = 0; variable 366 num_buttons++; in get_buttons() 367 buttons[num_buttons - 1].yalign = 0.9; in get_buttons() 368 buttons[num_buttons - 1].xalign = 0.5; in get_buttons() 369 buttons[num_buttons - 1].circular = FALSE; in get_buttons() 401 strcpy(buttons[num_buttons - 1].text, buf); in get_buttons() 486 for (int i = 0; i < num_buttons; i++) in check_key() 511 if ((num_buttons % buttons_per_row) == 0) in load_buttons() 513 num_col = (num_buttons / buttons_per_row); in load_buttons() 517 num_col = (num_buttons / buttons_per_row) + 1; in load_buttons() [all …]
|
/dports/x11/libwacom/libwacom-1.5/libwacom/ |
H A D | libwacomint.h | 93 int num_buttons; member 110 int num_buttons; member
|
/dports/net/tigervnc-server/tigervnc-1.12.0/unix/xserver/ |
H A D | ChangeLog | 127344 to slave->num_buttons). The remaining button labels (if any) stay as they
|
/dports/net/tigervnc-server/tigervnc-1.12.0/unix/xserver/test/xi2/ |
H A D | protocol-eventconvert.c | 666 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()
|
H A D | protocol-xiquerydevice.c | 232 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()
|
/dports/net/tigervnc-server/tigervnc-1.12.0/unix/xserver/dix/ |
H A D | devices.c | 2511 .buttons.num_buttons = maxbuttons in RecalculateMasterButtons()
|
H A D | eventconvert.c | 475 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 D | enterleave.c | 641 ev->num_buttons = 0; in FixDeviceStateNotify() 646 ev->num_buttons = b->numButtons; in FixDeviceStateNotify()
|
H A D | getevents.c | 273 dce->buttons.num_buttons = slave->button->numButtons; in CreateClassesChangedEvent() 274 for (i = 0; i < dce->buttons.num_buttons; i++) in CreateClassesChangedEvent()
|
/dports/net/tigervnc-server/tigervnc-1.12.0/unix/xserver/hw/dmx/input/ |
H A D | dmxcommon.c | 420 info->numButtons = bi->num_buttons; in dmxCommonOthGetInfo()
|
/dports/net/tigervnc-server/tigervnc-1.12.0/unix/xserver/include/ |
H A D | eventstr.h | 181 int num_buttons; /**< Number of buttons */ member
|
/dports/net/tigervnc-server/tigervnc-1.12.0/unix/xserver/Xi/ |
H A D | queryst.c | 135 tb->num_buttons = b->numButtons; in ProcXQueryDeviceState()
|
H A D | xiquerydevice.c | 247 *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 D | extinit.c | 662 (bi->num_buttons))); in SDeviceChangedEvent() 663 for (j = 0; j < bi->num_buttons; j++) in SDeviceChangedEvent() 665 swaps(&bi->num_buttons); in SDeviceChangedEvent()
|
H A D | listdev.c | 151 b2->num_buttons = b->numButtons; in CopySwapButtonClass() 153 swaps(&b2->num_buttons); in CopySwapButtonClass()
|
/dports/graphics/wings/wings-8d019ebe48/src/ |
H A D | wings_wm.erl | 1265 case wings_pref:get_value(num_buttons) of
|
H A D | wings_pref_dlg.erl | 604 num_buttons ->
|
H A D | wings_msg.erl | 45 Buttons = wings_pref:get_value(num_buttons), 50 Buttons = wings_pref:get_value(num_buttons), 61 Buttons = wings_pref:get_value(num_buttons), 93 case wings_pref:get_value(num_buttons) of 103 case wings_pref:get_value(num_buttons) of 120 case wings_pref:get_value(num_buttons) of 172 mmb_name(wings_pref:get_value(num_buttons)). 183 rmb_name(wings_pref:get_value(num_buttons)).
|
H A D | wings_menu.erl | 473 case wings_pref:get_value(num_buttons) of
|