Home
last modified time | relevance | path

Searched refs:buttons (Results 1 – 181 of 181) sorted by relevance

/linux-4.4.14/drivers/input/joystick/
Dmaplecontrol.c28 unsigned short buttons; in dc_pad_callback() local
34 buttons = ~le16_to_cpup((__le16 *)(res + 8)); in dc_pad_callback()
37 (buttons & 0x0010 ? -1 : 0) + (buttons & 0x0020 ? 1 : 0)); in dc_pad_callback()
39 (buttons & 0x0040 ? -1 : 0) + (buttons & 0x0080 ? 1 : 0)); in dc_pad_callback()
41 (buttons & 0x1000 ? -1 : 0) + (buttons & 0x2000 ? 1 : 0)); in dc_pad_callback()
43 (buttons & 0x4000 ? -1 : 0) + (buttons & 0x8000 ? 1 : 0)); in dc_pad_callback()
45 input_report_key(dev, BTN_C, buttons & 0x0001); in dc_pad_callback()
46 input_report_key(dev, BTN_B, buttons & 0x0002); in dc_pad_callback()
47 input_report_key(dev, BTN_A, buttons & 0x0004); in dc_pad_callback()
48 input_report_key(dev, BTN_START, buttons & 0x0008); in dc_pad_callback()
[all …]
Danalog.c116 short *buttons; member
133 int buttons; member
202 static void analog_decode(struct analog *analog, int *axes, int *initial, int buttons) in analog_decode() argument
210 buttons |= 1 << (i + 14); in analog_decode()
216 input_report_key(dev, analog->buttons[j++], (buttons >> i) & 1); in analog_decode()
220 input_report_key(dev, analog->buttons[j++], (buttons >> (i + 10)) & 1); in analog_decode()
238 ((buttons >> ((i << 2) + 7)) & 1) - ((buttons >> ((i << 2) + 9)) & 1)); in analog_decode()
240 ((buttons >> ((i << 2) + 8)) & 1) - ((buttons >> ((i << 2) + 6)) & 1)); in analog_decode()
309 port->buttons = (~u >> 4) & 0xf; in analog_button_read()
313 port->buttons = 0; in analog_button_read()
[all …]
Djoydump.c53 int axes[4], buttons; in joydump_connect() local
73 gameport_cooked_read(gameport, axes, &buttons); in joydump_connect()
77 printk(KERN_INFO "joydump: | Buttons %02x. |\n", buttons); in joydump_connect()
Dadi.c114 char buttons; member
232 for (i = 0; i < adi->buttons && i < 63; i++) { in adi_decode()
247 for (i = 63; i < adi->buttons; i++) in adi_decode()
355 adi->buttons = adi_get_bits(adi, 6); in adi_id_decode()
363 adi->buttons += adi_get_bits(adi, 6); in adi_id_decode()
379 t = 8 + adi->buttons + adi->axes10 * 10 + adi->axes8 * 8 + adi->hats * 4; in adi_id_decode()
389 adi->buttons -= 4; in adi_id_decode()
393 adi->buttons -= 4; in adi_id_decode()
438 for (i = 0; i < adi->buttons; i++) in adi_init_input()
Dtwidjoy.c70 int buttons[3]; member
116 input_report_key(dev, bp->buttons[i], i+1 == value); in twidjoy_process_packet()
211 set_bit(bp->buttons[i], input_dev->keybit); in twidjoy_connect()
Da3d.c59 int buttons; member
137 a3d->buttons = ((data[3] << 3) | data[4]) & 0xf; in a3d_read()
197 static int a3d_adc_cooked_read(struct gameport *gameport, int *axes, int *buttons) in a3d_adc_cooked_read() argument
204 *buttons = a3d->buttons; in a3d_adc_cooked_read()
Dgrip_mp.c44 int buttons; member
411 port->buttons = (~packet) & 0xff; in get_and_decode_packet()
517 input_report_key(port->dev, grip_btn_gp[i], (port->buttons >> i) & 1); in report_slot()
Dtmdc.c100 const short *buttons; member
299 port->btn = model->buttons; in tmdc_setup_port()
Ddb9.c95 const short *buttons; member
641 set_bit(db9_mode->buttons[j], input_dev->keybit); in db9_attach()
DKconfig24 with rudders, additional hats and buttons compatible with CH
/linux-4.4.14/drivers/mfd/
Ducb1x00-assabet.c45 static struct gpio_keys_button buttons[6]; in ucb1x00_assabet_add() local
48 memset(buttons, 0, sizeof(buttons)); in ucb1x00_assabet_add()
51 for (i = 0; i < ARRAY_SIZE(buttons); i++) { in ucb1x00_assabet_add()
52 buttons[i].code = BTN_0 + i; in ucb1x00_assabet_add()
53 buttons[i].gpio = ucb->gpio.base + i; in ucb1x00_assabet_add()
54 buttons[i].type = EV_KEY; in ucb1x00_assabet_add()
55 buttons[i].can_disable = true; in ucb1x00_assabet_add()
58 keys.buttons = buttons; in ucb1x00_assabet_add()
59 keys.nbuttons = ARRAY_SIZE(buttons); in ucb1x00_assabet_add()
Dmc13xxx-core.c459 pdata->buttons, sizeof(*pdata->buttons)); in mc13xxx_common_init()
DKconfig1029 inputs from buttons and the IR remote, LEDs, an RTC, and more.
/linux-4.4.14/Documentation/input/
Dgamepad.txt39 4 buttons in diamonds-shape (on the right side). The buttons are
43 4 buttons (on the left side) that point up, down, left and right.
45 Different constellations, but most-times 2 buttons: SELECT - START
47 special system-button. It often looks different to the other buttons and
55 Not all devices provide them, but the upper buttons are normally named
56 Left- and Right-Triggers, the lower buttons Z-Left and Z-Right.
77 the buttons from this protocol. However, they try to do this in a compatible
78 fashion. For example, the "Nintendo Wii Nunchuk" provides two trigger buttons
80 analog stick and two trigger buttons on the right side.
93 Every gamepad device has at least 2 action buttons. This means, that every
[all …]
Dxpad.txt8 Due to backwards compatibility all buttons are reported as digital.
10 have only digital face buttons.
20 The number of buttons/axes reported varies based on 3 things:
24 module configuration for "Map D-PAD to buttons rather than axes for unknown
29 If you said Y it will map the d-pad to buttons, which is needed for dance
42 axes and 10 buttons.
49 All of the 10 buttons work (in digital mode). The six buttons on the
60 When using a known dance pad, jstest will report 6 axes and 14 buttons.
67 Known dance pads automatically map the d-pad to buttons and will work
71 of buttons, see section 0.3 - Unknown Controllers
[all …]
Dgameport-programming.txt72 int my_cooked_read(struct gameport *gameport, int *axes, int *buttons)
78 buttons[i] = my_mmio[4];
149 Read the buttons and ns558 oneshot bits. If set to NULL, inb(io) will be
152 int (*cooked_read)(struct gameport *, int *axes, int *buttons);
156 and buttons[0] with four bits representing the buttons.
Djoystick-parport.txt103 connectors. Anyway, if you've got a gamepad, and it has buttons A, B, Turbo
106 also use 5 wires, but have more buttons. They will work as well, of course.
249 For joysticks with two buttons you connect the second button to pin 7 on
265 including 1 and 2 buttons Multisystem joysticks.
306 Steffen's version, there is support for up to 5 buttons per joystick. However,
369 to the Sega Master System pads. They use more buttons (3+1, 5+1, 6+1). Use
396 Sega Saturn has eight buttons, and to transfer that, without hacks like
492 3 | Genesis pad (3+1 buttons)
493 5 | Genesis pad (5+1 buttons)
494 6 | Genesis pad (6+2 buttons)
[all …]
Dalps.txt32 00-00-64 if no buttons are pressed. The bits 0-2 of the first byte will be 1s
33 if some buttons are pressed.
86 extra buttons, stick buttons on a dualpoint, etc.
99 pointingstick and touchpad buttons.
123 the pointingstick and touchpad buttons, except for Dell dualpoint devices
124 where the pointingstick buttons get reported separately in the PSM, PSR
161 Note that for some devices the trackstick buttons are reported in this packet,
Devent-codes.txt31 - Used to describe state changes of keyboards, buttons, or other key-like
287 device but do not have physical buttons associated with the trackstick
289 visual/haptic areas for left, middle, right buttons intended to be used
292 If INPUT_PROP_TOPBUTTONPAD is set, userspace should emulate buttons
313 further buttons of the device. REL_WHEEL and REL_HWHEEL should be used to report
342 BTN_{STYLUS,STYLUS2} should be used to report buttons on the tool itself. Any
343 button may be used for buttons on the tablet except BTN_{MOUSE,LEFT}.
344 BTN_{0,1,2,etc} are good generic codes for unlabeled buttons. Do not use
345 meaningful buttons, like BTN_FORWARD, unless the button is labeled for that
Djoystick-api.txt199 #define JSIOCGBUTTONS /* get number of buttons char */
281 int buttons; /* immediate button state */
290 To test the state of the buttons,
292 first_button_state = js.buttons & 1;
293 second_button_state = js.buttons & 2;
Datarikbd.txt53 The mouse buttons can be treated as part of the mouse or as additional
78 MOUSE BUTTON ACTION has set the buttons to act like part of the keyboard.
98 break code for the appropriate cursor key. The mouse buttons produce scan
151 for the appropriate cursor motion keys. The trigger or fire buttons of the
178 reporting mode for joystick 1, with both buttons being logically assigned to
182 both buttons are logically connected to it. If a mouse disable command is
220 ; mss=100, mouse buttons act like keys
222 This command sets how the ikbd should treat the buttons on the mouse. The
223 default mouse button action mode is %00000000, the buttons are treated as part
225 When buttons act like keys, LEFT=0x74 & RIGHT=0x75.
[all …]
Dsentelic.txt5 * Finger Sensing Pad Intellimouse Mode(scrolling wheel, 4th and 5th buttons)
461 2a. For FSP version < STL3888 Cx, determine number of buttons by reading
464 buttons = reg[0x20] & 0x30
466 if buttons == 0x30 or buttons == 0x20:
467 # two/four buttons
470 elif buttons == 0x10:
471 # 6 buttons
474 elif buttons == 0x00:
475 # 6 buttons
741 bit5~bit4 RO number of buttons
Djoystick.txt122 move the stick, and press its buttons. The axes should all be zero when the
169 It also supports extensions like additional hats and buttons compatible
181 For other joystick types (more/less axes, hats, and buttons) support
201 fullchf | CH Flightstick compatible with two hats and 6 buttons
256 There is one caveat with the 3D Pro. There are 9 buttons reported,
493 models, the additional buttons on the 'Plus' versions are not supported yet.
585 to 2 axes, and applications using it usually decode only 2 buttons, although
Dinput-programming.txt172 The most simple event type is EV_KEY, which is used for keys and buttons.
190 Having the device report EV_REL buttons is as simple as with EV_KEY, simply
Delantech.txt71 (TouchPadOff=0) will also disable the buttons associated with the touchpad.
285 directly to L, M and R mouse buttons
451 of the buttons, 1 otherwise)
Dinput.txt207 mouse and ExplorerPS/2 if you want to use extra (up to 5) buttons.
/linux-4.4.14/drivers/input/mouse/
Datarimouse.c70 int buttons, dx, dy; in atamouse_interrupt() local
72 buttons = (buf[0] & 1) | ((buf[0] & 2) << 1); in atamouse_interrupt()
74 buttons |= atari_mouse_buttons & 2; in atamouse_interrupt()
75 atari_mouse_buttons = buttons; in atamouse_interrupt()
85 input_report_key(atamouse_dev, BTN_LEFT, buttons & 0x4); in atamouse_interrupt()
86 input_report_key(atamouse_dev, BTN_MIDDLE, buttons & 0x2); in atamouse_interrupt()
87 input_report_key(atamouse_dev, BTN_RIGHT, buttons & 0x1); in atamouse_interrupt()
Dlogibm.c80 unsigned char buttons; in logibm_interrupt() local
89 buttons = inb(LOGIBM_DATA_PORT); in logibm_interrupt()
90 dy |= (buttons & 0xf) << 4; in logibm_interrupt()
91 buttons = ~buttons >> 5; in logibm_interrupt()
95 input_report_key(logibm_dev, BTN_RIGHT, buttons & 1); in logibm_interrupt()
96 input_report_key(logibm_dev, BTN_MIDDLE, buttons & 2); in logibm_interrupt()
97 input_report_key(logibm_dev, BTN_LEFT, buttons & 4); in logibm_interrupt()
Dinport.c88 unsigned char buttons; in inport_interrupt() local
100 buttons = inb(INPORT_DATA_PORT); in inport_interrupt()
102 input_report_key(inport_dev, BTN_MIDDLE, buttons & 1); in inport_interrupt()
103 input_report_key(inport_dev, BTN_LEFT, buttons & 2); in inport_interrupt()
104 input_report_key(inport_dev, BTN_RIGHT, buttons & 4); in inport_interrupt()
Dmaplemouse.c28 int buttons, relx, rely, relz; in dc_mouse_callback() local
34 buttons = ~res[8]; in dc_mouse_callback()
39 input_report_key(dev, BTN_LEFT, buttons & 4); in dc_mouse_callback()
40 input_report_key(dev, BTN_MIDDLE, buttons & 9); in dc_mouse_callback()
41 input_report_key(dev, BTN_RIGHT, buttons & 2); in dc_mouse_callback()
Dlogips2pp.c332 unsigned char model, buttons; in ps2pp_init() local
346 buttons = param[1]; in ps2pp_init()
348 if (!model || !buttons) in ps2pp_init()
416 if (buttons >= 3) in ps2pp_init()
Dsentelic.h110 unsigned int buttons; /* Number of buttons */ member
Dsentelic.c329 static const int buttons[] = { in fsp_get_buttons() local
340 *btn = buttons[(val & 0x30) >> 4]; in fsp_get_buttons()
893 if (fsp_get_buttons(psmouse, &pad->buttons)) { in fsp_activate_protocol()
902 if (pad->buttons == 0x06) { in fsp_activate_protocol()
Dcyapa_gen5.c2626 u8 buttons = report_data->report_head[PIP_BUTTONS_OFFSET]; in cyapa_pip_report_buttons() local
2628 buttons = (buttons << CAPABILITY_BTN_SHIFT) & CAPABILITY_BTN_MASK; in cyapa_pip_report_buttons()
2632 !!(buttons & CAPABILITY_LEFT_BTN_MASK)); in cyapa_pip_report_buttons()
2636 !!(buttons & CAPABILITY_MIDDLE_BTN_MASK)); in cyapa_pip_report_buttons()
2640 !!(buttons & CAPABILITY_RIGHT_BTN_MASK)); in cyapa_pip_report_buttons()
DKconfig25 mice with wheels and extra buttons, Microsoft, Logitech or Genius
350 Say Y here if your device has buttons or a simple joystick connected
/linux-4.4.14/arch/mips/ath79/
Ddev-gpio-buttons.c21 struct gpio_keys_button *buttons) in ath79_register_gpio_keys_polled() argument
28 p = kmemdup(buttons, nbuttons * sizeof(*p), GFP_KERNEL); in ath79_register_gpio_keys_polled()
39 pdata.buttons = p; in ath79_register_gpio_keys_polled()
Ddev-gpio-buttons.h21 struct gpio_keys_button *buttons);
DMakefile20 obj-$(CONFIG_ATH79_DEV_GPIO_BUTTONS) += dev-gpio-buttons.o
/linux-4.4.14/drivers/input/
Dmousedev.c57 unsigned long buttons; member
92 unsigned long buttons; member
255 set_bit(index, &mousedev->packet.buttons); in mousedev_key_event()
256 set_bit(index, &mousedev_mix->packet.buttons); in mousedev_key_event()
258 clear_bit(index, &mousedev->packet.buttons); in mousedev_key_event()
259 clear_bit(index, &mousedev_mix->packet.buttons); in mousedev_key_event()
278 if (client->ready && p->buttons != mousedev->packet.buttons) { in mousedev_notify_readers()
303 p->buttons = mousedev->packet.buttons; in mousedev_notify_readers()
306 p->buttons != client->last_buttons) in mousedev_notify_readers()
333 set_bit(0, &mousedev->packet.buttons); in mousedev_touchpad_touch()
[all …]
Djoydev.c346 for (data.buttons = i = 0; i < 32 && i < joydev->nkey; i++) in joydev_0x_read()
347 data.buttons |= in joydev_0x_read()
/linux-4.4.14/drivers/misc/ibmasm/
Dremote.c139 unsigned char buttons = input->mouse_buttons; in print_input() local
142 (buttons) ? " -- buttons:" : "", in print_input()
143 (buttons & REMOTE_BUTTON_LEFT) ? "left " : "", in print_input()
144 (buttons & REMOTE_BUTTON_MIDDLE) ? "middle " : "", in print_input()
145 (buttons & REMOTE_BUTTON_RIGHT) ? "right" : "" in print_input()
160 unsigned char buttons = input->mouse_buttons; in send_mouse_event() local
164 input_report_key(dev, BTN_LEFT, buttons & REMOTE_BUTTON_LEFT); in send_mouse_event()
165 input_report_key(dev, BTN_MIDDLE, buttons & REMOTE_BUTTON_MIDDLE); in send_mouse_event()
166 input_report_key(dev, BTN_RIGHT, buttons & REMOTE_BUTTON_RIGHT); in send_mouse_event()
/linux-4.4.14/drivers/input/keyboard/
Dgpio_keys_polled.c106 gpio_keys_button_event(dev, &pdata->buttons[i], in gpio_keys_polled_poll()
109 gpio_keys_polled_check_state(dev, &pdata->buttons[i], in gpio_keys_polled_poll()
162 pdata->buttons = (struct gpio_keys_button *)(pdata + 1); in gpio_keys_polled_get_devtree_pdata()
181 button = &pdata->buttons[pdata->nbuttons++]; in gpio_keys_polled_get_devtree_pdata()
223 struct gpio_keys_button *button = &pdata->buttons[i]; in gpio_keys_polled_set_abs_params()
303 struct gpio_keys_button *button = &pdata->buttons[i]; in gpio_keys_polled_probe()
361 gpio_keys_polled_check_state(poll_dev, &pdata->buttons[i], in gpio_keys_polled_probe()
Dtca6416-keypad.c54 struct tca6416_button buttons[0]; member
109 struct tca6416_button *button = &chip->buttons[pin_index]; in tca6416_keys_scan()
258 chip->buttons[i] = pdata->buttons[i]; in tca6416_keypad_probe()
259 type = (pdata->buttons[i].type) ?: EV_KEY; in tca6416_keypad_probe()
260 input_set_capability(input, type, pdata->buttons[i].code); in tca6416_keypad_probe()
Dgpio_keys.c626 pdata->buttons = (struct gpio_keys_button *)(pdata + 1); in gpio_keys_get_devtree_pdata()
635 button = &pdata->buttons[i++]; in gpio_keys_get_devtree_pdata()
755 const struct gpio_keys_button *button = &pdata->buttons[i]; in gpio_keys_probe()
DKconfig192 This driver implements support for buttons connected
195 Say Y here if your device has buttons connected
204 tristate "Polled GPIO buttons"
208 This driver implements support for buttons connected
211 Say Y here if your device has buttons connected
607 Say Y to enable support for the buttons attached to
/linux-4.4.14/drivers/input/gameport/
Dfm801-gp.c44 static int fm801_gp_cooked_read(struct gameport *gameport, int *axes, int *buttons) in fm801_gp_cooked_read() argument
49 *buttons = (~w >> 14) & 0x03; in fm801_gp_cooked_read()
54 *buttons |= ((~w >> 14) & 0x03) << 2; in fm801_gp_cooked_read()
Dlightning.c76 static int l4_cooked_read(struct gameport *gameport, int *axes, int *buttons) in l4_cooked_read() argument
100 *buttons = inb(L4_PORT) & 0x0f; in l4_cooked_read()
/linux-4.4.14/arch/mips/sgi-ip22/
Dip22-reset.c143 unsigned int buttons; in panel_int() local
145 buttons = sgioc->panel; in panel_int()
162 if (!(buttons & SGIOC_PANEL_POWERINTR)) in panel_int()
/linux-4.4.14/drivers/input/misc/
Dims-pcu.c114 struct ims_pcu_buttons buttons; member
190 struct ims_pcu_buttons *buttons = &pcu->buttons; in ims_pcu_buttons_report() local
191 struct input_dev *input = buttons->input; in ims_pcu_buttons_report()
195 unsigned short keycode = buttons->keymap[i]; in ims_pcu_buttons_report()
208 struct ims_pcu_buttons *buttons = &pcu->buttons; in ims_pcu_setup_buttons() local
220 snprintf(buttons->name, sizeof(buttons->name), in ims_pcu_setup_buttons()
223 usb_make_path(pcu->udev, buttons->phys, sizeof(buttons->phys)); in ims_pcu_setup_buttons()
224 strlcat(buttons->phys, "/input0", sizeof(buttons->phys)); in ims_pcu_setup_buttons()
226 memcpy(buttons->keymap, keymap, sizeof(*keymap) * keymap_len); in ims_pcu_setup_buttons()
228 input->name = buttons->name; in ims_pcu_setup_buttons()
[all …]
DKconfig203 tristate "MC13783 ON buttons"
206 Support the ON buttons of MC13783 PMIC as an input device
234 tristate "Fujitsu Lifebook Application Panel buttons"
239 Say Y here for support of the Application Panel buttons, used on
323 Say Y here for support of Atlas wallmount touchscreen buttons.
338 This driver provides mouse pointer, left and right mouse buttons,
339 and maps all the other remote buttons to keypress events.
353 supported at this time. This driver maps all buttons to keypress
Dsoc_button_array.c112 gpio_keys_pdata->buttons = gpio_keys; in soc_button_device_create()
/linux-4.4.14/arch/mips/bcm47xx/
Dbuttons.c394 static int __init bcm47xx_buttons_copy(const struct gpio_keys_button *buttons, in bcm47xx_buttons_copy() argument
397 size_t size = nbuttons * sizeof(*buttons); in bcm47xx_buttons_copy()
399 bcm47xx_button_pdata.buttons = kmemdup(buttons, size, GFP_KERNEL); in bcm47xx_buttons_copy()
400 if (!bcm47xx_button_pdata.buttons) in bcm47xx_buttons_copy()
DMakefile7 obj-y += board.o buttons.o leds.o workarounds.o
/linux-4.4.14/sound/pci/au88x0/
Dau88x0_game.c56 vortex_game_cooked_read(struct gameport *gameport, int *axes, int *buttons) in vortex_game_cooked_read() argument
61 *buttons = (~hwread(vortex->mmio, VORTEX_GAME_LEGACY) >> 4) & 0xf; in vortex_game_cooked_read()
/linux-4.4.14/Documentation/ABI/obsolete/
Dsysfs-driver-hid-roccat-kovaplus66 press of a button. A profile is split in settings and buttons.
69 buttons back to the mouse. The data has to be 23 bytes long.
81 press of a button. A profile is split in settings and buttons.
83 When read, these files return the respective profile buttons.
93 press of a button. A profile is split in settings and buttons.
109 press of a button. A profile is split in settings and buttons.
Dsysfs-driver-hid-roccat-pyra52 press of a button. A profile is split in settings and buttons.
55 buttons back to the mouse. The data has to be 19 bytes long.
67 press of a button. A profile is split in settings and buttons.
69 When read, these files return the respective profile buttons.
79 press of a button. A profile is split in settings and buttons.
95 press of a button. A profile is split in settings and buttons.
Dsysfs-driver-hid-roccat-koneplus59 press of a button. A profile is split in settings and buttons.
62 buttons back to the mouse. The data has to be 77 bytes long.
74 press of a button. A profile is split in settings and buttons.
76 When read, these files return the respective profile buttons.
86 press of a button. A profile is split in settings and buttons.
102 press of a button. A profile is split in settings and buttons.
Dsysfs-driver-hid-roccat-savu1 …config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/savu/roccatsavu<minor>/buttons
6 button settings. buttons holds informations about button layout.
8 buttons to the mouse. The data has to be 47 bytes long.
Dsysfs-driver-hid-roccat-arvo39 When read, this file returns the current state of the buttons.
40 When written, the given buttons are activated/deactivated
Dsysfs-driver-hid-roccat-konepure44 press of a button. A profile is split in settings and buttons.
47 buttons back to the mouse. The data has to be 59 bytes long.
59 press of a button. A profile is split in settings and buttons.
/linux-4.4.14/Documentation/devicetree/bindings/sound/
Dnau8825.txt33 - nuvoton,sar-threshold-num: Number of buttons supported
34 …- nuvoton,sar-threshold: Impedance threshold for each button. Array that contains up to 8 buttons
89 // Setup 4 buttons impedance according to Android specification
Dda7219.txt56 - dlg,a-d-btn-thr : Impedance threshold between buttons A and D
58 - dlg,d-b-btn-thr : Impedance threshold between buttons D and B
60 - dlg,b-c-btn-thr : Impedance threshold between buttons B and C
/linux-4.4.14/drivers/media/usb/em28xx/
Dem28xx-input.c507 while (dev->board.buttons[j].role >= 0 && in em28xx_query_buttons()
508 dev->board.buttons[j].role < EM28XX_NUM_BUTTON_ROLES) { in em28xx_query_buttons()
509 struct em28xx_button *button = &dev->board.buttons[j]; in em28xx_query_buttons()
609 while (dev->board.buttons[i].role >= 0 && in em28xx_init_buttons()
610 dev->board.buttons[i].role < EM28XX_NUM_BUTTON_ROLES) { in em28xx_init_buttons()
611 struct em28xx_button *button = &dev->board.buttons[i]; in em28xx_init_buttons()
692 if (dev->board.buttons) in em28xx_ir_init()
Dem28xx.h480 struct em28xx_button *buttons; member
Dem28xx-cards.c1551 .buttons = std_snapshot_button,
1573 .buttons = std_snapshot_button,
2241 .buttons = speedlink_vad_laplace_buttons,
2992 if (dev->board.buttons || in request_module_async()
/linux-4.4.14/include/linux/
Dtca6416_keypad.h26 struct tca6416_button *buttons; member
Dgameport.h185 static inline int gameport_cooked_read(struct gameport *gameport, int *axes, int *buttons) in gameport_cooked_read() argument
188 return gameport->cooked_read(gameport, axes, buttons); in gameport_cooked_read()
Dgpio_keys.h49 struct gpio_keys_button *buttons; member
/linux-4.4.14/arch/mips/cobalt/
DMakefile5 obj-y := buttons.o irq.o lcd.o led.o mtd.o reset.o rtc.o serial.o setup.o time.o
/linux-4.4.14/sound/soc/codecs/
Dnau8825.c585 int buttons = 0; in nau8825_button_decode() local
589 buttons |= SND_JACK_BTN_0; in nau8825_button_decode()
591 buttons |= SND_JACK_BTN_1; in nau8825_button_decode()
593 buttons |= SND_JACK_BTN_2; in nau8825_button_decode()
595 buttons |= SND_JACK_BTN_3; in nau8825_button_decode()
597 buttons |= SND_JACK_BTN_4; in nau8825_button_decode()
599 buttons |= SND_JACK_BTN_5; in nau8825_button_decode()
601 return buttons; in nau8825_button_decode()
/linux-4.4.14/arch/arm/mach-pxa/
Dcsb701.c22 .buttons = csb701_buttons,
Dezx.c713 .buttons = a780_buttons,
855 .buttons = e680_buttons,
923 .buttons = a1200_buttons,
991 .buttons = a910_buttons,
1184 .buttons = e6_buttons,
Dpalmt5.c157 .buttons = palmt5_pxa_buttons,
Dpalmld.c225 .buttons = palmld_pxa_buttons,
Dpalmte2.c126 .buttons = palmte2_pxa_buttons,
Dpalmtx.c225 .buttons = palmtx_pxa_buttons,
Dpalmtc.c146 .buttons = palmtc_pxa_buttons,
Dvpac270.c265 .buttons = vpac270_pxa_buttons,
Dz2.c460 .buttons = z2_pxa_buttons,
Dmainstone.c404 .buttons = gpio_keys_button,
Dcorgi.c436 .buttons = corgi_gpio_keys,
Dmioa701.c269 .buttons = mioa701_button_table,
Dmagician.c172 .buttons = magician_button_table,
Dhx4700.c190 .buttons = gpio_keys_buttons,
Dspitz.c435 .buttons = spitz_gpio_keys,
Dtosa.c536 .buttons = tosa_gpio_keys,
Draumfeld.c449 .buttons = gpio_keys_button,
Dem-x270.c939 .buttons = gpio_keys_button,
/linux-4.4.14/arch/arm/mach-gemini/
Dboard-rut1xx.c36 .buttons = rut1xx_keys,
Dboard-nas4220b.c77 .buttons = ib4220b_keys,
Dboard-wbd222.c38 .buttons = wbd222_keys,
Dboard-wbd111.c38 .buttons = wbd111_keys,
/linux-4.4.14/arch/x86/platform/intel-mid/device_libs/
Dplatform_gpio_keys.c42 .buttons = gpio_button,
/linux-4.4.14/arch/x86/platform/geode/
Dgeos.c45 .buttons = geos_gpio_buttons,
Dnet5501.c48 .buttons = net5501_gpio_buttons,
Dalix.c56 .buttons = alix_gpio_buttons,
/linux-4.4.14/arch/arm/mach-sa1100/
Dsimpad.c264 .buttons = simpad_button_table,
285 .buttons = simpad_polled_button_table,
Dh3xxx.c236 .buttons = h3xxx_button_table,
Dcollie.c261 .buttons = collie_gpio_keys,
/linux-4.4.14/include/uapi/linux/
Djoystick.h112 __s32 buttons; member
/linux-4.4.14/arch/sh/boards/mach-rsk/
Ddevices-rsk7203.c109 .buttons = rsk7203_gpio_keys_table,
/linux-4.4.14/arch/arm/mach-s3c24xx/
Dmach-n30.c147 .buttons = n30_buttons,
237 .buttons = n35_buttons,
Dmach-gta02.c489 .buttons = gta02_buttons,
Dmach-mini2440.c380 .buttons = mini2440_buttons,
Dmach-h1940.c619 .buttons = h1940_buttons,
Dmach-rx1950.c693 .buttons = rx1950_gpio_keys_table,
/linux-4.4.14/arch/arm/mach-s3c64xx/
Dmach-smartq5.c98 .buttons = smartq5_buttons,
Dmach-smartq7.c114 .buttons = smartq7_buttons,
Dmach-crag6410.c230 .buttons = crag6410_gpio_keys,
/linux-4.4.14/arch/unicore32/kernel/
Dpuv3-nb0916.c84 .buttons = nb0916_gpio_keys,
/linux-4.4.14/arch/arm/mach-orion5x/
Ddns323-setup.c281 .buttons = dns323ab_buttons,
295 .buttons = dns323c_buttons,
Dls_hgl-setup.c153 .buttons = ls_hgl_buttons,
Dmv2120-setup.c93 .buttons = mv2120_buttons,
Dwrt350n-v2-setup.c87 .buttons = wrt350n_v2_buttons,
Dls-chl-setup.c185 .buttons = lschl_buttons,
Dts409-setup.c228 .buttons = qnap_ts409_buttons,
Dts209-setup.c222 .buttons = qnap_ts209_buttons,
Dnet2big-setup.c327 .buttons = net2big_buttons,
/linux-4.4.14/arch/arm/mach-imx/
Dmach-pcm037_eet.c157 .buttons = pcm037_gpio_keys,
Dmach-vpr200.c136 .buttons = vpr200_gpio_keys_table,
Dmach-imx27_visstrim_m10.c306 .buttons = visstrim_gpio_keys,
Dmach-armadillo5x0.c283 .buttons = armadillo5x0_buttons,
Dmach-mx31moboard.c284 .buttons = &moboard_buttons,
DKconfig29 buttons, LEDs and JTAG) are implemented. Between the MCU and
/linux-4.4.14/Documentation/devicetree/bindings/input/
Dgpio-keys-polled.txt24 all buttons with linux,input-type == type and linux,code == axis
/linux-4.4.14/arch/sh/boards/mach-x3proto/
Dsetup.c200 .buttons = baseboard_buttons,
/linux-4.4.14/arch/mips/alchemy/
Dboard-mtx1.c120 .buttons = mtx1_gpio_button,
/linux-4.4.14/drivers/hid/
Dhid-roccat-savu.c33 ROCCAT_COMMON2_BIN_ATTRIBUTE_RW(buttons, 0x7, 0x2f);
Dwacom_sys.c771 DEVICE_LUMINANCE_ATTR(buttons, img_lum);
DKconfig779 is pressure sensitive buttons on the pro models.
/linux-4.4.14/Documentation/x86/
Dusb-legacy-support.txt16 features (wheel, extra buttons, touchpad mode) of the real PS/2 mouse may
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-bus-acpi10 buttons).
/linux-4.4.14/include/linux/mfd/
Dmc13xxx.h233 struct mc13xxx_buttons_platform_data *buttons; member
/linux-4.4.14/arch/arm/boot/dts/
Dam335x-pepper.dts28 buttons: user_buttons { label
620 &buttons {
640 buttons@2 {
Dorion5x-maxtor-shared-storage-2.dts119 pmx_buttons: pmx-buttons {
Drk3288-veyron-pinky.dts86 buttons {
Dorion5x-lacie-d2-network.dts179 pmx_buttons: pmx-buttons {
Drk3288-veyron-minnie.dts183 buttons {
Drk3288-veyron-chromebook.dtsi187 buttons {
Drk3288-evb.dtsi252 buttons {
Dorion5x-lswsgl.dts228 pmx_buttons: pmx-buttons {
Drk3288-r89.dts307 buttons {
Drk3288-popmetal.dts450 buttons {
Drk3288-veyron.dtsi464 buttons {
/linux-4.4.14/arch/avr32/boards/atngw100/
Dmrmt.c248 .buttons = (void *) rmt_gpio_keys_buttons,
/linux-4.4.14/arch/arm/mach-omap2/
Dboard-ldp.c156 .buttons = ldp_gpio_keys_buttons,
Dboard-rx51-peripherals.c359 .buttons = rx51_gpio_keys,
/linux-4.4.14/sound/pci/
DKconfig539 bool "Enable input device for es1968 volume buttons"
544 keypresses for the volume buttons connected to the es1968 chip.
545 If you say N the buttons will directly control the master volume.
714 bool "Enable input device for maestro3 volume buttons"
719 keypresses for the volume buttons connected to the maestro3 chip.
720 If you say N the buttons will directly control the master volume.
Dazt3328.c1760 int *buttons in snd_azf3328_gameport_cooked_read() argument
1773 *buttons = (~(val) >> 4) & 0xf; in snd_azf3328_gameport_cooked_read()
1817 axes[0], axes[1], axes[2], axes[3], *buttons); in snd_azf3328_gameport_cooked_read()
Dcs4281.c1219 int *axes, int *buttons) in snd_cs4281_gameport_cooked_read() argument
1231 *buttons = (~jst >> 4) & 0x0F; in snd_cs4281_gameport_cooked_read()
/linux-4.4.14/arch/blackfin/mach-bf533/boards/
Dblackstamp.c350 .buttons = bfin_gpio_keys_table,
Dezkit.c378 .buttons = bfin_gpio_keys_table,
Dstamp.c500 .buttons = bfin_gpio_keys_table,
/linux-4.4.14/arch/mips/jz4740/
Dboard-qi_lb60.c352 .buttons = qi_lb60_gpio_keys_buttons,
/linux-4.4.14/arch/blackfin/mach-bf561/boards/
Dezkit.c366 .buttons = bfin_gpio_keys_table,
/linux-4.4.14/sound/usb/
DKconfig81 Say Y here to support input controllers like buttons, knobs,
/linux-4.4.14/arch/arm/mach-omap1/
DKconfig76 touchscreen, PDA-ish buttons, a resume button, bicolor LED,
Dboard-htcherald.c281 .buttons = herald_gpio_keys_table,
/linux-4.4.14/arch/blackfin/mach-bf518/boards/
Dtcm-bf518.c577 .buttons = bfin_gpio_keys_table,
Dezbrd.c655 .buttons = bfin_gpio_keys_table,
/linux-4.4.14/arch/arm/mach-davinci/
Dboard-da850-evm.c430 .buttons = da850_evm_ui_keys,
607 .buttons = da850_evm_bb_keys,
/linux-4.4.14/drivers/media/rc/
DKconfig147 This driver provides mouse pointer, left and right mouse buttons,
148 and maps all the other remote buttons to keypress events.
/linux-4.4.14/Documentation/gpio/
Ddrivers-on-gpio.txt24 up to three buttons by simply using GPIOs and no mouse port. You can cut the
/linux-4.4.14/arch/blackfin/mach-bf527/boards/
Dezbrd.c698 .buttons = bfin_gpio_keys_table,
Dcm_bf527.c823 .buttons = bfin_gpio_keys_table,
Dezkit.c1082 .buttons = bfin_gpio_keys_table,
/linux-4.4.14/drivers/platform/x86/
DKconfig83 laptops. It makes all the extra buttons generate standard
200 It adds support for the panel buttons, docking station detection,
943 tristate "Power/home/volume buttons driver for Microsoft Surface Pro 3 tablet"
946 This driver handles the power/home/volume buttons on the Microsoft Surface Pro 3 tablet.
/linux-4.4.14/arch/mips/alchemy/devboards/
Ddb1300.c401 .buttons = db1300_5waysw_arrowkeys,
/linux-4.4.14/Documentation/laptops/
Dsonypi.txt21 - programmable keys, back, help, zoom, thumbphrase buttons, etc.
Dasus-laptop.txt11 VICTOR XP7210 for example). It makes all the extra buttons generate input
Dthinkpad-acpi.txt1373 For more details about which buttons will appear depending on the mode, please
/linux-4.4.14/arch/blackfin/mach-bf538/boards/
Dezkit.c775 .buttons = bfin_gpio_keys_table,
/linux-4.4.14/arch/blackfin/mach-bf548/boards/
Dcm_bf548.c1069 .buttons = bfin_gpio_keys_table,
Dezkit.c1791 .buttons = bfin_gpio_keys_table,
/linux-4.4.14/drivers/acpi/
DKconfig161 This driver handles events on the power, sleep, and lid buttons.
/linux-4.4.14/arch/blackfin/mach-bf609/boards/
Dezkit.c1712 .buttons = bfin_gpio_keys_table,
/linux-4.4.14/sound/pci/cs46xx/
Dcs46xx_lib.c2741 static int snd_cs46xx_gameport_cooked_read(struct gameport *gameport, int *axes, int *buttons) in snd_cs46xx_gameport_cooked_read() argument
2753 *buttons = (~jst >> 4) & 0x0F; in snd_cs46xx_gameport_cooked_read()
/linux-4.4.14/arch/blackfin/mach-bf537/boards/
Dstamp.c102 .buttons = bfin_gpio_keys_table,
/linux-4.4.14/sound/pci/trident/
Dtrident_main.c3143 static int snd_trident_gameport_cooked_read(struct gameport *gameport, int *axes, int *buttons) in snd_trident_gameport_cooked_read() argument
3151 *buttons = (~inb(TRID_REG(chip, GAMEPORT_LEGACY)) >> 4) & 0xf; in snd_trident_gameport_cooked_read()
/linux-4.4.14/Documentation/power/
Ddevices.txt179 for the majority of devices; the major exceptions are power buttons, keyboards,
/linux-4.4.14/Documentation/
Ddevices.txt409 192 = /dev/nas_xbus NAS xbus LCD/buttons access
418 201 = /dev/button/gulpb Transmeta GULP-B buttons