/kernel/linux/linux-5.10/drivers/input/keyboard/ |
H A D | cros_ec_keyb.c | 41 * @bs_idev: The input device for non-matrix buttons and switches (or NULL). 197 * cros_ec_keyb_report_bs - Report non-matrixed buttons or switches 199 * This takes a bitmap of buttons or switches from the EC and reports events, 204 * @mask: A bitmap of buttons from the EC. 270 &ckdev->ec->event_data.data.buttons); in cros_ec_keyb_work() 378 * kernel. Note that we don't query for buttons because they are more 423 * cros_ec_keyb_register_bs - Register non-matrix buttons/switches 425 * Handles all the bits of the keyboard driver related to non-matrix buttons 429 * If this device has no support for buttons and switches we'll return no error 443 u32 buttons; in cros_ec_keyb_register_bs() local [all...] |
H A D | gpio_keys_polled.c | 3 * Driver for buttons on GPIO lines not capable of generating interrupts 101 gpio_keys_button_event(input, &pdata->buttons[i], in gpio_keys_polled_poll() 104 gpio_keys_polled_check_state(input, &pdata->buttons[i], in gpio_keys_polled_poll() 161 pdata->buttons = button; in gpio_keys_polled_get_devtree_pdata() 208 const struct gpio_keys_button *button = &pdata->buttons[i]; in gpio_keys_polled_set_abs_params() 280 const struct gpio_keys_button *button = &pdata->buttons[i]; in gpio_keys_polled_probe() 369 /* report initial state of the buttons */ in gpio_keys_polled_probe() 371 gpio_keys_polled_check_state(input, &pdata->buttons[i], in gpio_keys_polled_probe()
|
/third_party/backends/backend/ |
H A D | plustek-pp_models.c | 246 ps->Device.buttons = 0; in ModelSet4800() 305 ps->Device.buttons = 1; in ModelSet4830() 361 ps->Device.buttons = 0; in ModelSet600() 398 ps->Device.buttons = 0; in ModelSet12000() 422 ps->Device.buttons = 1; in ModelSetA3I() 494 ps->Device.buttons = 1; in ModelSet9630() 561 ps->Device.buttons = 0; in ModelSet9636()
|
H A D | hp3900_debug.c | 66 static void dbg_buttons (struct st_buttons *buttons); 216 dbg_buttons (struct st_buttons *buttons) in dbg_buttons() argument 218 if (buttons != NULL) in dbg_buttons() 223 buttons->count, buttons->mask[0], buttons->mask[1], in dbg_buttons() 224 buttons->mask[2], buttons->mask[3], buttons->mask[4], in dbg_buttons() 225 buttons in dbg_buttons() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_v2/inspector/ |
H A D | alertdialog_composed_element.cpp | 98 auto confirm = renderDialog->GetDialogProperties().buttons;
in GetConfirm() 141 auto primary = renderDialog->GetDialogProperties().buttons;
in GetPrimaryButton() 159 auto secondary = renderDialog->GetDialogProperties().buttons;
in GetSecondaryButton()
|
/kernel/linux/linux-5.10/drivers/input/joystick/ |
H A D | twidjoy.c | 14 * The Twiddler is a one-handed chording keyboard featuring twelve buttons on 15 * the front, six buttons on the top, and a built-in tilt sensor. The buttons 16 * on the front, which are grouped as four rows of three buttons, are pressed 18 * at the same time) and the buttons on the top are for the thumb. The tilt 26 * controller with amazing 18 buttons :-) 58 int buttons[3]; member 104 input_report_key(dev, bp->buttons[i], i+1 == value); in twidjoy_process_packet() 199 set_bit(bp->buttons[i], input_dev->keybit); in twidjoy_connect()
|
/kernel/linux/linux-6.6/drivers/input/joystick/ |
H A D | twidjoy.c | 14 * The Twiddler is a one-handed chording keyboard featuring twelve buttons on 15 * the front, six buttons on the top, and a built-in tilt sensor. The buttons 16 * on the front, which are grouped as four rows of three buttons, are pressed 18 * at the same time) and the buttons on the top are for the thumb. The tilt 26 * controller with amazing 18 buttons :-) 55 int buttons[3]; member 101 input_report_key(dev, bp->buttons[i], i+1 == value); in twidjoy_process_packet() 196 set_bit(bp->buttons[i], input_dev->keybit); in twidjoy_connect()
|
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | cs42l43-jack.c | 90 ret = device_property_count_u32(cs42l43->dev, "cirrus,buttons-ohms"); in cs42l43_set_jack() 93 dev_err(priv->dev, "Property cirrus,buttons-ohms malformed: %d\n", in cs42l43_set_jack() 100 dev_err(priv->dev, "Property cirrus,buttons-ohms too many entries\n"); in cs42l43_set_jack() 104 device_property_read_u32_array(cs42l43->dev, "cirrus,buttons-ohms", in cs42l43_set_jack() 105 priv->buttons, ret); in cs42l43_set_jack() 107 priv->buttons[0] = 70; in cs42l43_set_jack() 108 priv->buttons[1] = 185; in cs42l43_set_jack() 109 priv->buttons[2] = 355; in cs42l43_set_jack() 110 priv->buttons[3] = 735; in cs42l43_set_jack() 361 unsigned int buttons in cs42l43_button_press_work() local [all...] |
/foundation/arkui/ace_engine/frameworks/core/components/picker/ |
H A D | picker_animation_controller.cpp | 212 auto buttons = ref->buttons_.Upgrade(); in CreateInOpacityAnimation() 213 if (buttons) { in CreateInOpacityAnimation() 214 buttons->UpdateOpacity(static_cast<uint8_t>(value)); in CreateInOpacityAnimation() 216 LOGW("buttons display is null in picker animation."); in CreateInOpacityAnimation() 295 auto buttons = ref->buttons_.Upgrade(); in CreateOutOpacityAnimation() 296 if (buttons) { in CreateOutOpacityAnimation() 297 buttons->UpdateOpacity(static_cast<uint8_t>(value)); in CreateOutOpacityAnimation()
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/subwindow/ |
H A D | subwindow_ohos.h | 106 void ShowDialog(const std::string& title, const std::string& message, const std::vector<ButtonInfo>& buttons, 109 void ShowDialog(const PromptDialogAttr& dialogAttr, const std::vector<ButtonInfo>& buttons, 179 const std::vector<ButtonInfo>& buttons, bool autoCancel, std::function<void(int32_t, int32_t)>&& callback, 182 const std::vector<ButtonInfo>& buttons, bool autoCancel, std::function<void(int32_t, int32_t)>&& callback, 184 void ShowDialogForAbility(const PromptDialogAttr& dialogAttr, const std::vector<ButtonInfo>& buttons, 186 void ShowDialogForService(const PromptDialogAttr& dialogAttr, const std::vector<ButtonInfo>& buttons,
|
/kernel/linux/linux-6.6/drivers/input/keyboard/ |
H A D | gpio_keys_polled.c | 3 * Driver for buttons on GPIO lines not capable of generating interrupts 101 gpio_keys_button_event(input, &pdata->buttons[i], in gpio_keys_polled_poll() 104 gpio_keys_polled_check_state(input, &pdata->buttons[i], in gpio_keys_polled_poll() 161 pdata->buttons = button; in gpio_keys_polled_get_devtree_pdata() 208 const struct gpio_keys_button *button = &pdata->buttons[i]; in gpio_keys_polled_set_abs_params() 280 const struct gpio_keys_button *button = &pdata->buttons[i]; in gpio_keys_polled_probe() 363 /* report initial state of the buttons */ in gpio_keys_polled_probe() 365 gpio_keys_polled_check_state(input, &pdata->buttons[i], in gpio_keys_polled_probe()
|
H A D | cros_ec_keyb.c | 45 * @bs_idev: The input device for non-matrix buttons and switches (or NULL). 218 * cros_ec_keyb_report_bs - Report non-matrixed buttons or switches 220 * This takes a bitmap of buttons or switches from the EC and reports events, 225 * @mask: A bitmap of buttons from the EC. 291 &ckdev->ec->event_data.data.buttons); in cros_ec_keyb_work() 399 * kernel. Note that we don't query for buttons because they are more 444 * cros_ec_keyb_register_bs - Register non-matrix buttons/switches 446 * Handles all the bits of the keyboard driver related to non-matrix buttons 450 * If this device has no support for buttons and switches we'll return no error 467 u32 buttons; in cros_ec_keyb_register_bs() local [all...] |
/kernel/linux/linux-5.10/drivers/input/mouse/ |
H A D | logips2pp.c | 68 case 0x0e: /* buttons 4, 5, 6, 7, 8, 9, 10 info */ in ps2pp_process_byte() 362 u8 model, buttons; in ps2pp_detect() local 375 buttons = param[1]; in ps2pp_detect() 377 if (!model || !buttons) in ps2pp_detect() 435 if (buttons >= 3) in ps2pp_detect()
|
/kernel/linux/linux-6.6/drivers/input/mouse/ |
H A D | logips2pp.c | 68 case 0x0e: /* buttons 4, 5, 6, 7, 8, 9, 10 info */ in ps2pp_process_byte() 362 u8 model, buttons; in ps2pp_detect() local 375 buttons = param[1]; in ps2pp_detect() 377 if (!model || !buttons) in ps2pp_detect() 435 if (buttons >= 3) in ps2pp_detect()
|
/kernel/linux/linux-5.10/drivers/media/usb/em28xx/ |
H A D | em28xx-input.c | 504 * Handle buttons 522 /* Check states of the buttons and act */ in em28xx_query_buttons() 524 while (dev->board.buttons[j].role >= 0 && in em28xx_query_buttons() 525 dev->board.buttons[j].role < EM28XX_NUM_BUTTON_ROLES) { in em28xx_query_buttons() 528 button = &dev->board.buttons[j]; in em28xx_query_buttons() 627 while (dev->board.buttons[i].role >= 0 && in em28xx_init_buttons() 628 dev->board.buttons[i].role < EM28XX_NUM_BUTTON_ROLES) { in em28xx_init_buttons() 629 const struct em28xx_button *button = &dev->board.buttons[i]; in em28xx_init_buttons() 714 if (dev->board.buttons) in em28xx_ir_init()
|
/kernel/linux/linux-6.6/drivers/media/usb/em28xx/ |
H A D | em28xx-input.c | 494 * Handle buttons 512 /* Check states of the buttons and act */ in em28xx_query_buttons() 514 while (dev->board.buttons[j].role >= 0 && in em28xx_query_buttons() 515 dev->board.buttons[j].role < EM28XX_NUM_BUTTON_ROLES) { in em28xx_query_buttons() 518 button = &dev->board.buttons[j]; in em28xx_query_buttons() 617 while (dev->board.buttons[i].role >= 0 && in em28xx_init_buttons() 618 dev->board.buttons[i].role < EM28XX_NUM_BUTTON_ROLES) { in em28xx_init_buttons() 619 const struct em28xx_button *button = &dev->board.buttons[i]; in em28xx_init_buttons() 704 if (dev->board.buttons) in em28xx_ir_init()
|
/third_party/libinput/tools/ |
H A D | libinput-debug-gui.c | 141 /* l/m/r mouse buttons */ 146 } buttons; member 661 const char *name = w->buttons.other_name; in draw_other_button() 665 if (!w->buttons.other) in draw_other_button() 691 if (w->buttons.l || w->buttons.m || w->buttons.r) { in draw_buttons() 693 if (w->buttons.l) in draw_buttons() 695 if (w->buttons.m) in draw_buttons() 697 if (w->buttons in draw_buttons() [all...] |
/kernel/linux/linux-5.10/sound/pci/au88x0/ |
H A D | au88x0_game.c | 43 vortex_game_cooked_read(struct gameport *gameport, int *axes, int *buttons) in vortex_game_cooked_read() argument 48 *buttons = (~hwread(vortex->mmio, VORTEX_GAME_LEGACY) >> 4) & 0xf; in vortex_game_cooked_read()
|
/kernel/linux/linux-6.6/sound/pci/au88x0/ |
H A D | au88x0_game.c | 43 vortex_game_cooked_read(struct gameport *gameport, int *axes, int *buttons) in vortex_game_cooked_read() argument 48 *buttons = (~hwread(vortex->mmio, VORTEX_GAME_LEGACY) >> 4) & 0xf; in vortex_game_cooked_read()
|
/third_party/node/doc/api_assets/ |
H A D | api.js | 140 const buttons = document.querySelectorAll('.copy-button'); 141 buttons.forEach((button) => {
|
/third_party/node/doc/api/assets/ |
H A D | api.js | 140 const buttons = document.querySelectorAll('.copy-button'); 141 buttons.forEach((button) => {
|
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/dialog/ |
H A D | dialog_pattern.h | 351 RefPtr<FrameNode> BuildButtons(const std::vector<ButtonInfo>& buttons, const DialogButtonDirection& direction); 353 const std::vector<ButtonInfo>& buttons, const RefPtr<NG::FrameNode>& container, bool isVertical); 367 RefPtr<FrameNode> BuildMenu(const std::vector<ButtonInfo>& buttons, bool hasTitle); 382 void UpdatePropertyForElderly(const std::vector<ButtonInfo>& buttons); 383 bool NeedsButtonDirectionChange(const std::vector<ButtonInfo>& buttons);
|
/foundation/arkui/ace_engine/frameworks/bridge/cj_frontend/frontend/ |
H A D | cj_frontend_abstract.cpp | 241 const std::vector<ButtonInfo>& buttons, std::function<void(int32_t, int32_t)>&& callback, in ShowDialog() 244 DialogProperties dialogProperties = { .title = title, .content = message, .buttons = buttons }; in ShowDialog() 290 .buttons = button, in ShowActionMenu() 299 dialogProperties.buttons.emplace_back(buttonInfo); in ShowActionMenuInner() 240 ShowDialog(const std::string& title, const std::string& message, const std::vector<ButtonInfo>& buttons, std::function<void(int32_t, int32_t)>&& callback, const std::set<std::string>& callbacks) ShowDialog() argument
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/ |
H A D | frontend_delegate.h | 177 const std::vector<ButtonInfo>& buttons, bool autoCancel, std::function<void(int32_t, int32_t)>&& callback, 179 virtual void ShowDialog(const PromptDialogAttr& dialogAttr, const std::vector<ButtonInfo>& buttons, in ShowDialog() argument 182 const std::vector<ButtonInfo>& buttons, bool autoCancel, std::function<void(int32_t, int32_t)>&& callback, in ShowDialog() 184 virtual void ShowDialog(const PromptDialogAttr& dialogAttr, const std::vector<ButtonInfo>& buttons, in ShowDialog() argument 206 virtual void ShowActionMenu(const PromptDialogAttr& dialogAttr, const std::vector<ButtonInfo>& buttons, in ShowActionMenu() argument 181 ShowDialog(const std::string& title, const std::string& message, const std::vector<ButtonInfo>& buttons, bool autoCancel, std::function<void(int32_t, int32_t)>&& callback, const std::set<std::string>& callbacks, std::function<void(bool)>&& onStatusChanged) ShowDialog() argument
|
/kernel/linux/linux-5.10/arch/mips/bcm47xx/ |
H A D | buttons.c | 459 static int __init bcm47xx_buttons_copy(const struct gpio_keys_button *buttons, in bcm47xx_buttons_copy() argument 462 size_t size = nbuttons * sizeof(*buttons); in bcm47xx_buttons_copy() 464 bcm47xx_button_pdata.buttons = kmemdup(buttons, size, GFP_KERNEL); in bcm47xx_buttons_copy() 465 if (!bcm47xx_button_pdata.buttons) in bcm47xx_buttons_copy() 704 pr_debug("No buttons configuration found for this device\n"); in bcm47xx_buttons_register()
|