Home
last modified time | relevance | path

Searched refs:buttons (Results 26 - 50 of 253) sorted by relevance

1234567891011

/third_party/backends/backend/genesys/
H A Dtables_model.cpp121 model.buttons = GENESYS_HAS_NO_BUTTONS; in genesys_init_usb_device_tables()
175 model.buttons = GENESYS_HAS_SCAN_SW | in genesys_init_usb_device_tables()
228 model.buttons = GENESYS_HAS_SCAN_SW; in genesys_init_usb_device_tables()
280 model.buttons = GENESYS_HAS_SCAN_SW | GENESYS_HAS_FILE_SW | GENESYS_HAS_COPY_SW; in genesys_init_usb_device_tables()
330 model.buttons = GENESYS_HAS_SCAN_SW | GENESYS_HAS_FILE_SW | GENESYS_HAS_COPY_SW | GENESYS_HAS_TRANSP_SW; in genesys_init_usb_device_tables()
382 model.buttons = GENESYS_HAS_SCAN_SW | GENESYS_HAS_FILE_SW | GENESYS_HAS_COPY_SW; in genesys_init_usb_device_tables()
450 model.buttons = GENESYS_HAS_TRANSP_SW | GENESYS_HAS_EMAIL_SW in genesys_init_usb_device_tables()
522 model.buttons = GENESYS_HAS_SCAN_SW | GENESYS_HAS_FILE_SW | GENESYS_HAS_COPY_SW | GENESYS_HAS_EMAIL_SW; in genesys_init_usb_device_tables()
588 model.buttons = GENESYS_HAS_SCAN_SW | GENESYS_HAS_FILE_SW | GENESYS_HAS_COPY_SW; in genesys_init_usb_device_tables()
641 model.buttons in genesys_init_usb_device_tables()
[all...]
/kernel/linux/linux-5.10/drivers/input/keyboard/
H A Dtca6416-keypad.c51 struct tca6416_button buttons[]; member
106 struct tca6416_button *button = &chip->buttons[pin_index]; in tca6416_keys_scan()
219 chip = kzalloc(struct_size(chip, buttons, pdata->nbuttons), GFP_KERNEL); in tca6416_keypad_probe()
253 chip->buttons[i] = pdata->buttons[i]; in tca6416_keypad_probe()
254 type = (pdata->buttons[i].type) ?: EV_KEY; in tca6416_keypad_probe()
255 input_set_capability(input, type, pdata->buttons[i].code); in tca6416_keypad_probe()
H A Dcros_ec_keyb.c41 * @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 Dgpio_keys_polled.c3 * 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()
/kernel/linux/linux-6.6/drivers/input/keyboard/
H A Dtca6416-keypad.c52 struct tca6416_button buttons[]; member
107 struct tca6416_button *button = &chip->buttons[pin_index]; in tca6416_keys_scan()
206 struct_size(chip, buttons, pdata->nbuttons), in tca6416_keypad_probe()
239 chip->buttons[i] = pdata->buttons[i]; in tca6416_keypad_probe()
240 type = (pdata->buttons[i].type) ?: EV_KEY; in tca6416_keypad_probe()
241 input_set_capability(input, type, pdata->buttons[i].code); in tca6416_keypad_probe()
H A Dgpio_keys_polled.c3 * 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()
/kernel/linux/linux-5.10/drivers/misc/ibmasm/
H A Dremote.c125 unsigned char buttons = input->mouse_buttons; in print_input() local
128 (buttons) ? " -- buttons:" : "", in print_input()
129 (buttons & REMOTE_BUTTON_LEFT) ? "left " : "", in print_input()
130 (buttons & REMOTE_BUTTON_MIDDLE) ? "middle " : "", in print_input()
131 (buttons & REMOTE_BUTTON_RIGHT) ? "right" : "" in print_input()
146 unsigned char buttons = input->mouse_buttons; in send_mouse_event() local
150 input_report_key(dev, BTN_LEFT, buttons & REMOTE_BUTTON_LEFT); in send_mouse_event()
151 input_report_key(dev, BTN_MIDDLE, buttons & REMOTE_BUTTON_MIDDLE); in send_mouse_event()
152 input_report_key(dev, BTN_RIGHT, buttons in send_mouse_event()
[all...]
/kernel/linux/linux-6.6/drivers/misc/ibmasm/
H A Dremote.c125 unsigned char buttons = input->mouse_buttons; in print_input() local
128 (buttons) ? " -- buttons:" : "", in print_input()
129 (buttons & REMOTE_BUTTON_LEFT) ? "left " : "", in print_input()
130 (buttons & REMOTE_BUTTON_MIDDLE) ? "middle " : "", in print_input()
131 (buttons & REMOTE_BUTTON_RIGHT) ? "right" : "" in print_input()
146 unsigned char buttons = input->mouse_buttons; in send_mouse_event() local
150 input_report_key(dev, BTN_LEFT, buttons & REMOTE_BUTTON_LEFT); in send_mouse_event()
151 input_report_key(dev, BTN_MIDDLE, buttons & REMOTE_BUTTON_MIDDLE); in send_mouse_event()
152 input_report_key(dev, BTN_RIGHT, buttons in send_mouse_event()
[all...]
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-playstation.c207 uint8_t buttons[4]; member
421 uint8_t buttons[3]; member
508 * Common gamepad buttons across DualShock 3 / 4 and DualSense.
1352 value = ds_report->buttons[0] & DS_BUTTONS0_HAT_SWITCH; in dualsense_parse_report()
1358 input_report_key(ds->gamepad, BTN_WEST, ds_report->buttons[0] & DS_BUTTONS0_SQUARE); in dualsense_parse_report()
1359 input_report_key(ds->gamepad, BTN_SOUTH, ds_report->buttons[0] & DS_BUTTONS0_CROSS); in dualsense_parse_report()
1360 input_report_key(ds->gamepad, BTN_EAST, ds_report->buttons[0] & DS_BUTTONS0_CIRCLE); in dualsense_parse_report()
1361 input_report_key(ds->gamepad, BTN_NORTH, ds_report->buttons[0] & DS_BUTTONS0_TRIANGLE); in dualsense_parse_report()
1362 input_report_key(ds->gamepad, BTN_TL, ds_report->buttons[1] & DS_BUTTONS1_L1); in dualsense_parse_report()
1363 input_report_key(ds->gamepad, BTN_TR, ds_report->buttons[ in dualsense_parse_report()
[all...]
/kernel/linux/linux-5.10/arch/mips/sgi-ip22/
H A Dip22-reset.c142 unsigned int buttons; in panel_int() local
144 buttons = sgioc->panel; in panel_int()
160 if (!(buttons & SGIOC_PANEL_POWERINTR)) in panel_int()
/kernel/linux/linux-6.6/arch/mips/sgi-ip22/
H A Dip22-reset.c142 unsigned int buttons; in panel_int() local
144 buttons = sgioc->panel; in panel_int()
160 if (!(buttons & SGIOC_PANEL_POWERINTR)) in panel_int()
/kernel/linux/linux-5.10/drivers/input/joystick/
H A Djoydump.c37 int axes[4], buttons; in joydump_connect() local
57 gameport_cooked_read(gameport, axes, &buttons); in joydump_connect()
61 printk(KERN_INFO "joydump: | Buttons %02x. |\n", buttons); in joydump_connect()
H A Dadi.c54 * Names, buttons, axes ...
98 char buttons; member
216 for (i = 0; i < adi->buttons && i < 63; i++) { in adi_decode()
231 for (i = 63; i < adi->buttons; i++) in adi_decode()
339 adi->buttons = adi_get_bits(adi, 6); in adi_id_decode()
347 adi->buttons += adi_get_bits(adi, 6); in adi_id_decode()
363 t = 8 + adi->buttons + adi->axes10 * 10 + adi->axes8 * 8 + adi->hats * 4; in adi_id_decode()
373 adi->buttons -= 4; in adi_id_decode()
377 adi->buttons -= 4; in adi_id_decode()
422 for (i = 0; i < adi->buttons; in adi_init_input()
[all...]
H A Dtwidjoy.c14 * 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-5.10/drivers/input/gameport/
H A Dfm801-gp.c29 static int fm801_gp_cooked_read(struct gameport *gameport, int *axes, int *buttons) in fm801_gp_cooked_read() argument
34 *buttons = (~w >> 14) & 0x03; in fm801_gp_cooked_read()
39 *buttons |= ((~w >> 14) & 0x03) << 2; in fm801_gp_cooked_read()
/kernel/linux/linux-6.6/drivers/input/joystick/
H A Djoydump.c34 int axes[4], buttons; in joydump_connect() local
54 gameport_cooked_read(gameport, axes, &buttons); in joydump_connect()
58 printk(KERN_INFO "joydump: | Buttons %02x. |\n", buttons); in joydump_connect()
H A Dadi.c51 * Names, buttons, axes ...
95 char buttons; member
213 for (i = 0; i < adi->buttons && i < 63; i++) { in adi_decode()
228 for (i = 63; i < adi->buttons; i++) in adi_decode()
336 adi->buttons = adi_get_bits(adi, 6); in adi_id_decode()
344 adi->buttons += adi_get_bits(adi, 6); in adi_id_decode()
360 t = 8 + adi->buttons + adi->axes10 * 10 + adi->axes8 * 8 + adi->hats * 4; in adi_id_decode()
370 adi->buttons -= 4; in adi_id_decode()
374 adi->buttons -= 4; in adi_id_decode()
419 for (i = 0; i < adi->buttons; in adi_init_input()
[all...]
H A Dtwidjoy.c14 * 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/drivers/input/gameport/
H A Dfm801-gp.c29 static int fm801_gp_cooked_read(struct gameport *gameport, int *axes, int *buttons) in fm801_gp_cooked_read() argument
34 *buttons = (~w >> 14) & 0x03; in fm801_gp_cooked_read()
39 *buttons |= ((~w >> 14) & 0x03) << 2; in fm801_gp_cooked_read()
/kernel/linux/linux-5.10/drivers/input/misc/
H A Dims-pcu.c109 struct ims_pcu_buttons buttons; member
185 struct ims_pcu_buttons *buttons = &pcu->buttons; in ims_pcu_buttons_report() local
186 struct input_dev *input = buttons->input; in ims_pcu_buttons_report()
190 unsigned short keycode = buttons->keymap[i]; in ims_pcu_buttons_report()
203 struct ims_pcu_buttons *buttons = &pcu->buttons; in ims_pcu_setup_buttons() local
215 snprintf(buttons->name, sizeof(buttons->name), in ims_pcu_setup_buttons()
218 usb_make_path(pcu->udev, buttons in ims_pcu_setup_buttons()
252 struct ims_pcu_buttons *buttons = &pcu->buttons; ims_pcu_destroy_buttons() local
[all...]
/kernel/linux/linux-6.6/drivers/input/misc/
H A Dims-pcu.c109 struct ims_pcu_buttons buttons; member
185 struct ims_pcu_buttons *buttons = &pcu->buttons; in ims_pcu_buttons_report() local
186 struct input_dev *input = buttons->input; in ims_pcu_buttons_report()
190 unsigned short keycode = buttons->keymap[i]; in ims_pcu_buttons_report()
203 struct ims_pcu_buttons *buttons = &pcu->buttons; in ims_pcu_setup_buttons() local
215 snprintf(buttons->name, sizeof(buttons->name), in ims_pcu_setup_buttons()
218 usb_make_path(pcu->udev, buttons in ims_pcu_setup_buttons()
252 struct ims_pcu_buttons *buttons = &pcu->buttons; ims_pcu_destroy_buttons() local
[all...]
/third_party/backends/backend/
H A Dplustek-pp_models.c246 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 Dhp3900_debug.c66 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...]
/kernel/linux/linux-6.6/drivers/platform/x86/
H A Dbarco-p50-gpio.c101 static struct gpio_keys_button buttons[] = { variable
112 .buttons = buttons,
113 .nbuttons = ARRAY_SIZE(buttons),
350 buttons[0].gpio += p50->gc.base; in p50_gpio_probe()
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dcs42l43-jack.c90 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...]

Completed in 17 milliseconds

1234567891011