Home
last modified time | relevance | path

Searched refs:button (Results 1 – 183 of 183) sorted by relevance

/linux-4.1.27/drivers/input/keyboard/
Dgpio_keys.c36 const struct gpio_keys_button *button; member
127 if (gpio_is_valid(bdata->button->gpio)) in gpio_keys_disable_button()
184 if (bdata->button->type != type) in gpio_keys_attr_show_helper()
190 __set_bit(bdata->button->code, bits); in gpio_keys_attr_show_helper()
232 if (bdata->button->type != type) in gpio_keys_attr_store_helper()
235 if (test_bit(bdata->button->code, bits) && in gpio_keys_attr_store_helper()
236 !bdata->button->can_disable) { in gpio_keys_attr_store_helper()
247 if (bdata->button->type != type) in gpio_keys_attr_store_helper()
250 if (test_bit(bdata->button->code, bits)) in gpio_keys_attr_store_helper()
336 const struct gpio_keys_button *button = bdata->button; in gpio_keys_gpio_report_event() local
[all …]
Dgpio_keys_polled.c47 struct gpio_keys_button *button, in gpio_keys_polled_check_state() argument
53 state = !!gpiod_get_value_cansleep(button->gpiod); in gpio_keys_polled_check_state()
55 state = !!gpiod_get_value(button->gpiod); in gpio_keys_polled_check_state()
58 unsigned int type = button->type ?: EV_KEY; in gpio_keys_polled_check_state()
60 input_event(input, type, button->code, state); in gpio_keys_polled_check_state()
106 struct gpio_keys_button *button; in gpio_keys_polled_get_devtree_pdata() local
115 pdata = devm_kzalloc(dev, sizeof(*pdata) + nbuttons * sizeof(*button), in gpio_keys_polled_get_devtree_pdata()
139 button = &pdata->buttons[pdata->nbuttons++]; in gpio_keys_polled_get_devtree_pdata()
140 button->gpiod = desc; in gpio_keys_polled_get_devtree_pdata()
142 if (fwnode_property_read_u32(child, "linux,code", &button->code)) { in gpio_keys_polled_get_devtree_pdata()
[all …]
Dtca6416-keypad.c109 struct tca6416_button *button = &chip->buttons[pin_index]; in tca6416_keys_scan() local
110 unsigned int type = button->type ?: EV_KEY; in tca6416_keys_scan()
112 ^ button->active_low; in tca6416_keys_scan()
114 input_event(input, type, button->code, !!state); in tca6416_keys_scan()
/linux-4.1.27/drivers/acpi/
Dbutton.c148 struct acpi_button *button = acpi_driver_data(device); in acpi_button_add_fs() local
153 if (button->type != ACPI_BUTTON_TYPE_LID) in acpi_button_add_fs()
205 struct acpi_button *button = acpi_driver_data(device); in acpi_button_remove_fs() local
207 if (button->type != ACPI_BUTTON_TYPE_LID) in acpi_button_remove_fs()
255 struct acpi_button *button = acpi_driver_data(device); in acpi_lid_send_state() local
265 input_report_switch(button->input, SW_LID, !state); in acpi_lid_send_state()
266 input_sync(button->input); in acpi_lid_send_state()
287 struct acpi_button *button = acpi_driver_data(device); in acpi_button_notify() local
295 input = button->input; in acpi_button_notify()
296 if (button->type == ACPI_BUTTON_TYPE_LID) { in acpi_button_notify()
[all …]
DMakefile67 obj-$(CONFIG_ACPI_BUTTON) += button.o
DKconfig135 the module will be called button.
/linux-4.1.27/drivers/platform/x86/
Dxo15-ebook.c51 struct ebook_switch *button = acpi_driver_data(device); in ebook_send_state() local
60 input_report_switch(button->input, SW_TABLET_MODE, !state); in ebook_send_state()
61 input_sync(button->input); in ebook_send_state()
90 struct ebook_switch *button; in ebook_switch_add() local
96 button = kzalloc(sizeof(struct ebook_switch), GFP_KERNEL); in ebook_switch_add()
97 if (!button) in ebook_switch_add()
100 device->driver_data = button; in ebook_switch_add()
102 button->input = input = input_allocate_device(); in ebook_switch_add()
120 snprintf(button->phys, sizeof(button->phys), "%s/button/input0", hid); in ebook_switch_add()
123 input->phys = button->phys; in ebook_switch_add()
[all …]
DKconfig223 tristate "HP wireless button"
227 This driver provides supports for new HP wireless button for Windows 8.
715 tristate "power button driver for Intel MID platforms"
718 This driver handles the power button on the Intel MID platforms.
/linux-4.1.27/scripts/kconfig/lxdialog/
Dyesno.c44 int i, x, y, key = 0, button = 0; in dialog_yesno() local
93 button = ((key == KEY_LEFT ? --button : ++button) < 0) ? 1 : (button > 1 ? 0 : button); in dialog_yesno()
95 print_buttons(dialog, height, width, button); in dialog_yesno()
101 return button; in dialog_yesno()
Dinputbox.c48 int input_x = 0, key = 0, button = -1; in dialog_inputbox() local
122 if (button == -1) { /* Input box selected */ in dialog_inputbox()
244 switch (button) { in dialog_inputbox()
246 button = 1; /* Indicates "Help" button is selected */ in dialog_inputbox()
250 button = -1; /* Indicates input box is selected */ in dialog_inputbox()
256 button = 0; /* Indicates "OK" button is selected */ in dialog_inputbox()
264 switch (button) { in dialog_inputbox()
266 button = 0; /* Indicates "OK" button is selected */ in dialog_inputbox()
270 button = 1; /* Indicates "Help" button is selected */ in dialog_inputbox()
274 button = -1; /* Indicates input box is selected */ in dialog_inputbox()
[all …]
Dchecklist.c121 int key = 0, button = 0, choice = 0, scroll = 0, max_choice; in dialog_checklist() local
290 button = 1; in dialog_checklist()
302 return button; in dialog_checklist()
306 button = ((key == KEY_LEFT ? --button : ++button) < 0) in dialog_checklist()
307 ? 1 : (button > 1 ? 0 : button); in dialog_checklist()
309 print_buttons(dialog, height, width, button); in dialog_checklist()
Dmenubox.c189 int key = 0, button = 0, scroll = 0, choice = 0; in dialog_menu() local
377 button = ((key == KEY_LEFT ? --button : ++button) < 0) in dialog_menu()
378 ? 4 : (button > 4 ? 0 : button); in dialog_menu()
380 print_buttons(dialog, height, width, button); in dialog_menu()
417 return button; in dialog_menu()
/linux-4.1.27/Documentation/devicetree/bindings/input/
Dgpio-keys.txt10 Each button (key) is represented as a sub-node of "gpio-keys":
22 - linux,input-type: Specify event type this button/key generates.
26 - gpio-key,wakeup: Boolean, button can wake-up the system.
27 - linux,can-disable: Boolean, indicates that button is connected
29 suppress events from the button.
38 button@21 {
43 button@22 {
Dti,palmas-pwrbutton.txt1 Texas Instruments Palmas family power button module
7 This module provides a simple power button event via an Interrupt.
11 - "ti,palmas-pwrbutton": For Palmas compatible power on button
13 - interrupts: Interrupt number of power button submodule on device.
18 button should be kept pressed for Palmas to power off automatically.
22 which the power button should be kept pressed for Palmas to register
De3x0-button.txt1 National Instruments Ettus Research USRP E3x0 button driver
5 This module provides a simple power button event via two interrupts.
9 - "ettus,e3x0-button": For devices such as the NI Ettus Research USRP E3x0
20 button {
21 compatible = "ettus,e3x0-button";
Dsun4i-lradc-keys.txt28 button@191 {
35 button@392 {
42 button@601 {
49 button@795 {
56 button@987 {
Dtps65218-pwrbutton.txt1 Texas Instruments TPS65218 power button
3 This driver provides a simple power button event via an Interrupt.
13 power-button {
Dgpio-keys-polled.txt11 Each button (key) is represented as a sub-node of "gpio-keys-polled":
19 - linux,input-type: Specify event type this button/key generates.
23 - gpio-key,wakeup: Boolean, button can wake-up the system.
33 button@21 {
Dtwl4030-pwrbutton.txt6 This module provides a simple power button event via an Interrupt.
/linux-4.1.27/arch/arm/boot/dts/
Dkirkwood-netxbig.dtsi61 * button@1 and button@2 represent a three position rocker
64 button@1 {
70 button@2 {
76 button@3 {
77 label = "Function button";
132 pmx_button_function: pmx-button-function {
136 pmx_button_power_off: pmx-button-power-off {
140 pmx_button_power_on: pmx-button-power-on {
Dkirkwood-dnskw.dtsi16 button@1 {
17 label = "Power button";
21 button@2 {
22 label = "USB unmount button";
26 button@3 {
27 label = "Reset button";
84 pmx_button_power: pmx-button-power {
132 pmx_button_unmount: pmx-button-unmount {
136 pmx_button_reset: pmx-button-reset {
Dkirkwood-ts219-6281.dts19 pmx_USB_copy_button: pmx-USB-copy-button {
23 pmx_reset_button: pmx-reset-button {
42 button@1 {
47 button@2 {
Ds3c6410-mini6410.dts77 button-k1 {
84 button-k2 {
91 button-k3 {
98 button-k4 {
105 button-k5 {
112 button-k6 {
119 button-k7 {
126 button-k8 {
Dkirkwood-ts219-6282.dts29 pmx_reset_button: pmx-reset-button {
33 pmx_USB_copy_button: pmx-USB-copy-button {
52 button@1 {
57 button@2 {
Dsun7i-a20-olinuxino-micro.dts115 button@191 {
122 button@392 {
129 button@601 {
136 button@795 {
143 button@987 {
150 button@1184 {
157 button@1398 {
Dkirkwood-ts419.dtsi20 pmx_USB_copy_button: pmx-USB-copy-button {
24 pmx_reset_button: pmx-reset-button {
48 button@1 {
53 button@2 {
Dkirkwood-netgear_readynas_duo_v2.dts43 pmx_button_power: pmx-button-power {
48 pmx_button_backup: pmx-button-backup {
53 pmx_button_reset: pmx-button-reset {
165 power-button {
171 reset-button {
177 backup-button {
Demev2-kzm9d.dts36 button@1 {
43 button@2 {
50 button@3 {
57 button@4 {
Dkirkwood-netgear_readynas_nv+_v2.dts45 pmx_button_power: pmx-button-power {
50 pmx_button_backup: pmx-button-backup {
55 pmx_button_reset: pmx-button-reset {
177 power-button {
183 reset-button {
189 backup-button {
Dkirkwood-ib62x0.dts38 pmx_button_reset: pmx-button-reset {
42 pmx_button_usb_copy: pmx-button-usb-copy {
65 button@1 {
70 button@2 {
Dkirkwood-blackarmor-nas220.dts39 button@1{
45 button@2{
130 pmx_button_reset: pmx-button-reset {
135 pmx_button_power: pmx-button-power {
Darmada-xp-lenovo-ix4-300d.dts199 power-button {
205 reset-button {
211 select-button {
217 scroll-button {
302 power_button_pin: power-button-pin {
307 reset_button_pin: reset-button-pin {
311 select_button_pin: select-button-pin {
316 scroll_button_pin: scroll-button-pin {
Dkirkwood-iconnect.dts34 pmx_button_reset: pmx-button-reset {
38 pmx_button_otb: pmx-button-otb {
139 button@1 {
145 button@2 {
Dsun5i-a13-olinuxino.dts117 button@191 {
124 button@392 {
131 button@601 {
138 button@795 {
145 button@987 {
Dkirkwood-nsa3x0-common.dtsi80 button@1 {
85 button@2 {
90 button@3 {
Dkirkwood-lsxl.dtsi48 pmx_button_function: pmx-button-function {
110 button@1 {
115 button@2 {
121 button@3 {
Darmada-370-netgear-rn104.dts248 backup-button {
254 power-button {
260 reset-button {
281 backup_button_pin: backup-button-pin {
286 power_button_pin: power-button-pin {
301 reset_button_pin: reset-button-pin {
Darmada-370-netgear-rn102.dts226 power-button {
232 reset-button {
238 backup-button {
274 backup_button_pin: backup-button-pin {
279 power_button_pin: power-button-pin {
284 reset_button_pin: reset-button-pin {
Dkirkwood-ns2-common.dtsi60 button@1 {
61 label = "Power push button";
Dkirkwood-cloudbox.dts63 button@1 {
64 label = "Power push button";
Dsun5i-a10s-olinuxino-micro.dts151 button@191 {
158 button@392 {
165 button@601 {
172 button@795 {
179 button@987 {
Dspear320-hmi.dts139 button@1 {
140 label = "user button 1";
147 button@2 {
148 label = "user button 2";
Domap3-pandora-common.dtsi83 up-button {
90 down-button {
97 left-button {
104 right-button {
111 pageup-button {
118 pagedown-button {
125 home-button {
132 end-button {
Dkirkwood-iomega_ix2_200.dts34 pmx_button_reset: pmx-button-reset {
38 pmx_button_power: pmx-button-power {
50 pmx_button_otb: pmx-button-otb {
Dste-href-stuib.dtsi23 button@139 {
29 button@145 {
Dimx28-eukrea-mbmx28lc.dtsi30 button-sw3 {
43 button-sw4 {
195 gpio_button_sw3_pins_mbmx28lc: gpio-button-sw3-mbmx28lc@0 {
205 gpio_button_sw4_pins_mbmx28lc: gpio-button-sw4-mbmx28lc@0 {
Dste-snowball.dts41 button@1 {
48 button@2 {
55 button@3 {
62 button@4 {
69 button@5 {
Dste-nomadik-s8815.dts59 user-button {
132 user-button {
Dkirkwood-mv88f6281gtw-ge.dts112 button@1 {
117 button@2 {
Dimx6q-gk802.dts43 recovery-button {
86 /* Recovery button, active-low */
Dsun4i-a10-pcduino.dts170 button@0 {
176 button@1 {
182 button@2 {
Dkirkwood-laplug.dts65 button@1{
66 label = "Power push button";
Dsun7i-a20-pcduino3.dts183 button@0 {
188 button@1 {
193 button@2 {
Dste-href-tvk1281618.dtsi25 button@139 {
31 button@145 {
Darmada-xp-netgear-rn2120.dts269 power-button {
275 reset-button {
296 power_button_pin: power-button-pin {
301 reset_button_pin: reset-button-pin {
Drk3066a-bqcurie2.dts43 button@0 {
51 button@1 {
Dorion5x-lacie-ethernet-disk-mini-v2.dts48 button@1 {
144 pmx_power_button: pmx-power-button {
Dimx28-apf28dev.dts224 user-button {
225 label = "User button";
Dkirkwood-b3.dts49 pmx_button_power: pmx-button-power {
157 power-button {
Dr8a7790-lager.dts77 button@1 {
84 button@2 {
91 button@3 {
98 button@4 {
Dsun8i-a23-ippo-q8h-v5.dts94 button@200 {
101 button@400 {
Dmoxart-uc7112lx.dts67 button@25 {
Dste-hrefprev60.dtsi20 button@1 {
Dkirkwood-openblocks_a6.dts120 button@1 {
Darmada-xp-linksys-mamba.dts302 button@1 {
308 button@2 {
Dkirkwood-openblocks_a7.dts138 button@1 {
Dkirkwood-t5325.dts176 button@1 {
Darmada-xp-synology-ds414.dts182 * button is pressed. The converter needs to be
184 * power button. This is possibly due to UART0_TXD
Dea3250.dts168 button@21 {
Drk3288-evb.dtsi72 button@0 {
Darmada-xp-axpwifiap.dts158 button@1 {
Dimx51-eukrea-mbimxsd51-baseboard.dts40 button-1 {
Dam335x-pepper.dts616 button@0 {
623 button@1 {
Darmada-xp-openblocks-ax3-4.dts148 button@1 {
Drk3188-radxarock.dts32 button@0 {
Darmada-370-rd.dts148 button@1 {
Dspear1310-evb.dts159 button@1 {
Dam437x-idk-evm.dts108 label = "power-button";
Dspear1340-evb.dts221 button@1 {
Drk3288-popmetal.dts71 button@0 {
Darmada-370-synology-ds213j.dts175 /* rear USB port, near reset button */
Drk3066a-rayeager.dts66 button@0 {
Drk3288-firefly.dtsi68 button@0 {
Domap3-gta04.dtsi36 aux-button {
Dam437x-sk-evm.dts446 power-button {
/linux-4.1.27/Documentation/input/
Dgamepad.txt7 having user-space deal with different button-mappings for each gamepad, this
46 Furthermore, many gamepads have a fancy branded button that is used as
47 special system-button. It often looks different to the other buttons and
52 Analog-sticks may also provide a digital button if you press them.
97 Please note that 2- and 3-button pads are fairly rare and old. You might
101 BTN_EAST. For vertical layouts, the upper button is BTN_EAST. For
102 horizontal layouts, the button more on the right is BTN_EAST.
112 If rectangular-shaped, the upper-left button is BTN_NORTH, lower-left
141 If only one trigger-button combination is present (upper+lower), they are
148 1-button Pad: Mapped as BTN_START
[all …]
Dsentelic.txt7 A) MSID 4: Scrolling wheel mode plus Forward page(4th button) and Backward
8 page (5th button)
33 Bit4 => 1 = 4th mouse button is pressed, Forward one page.
34 0 = 4th mouse button is not pressed.
35 Bit5 => 1 = 5th mouse button is pressed, Backward one page.
36 0 = 5th mouse button is not pressed.
64 Bit4 => 1 = 4th mouse button is pressed, Forward one page.
65 0 = 4th mouse button is not pressed.
66 Bit5 => 1 = 5th mouse button is pressed, Backward one page.
67 0 = 5th mouse button is not pressed.
[all …]
Damijoy.txt19 (6) - Fire button
22 (9) - Thumb button
30 (5) - Middle button
31 (6) - Left button
34 (9) - Right button
38 (1) - Top button
39 (2) - Top2 button
40 (3) - Trigger button
41 (4) - Thumb button
54 (5) - Touch button
[all …]
Dinput-programming.txt11 just one button and the button is accessible at i/o port BUTTON_PORT. When
34 if (request_irq(BUTTON_IRQ, button_interrupt, 0, "button", NULL)) {
35 printk(KERN_ERR "button.c: Can't allocate irq %d\n", button_irq);
41 printk(KERN_ERR "button.c: Not enough memory\n");
51 printk(KERN_ERR "button.c: Failed to register device\n");
109 which upon every interrupt from the button checks its state and reports it
124 This doesn't seem important in the one button case, but is quite important
140 if (request_irq(BUTTON_IRQ, button_interrupt, 0, "button", NULL)) {
141 printk(KERN_ERR "button.c: Can't allocate irq %d\n", button_irq);
199 struct for each absolute axis your device has. If our button device had also
[all …]
Datarikbd.txt34 mouse button states)
60 button being pressed or released, or motion in either axis exceeding a
72 ; where y is the right button state
73 ; and x is the left button state
77 Note that the value of the button state bits should be valid even if the
138 this mode the ikbd monitors the state of the Joystick 1 fire button at the
142 only stops the output but also temporarily stops scanning the button (samples
183 received while port 0 is presumed to be a mouse, the button is logically
214 %00000mss ; mouse button action
216 ; mss=0xy, mouse button press or release causes mouse
[all …]
Djoystick-api.txt34 __u8 number; /* axis/button number */
46 #define JS_EVENT_BUTTON 0x01 /* button pressed/released */
65 The values of ``number'' correspond to the axis or button that
67 is, you have both an axis 0 and a button 0). Generally,
89 For a button, ``value'' for a press button event is 1 and for a release
90 button event is 0.
117 task of detecting double clicks, figuring out if movement of axis and button
281 int buttons; /* immediate button state */
Djoystick-parport.txt226 For the basic 1-button Multisystem joystick you connect its wires to the
240 resistors on each of the direction and button signals, like this:
249 For joysticks with two buttons you connect the second button to pin 7 on
274 and one pullup resistor. First, you connect the Directions and the button
284 For two button sticks you also connect the other button.
308 supports only one button per joystick. For more information on how to build the
341 All the Sega controllers are more or less based on the standard 2-button
347 The SMS gamepads are almost exactly the same as normal 2-button
451 4 | Multisystem 1-button joystick
452 5 | Multisystem 2-button joystick
[all …]
Djoystick.txt170 with CH Flightstick Pro, ThrustMaster FCS or 6 and 8 button gamepads. Saitek
176 * 2-axis, 4-button joystick
177 * 3-axis, 4-button joystick
178 * 4-axis, 4-button joystick
196 2btn | 2-button n-axis joystick
197 y-joy | Two 2-button 2-axis joysticks on an Y-cable
198 y-pad | Two 2-button 2-axis gamepads on an Y-cable
202 gamepad | 4/6-button n-axis gamepad
203 gamepad8 | 8-button 2-axis gamepad
257 although the joystick has only 8. The 9th button is the mode switch on the
[all …]
Delantech.txt69 Note that a mouse button is also associated with either the touchpad or the
199 B: 1 = swap left and right button
248 L, R, M = 1 when Left, Right, Middle mouse button pressed
312 L, R = 1 when Left, Right mouse button pressed
321 L, R = 1 when Left, Right mouse button pressed
429 L, R = 1 when Left, Right mouse button pressed
453 b2 (on EF113 only, 0 otherwise), b2.R.L indicates one button pressed:
491 L, R = 1 when Left, Right mouse button pressed
572 L, R = 1 when Left, Right mouse button pressed
658 L, R = 1 when Left, Right mouse button pressed
[all …]
Dcs461x.txt9 is present here, but have not tested completely. The button analysis
14 4-button joystick; I mean the jstest utility. Also I've tried to
Devent-codes.txt61 - A special type for power button and switch input.
261 For touchpads where the button is placed beneath the surface, such that
262 pressing down on the pad causes a button click, this property should be
266 version field under the name integrated button. For backwards
294 The kernel does not provide button emulation for such devices but treats
312 the primary button press. BTN_{MIDDLE,RIGHT,4,5,etc.} should be used to report
343 button may be used for buttons on the tablet except BTN_{MOUSE,LEFT}.
345 meaningful buttons, like BTN_FORWARD, unless the button is labeled for that
Dappletouch.txt28 tap for middle button mouse emulation, 3 finger tap for right button mouse
Dyealink.txt50 Physical USB-P1K button layout input events
63 The "up" and "down" keys, are symbolised by arrows on the button.
65 on the button.
Dalps.txt280 (v6 touchpad does not have middle button)
308 L: Left button
309 R / M: Non-clickpads: Right / Middle button
311 are in the button area, then the 2 coordinates reported
312 are for fingers outside the button area and these report
313 extra fingers being present in the right / left button
Diforce-protocol.txt31 This packet is used to indicate the state of each button and the value of each
/linux-4.1.27/drivers/media/usb/em28xx/
Dem28xx-input.c509 struct em28xx_button *button = &dev->board.buttons[j]; in em28xx_query_buttons() local
511 if (button->reg_r != dev->button_polling_addresses[i]) { in em28xx_query_buttons()
516 is_pressed = regval & button->mask; in em28xx_query_buttons()
518 & button->mask; in em28xx_query_buttons()
519 if (button->inverted) { in em28xx_query_buttons()
524 if (is_pressed && button->reg_clearing) in em28xx_query_buttons()
525 em28xx_write_reg(dev, button->reg_clearing, in em28xx_query_buttons()
526 (~regval & button->mask) in em28xx_query_buttons()
527 | (regval & ~button->mask)); in em28xx_query_buttons()
533 switch (button->role) { in em28xx_query_buttons()
[all …]
/linux-4.1.27/drivers/input/misc/
Dkeyspan_remote.c96 u8 button; member
175 static void keyspan_report_button(struct usb_keyspan *remote, int button, int press) in keyspan_report_button() argument
179 input_event(input, EV_MSC, MSC_SCAN, button); in keyspan_report_button()
180 input_report_key(input, remote->keymap[button], press); in keyspan_report_button()
277 message.button = 0; in keyspan_check_data()
282 message.button = message.button << 1; in keyspan_check_data()
286 message.button = (message.button << 1) + 1; in keyspan_check_data()
326 __func__, message.system, message.button, message.toggle); in keyspan_check_data()
329 keyspan_report_button(remote, message.button, 1); in keyspan_check_data()
330 keyspan_report_button(remote, message.button, 0); in keyspan_check_data()
DKconfig20 reporting power button status.
30 reporting power button status.
197 reporting power button status.
219 reporting power button status.
306 tristate "Cobalt button interface"
310 Say Y here if you want to support MIPS Cobalt button interface.
316 tristate "x86 Wistron laptop button interface"
324 Say Y here for support of Wistron laptop button interfaces, used on
332 tristate "x86 Atlas button interface"
444 tristate "Retu Power button Driver"
[all …]
Dad714x.c119 struct ad714x_button_drv *button; member
216 struct ad714x_button_plat *hw = &ad714x->hw->button[idx]; in ad714x_button_state_machine()
217 struct ad714x_button_drv *sw = &ad714x->sw->button[idx]; in ad714x_button_state_machine()
1015 ad714x->sw->button = bt_drv = drv_mem; in ad714x_probe()
1138 struct ad714x_button_plat *bt_plat = ad714x->hw->button; in ad714x_probe()
1210 input_unregister_device(sw->button[0].input); in ad714x_remove()
DMakefile29 obj-$(CONFIG_INPUT_E3X0_BUTTON) += e3x0-button.o
/linux-4.1.27/drivers/input/joystick/
Damijoy.c56 int i, data = 0, button = 0; in amijoy_interrupt() local
62 case 0: data = ~amiga_custom.joy0dat; button = (~ciaa.pra >> 6) & 1; break; in amijoy_interrupt()
63 case 1: data = ~amiga_custom.joy1dat; button = (~ciaa.pra >> 7) & 1; break; in amijoy_interrupt()
66 input_report_key(amijoy_dev[i], BTN_TRIGGER, button); in amijoy_interrupt()
DKconfig25 Flightstick Pro, ThrustMaster FCS, 6 and 8 button gamepads, or
/linux-4.1.27/drivers/input/tablet/
Dwacom_serial4.c314 u8 in_proximity_p, stylus_p, button; in wacom_handle_packet() local
320 button = (wacom->data[3] & 0x78) >> 3; in wacom_handle_packet()
336 tool = (button & wacom->eraser_mask) ? ERASER : STYLUS; in wacom_handle_packet()
353 input_report_key(wacom->dev, BTN_TOUCH, button & 1); in wacom_handle_packet()
354 input_report_key(wacom->dev, BTN_STYLUS, button & 2); in wacom_handle_packet()
355 input_report_key(wacom->dev, BTN_STYLUS2, button & 4); in wacom_handle_packet()
357 input_report_key(wacom->dev, BTN_LEFT, button & 1); in wacom_handle_packet()
358 input_report_key(wacom->dev, BTN_RIGHT, button & 2); in wacom_handle_packet()
359 input_report_key(wacom->dev, BTN_MIDDLE, button & 4); in wacom_handle_packet()
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-driver-hid-roccat-savu5 press of a button. A profile is split into general settings and
6 button settings. buttons holds informations about button layout.
28 press of a button. A profile is split into general settings and
29 button settings. profile holds informations like resolution, sensitivity
51 keystrokes for a specific button for a specific profile.
62 press of a button. profile holds number of actual profile.
Dsysfs-driver-input-axp-pek4 Description: Startup time in us. Board is powered on if the button is pressed
10 Description: Shutdown time in us. Board is powered off if the button is pressed
Dsysfs-driver-wacom29 button is pressed on the stylus. This luminance level is
30 normally lower than the level when a button is pressed.
37 when the stylus touches the tablet surface, or any button is
62 of all eight button OLED displays.
64 What: /sys/bus/hid/devices/<bus>:<vid>:<pid>.<n>/wacom_led/button<n>_rawimg
Dsysfs-firmware-acpi69 as the power button, it can also handle a variable
176 Let's take power button fixed event for example, please kill acpid
178 when pressing the power button.
181 # press the power button for 3 times;
187 # press the power button for 3 times;
197 # press the power button for 3 times;
201 # press the power button for 3 times;
Dsysfs-driver-hid-roccat-konepure5 press of a button. actual_profile holds number of actual profile.
32 Description: The mouse can store a macro with max 500 key/button strokes
35 button for a specific profile. Button and profile numbers are
44 press of a button. A profile is split in settings and buttons.
45 profile_buttons holds information about button layout.
59 press of a button. A profile is split in settings and buttons.
Dsysfs-driver-hid-roccat-koneplus23 Description: The mouse can store a macro with max 500 key/button strokes
26 button for a specific profile. Button and profile numbers are
35 press of a button. A profile is split in settings and buttons.
36 profile_buttons holds information about button layout.
50 press of a button. A profile is split in settings and buttons.
Dsysfs-driver-hid-roccat-kovaplus24 press of a button. A profile is split in settings and buttons.
25 profile_buttons holds information about button layout.
39 press of a button. A profile is split in settings and buttons.
Dsysfs-driver-hid-roccat-pyra13 press of a button. A profile is split in settings and buttons.
29 press of a button. A profile is split in settings and buttons.
30 profile_buttons holds information about button layout.
Dsysfs-driver-hid-roccat-arvo11 …<config num>.<interface num>/<hid-bus>:<vendor-id>:<product-id>.<num>/arvo/roccatarvo<minor>/button
14 Description: The keyboard can store short macros with consist of 1 button with
17 button for a specific profile. Button and profile numbers are
Dsysfs-driver-hid-roccat-lua4 Description: When written, cpi, button and light settings can be configured.
Dsysfs-driver-hid-roccat-kone5 press of a button.
43 press of a button. A profile holds information like button
Dsysfs-driver-hid-lenovo27 a left or right mouse button click.
Dsysfs-driver-hid-roccat-ryos13 press of a button. profile holds index of actual profile.
107 keystrokes for a specific button for a specific profile.
Dsysfs-driver-hid-roccat-isku114 keystrokes for a specific button for a specific profile.
/linux-4.1.27/arch/arm/mach-davinci/
Dboard-da850-evm.c446 struct gpio_keys_button *button; in da850_evm_ui_keys_init() local
449 button = &da850_evm_ui_keys[i]; in da850_evm_ui_keys_init()
450 button->code = KEY_F8 - i; in da850_evm_ui_keys_init()
451 button->desc = da850_evm_ui_exp[DA850_EVM_UI_EXP_PB8 + i]; in da850_evm_ui_keys_init()
452 button->gpio = gpio + DA850_EVM_UI_EXP_PB8 + i; in da850_evm_ui_keys_init()
623 struct gpio_keys_button *button; in da850_evm_bb_keys_init() local
625 button = &da850_evm_bb_keys[0]; in da850_evm_bb_keys_init()
626 button->desc = da850_evm_bb_exp[DA850_EVM_BB_EXP_USER_PB1]; in da850_evm_bb_keys_init()
627 button->gpio = gpio + DA850_EVM_BB_EXP_USER_PB1; in da850_evm_bb_keys_init()
630 button = &da850_evm_bb_keys[i + 1]; in da850_evm_bb_keys_init()
[all …]
/linux-4.1.27/drivers/input/joystick/iforce/
Diforce-ff.c186 static unsigned char find_button(struct iforce *iforce, signed short button) in find_button() argument
191 if (iforce->type->btn[i] == button) in find_button()
298 || old->trigger.button != new->trigger.button in need_core()
310 u8 effect_type, u8 axes, u16 duration, u16 delay, u16 button, in make_core() argument
321 data[2] = LO(axes) | find_button(iforce, button); in make_core()
407 effect->trigger.button, in iforce_upload_periodic()
467 effect->trigger.button, in iforce_upload_constant()
532 effect->trigger.button, effect->trigger.interval, in iforce_upload_condition()
/linux-4.1.27/drivers/input/touchscreen/
Dar1021_i2c.c32 unsigned int x, y, button; in ar1021_i2c_irq() local
44 button = data[0] & BIT(0); in ar1021_i2c_irq()
50 input_report_key(input, BTN_TOUCH, button); in ar1021_i2c_irq()
Datmel_mxt_ts.c729 bool button; in mxt_input_button() local
736 button = !(message[1] & (1 << i)); in mxt_input_button()
737 input_report_key(input, pdata->t19_keymap[i], button); in mxt_input_button()
/linux-4.1.27/Documentation/ABI/obsolete/
Dsysfs-driver-hid-roccat-pyra5 press of a button.
44 press of a button. A profile is split in settings and buttons.
45 profile_buttons holds information about button layout.
56 press of a button. A profile is split in settings and buttons.
Dsysfs-driver-hid-roccat-koneplus29 press of a button. A profile is split in settings and buttons.
30 profile_buttons holds information about button layout.
41 press of a button. A profile is split in settings and buttons.
Dsysfs-driver-hid-roccat-kovaplus47 press of a button. A profile is split in settings and buttons.
48 profile_buttons holds information about button layout.
59 press of a button. A profile is split in settings and buttons.
/linux-4.1.27/arch/powerpc/platforms/cell/
DKconfig86 bool "IBM Cell Blade Pinhole reset button"
91 This adds a method to trigger system reset via front panel pinhole button.
94 tristate "IBM Cell Blade power button"
/linux-4.1.27/drivers/media/usb/pwc/
DKconfig45 This option makes USB Philips cameras register the snapshot button as
46 an input device to report button events.
/linux-4.1.27/Documentation/
Drfkill.txt16 The subsystem also provides the ability to react on button presses and
63 Platform drivers might implement input devices if the rfkill button is just
64 that, a button. If that button influences the hardware then you need to
Demail-clients.txt104 paste with the middle button.
173 before middle button or shift-insert or use
218 and install the extension, then add a button for it using
Dcpu-hotplug.txt181 the platform should have something like an attention button in PCI hotplug.
Dkernel-parameters.txt2096 a tap and be reported as a left button click (for
3281 0 The "airplane mode" button does nothing.
3282 1 The "airplane mode" button toggles between everything
3284 2 The "airplane mode" button toggles between everything
Ddevices.txt376 158 = /dev/nwbutton Netwinder external button
398 180 = /dev/vrbuttons Vr41xx button input device
418 201 = /dev/button/gulpb Transmeta GULP-B buttons
/linux-4.1.27/Documentation/devicetree/bindings/power_supply/
Drestart-poweroff.txt5 user presses a button.
/linux-4.1.27/include/linux/input/
Dad714x.h58 struct ad714x_button_plat *button; member
/linux-4.1.27/scripts/kconfig/
Dgconf.c117 GtkToolButton *button; in replace_button_icon() local
124 button = GTK_TOOL_BUTTON(glade_xml_get_widget(xml, btn_name)); in replace_button_icon()
127 gtk_tool_button_set_icon_widget(button, image); in replace_button_icon()
707 void on_back_clicked(GtkButton * button, gpointer user_data) in on_back_clicked() argument
722 void on_load_clicked(GtkButton * button, gpointer user_data) in on_load_clicked() argument
728 void on_single_clicked(GtkButton * button, gpointer user_data) in on_single_clicked() argument
737 void on_split_clicked(GtkButton * button, gpointer user_data) in on_split_clicked() argument
753 void on_full_clicked(GtkButton * button, gpointer user_data) in on_full_clicked() argument
764 void on_collapse_clicked(GtkButton * button, gpointer user_data) in on_collapse_clicked() argument
770 void on_expand_clicked(GtkButton * button, gpointer user_data) in on_expand_clicked() argument
/linux-4.1.27/drivers/hid/
Dhid-roccat-arvo.h67 uint8_t button; member
Dhid-roccat-kovaplus.h116 uint8_t button; member
Dhid-roccat-kone.h154 uint8_t button; member
Dhid-roccat-kovaplus.c316 roccat_report.button = 0; in kovaplus_sysfs_set_actual_profile()
588 roccat_report.button = button_report->data1; in kovaplus_report_to_chrdev()
590 roccat_report.button = 0; in kovaplus_report_to_chrdev()
Dhid-roccat-arvo.c240 static BIN_ATTR(button, 0220, NULL, arvo_sysfs_write_button,
393 roccat_report.button = special_report->event & in arvo_report_to_chrdev()
Dhid-logitech-hidpp.c595 u8 button; member
673 raw_xy->button = (data[8] >> 2) & 0x01; in hidpp_touchpad_raw_xy_event()
778 input_event(wd->input, EV_KEY, BTN_LEFT, raw->button); in wtp_send_raw_xy_event()
817 .button = data[0] & 0x01, in wtp_mouse_raw_xy_event()
Dhid-rmi.c404 int button = 0; in rmi_f30_input_event() local
420 input_event(hdata->input, EV_KEY, BTN_LEFT + button++, in rmi_f30_input_event()
Dwacom_sys.c792 static DEVICE_ATTR(button##BUTTON_ID##_rawimg, DEV_ATTR_WO_PERM, \
/linux-4.1.27/drivers/media/usb/uvc/
DKconfig18 to report button events.
/linux-4.1.27/drivers/iio/proximity/
DKconfig31 proximity/button sensor.
/linux-4.1.27/Documentation/devicetree/bindings/extcon/
Dextcon-sm5502.txt6 attached or detached and button is pressed or released. It is interfaced to
/linux-4.1.27/Documentation/arm/
DNetwinder59 10 ISA GP10 (Orange reset button)
/linux-4.1.27/drivers/char/
DKconfig201 time the orange button is pressed a number of times, the number of
202 times the button was pressed will be written to that device.
205 perform actions based on how many times the button is pressed in a
208 Do not hold the button down for too long, as the driver does not
210 button; it will still execute a hard reset if the button is held
217 below to be able to initiate a system shutdown from the button.
224 shutdown and reboot by pressing the orange button a number of times.
229 time with "insmod button reboot_count=<something>".
/linux-4.1.27/Documentation/frv/
Dgdbstub.txt9 permits the NMI interrupt button or serial port events to jump the kernel into
118 (*) Pressing the NMI button on the board will also cause a jump into the
/linux-4.1.27/drivers/staging/media/lirc/
DTODO.lirc_zilog20 receiving button presses again and ir_send worked without error.)
/linux-4.1.27/drivers/macintosh/
DKconfig176 tristate "Support for mouse button 2+3 emulation"
180 button with keypresses. If you say Y here, the emulation is still
187 If you have an Apple machine with a 1-button mouse, say Y here.
/linux-4.1.27/drivers/input/mouse/
Dbcm5974.c174 u8 button; /* left button */ member
495 dev->bt_data->unknown1, dev->bt_data->button, in report_bt_state()
498 input_report_key(dev->input, BTN_LEFT, dev->bt_data->button); in report_bt_state()
DKconfig24 includes the standard 2 or 3-button PS/2 mouse, as well as PS/2
416 a tap or tap-and-a-half drag gesture emulates the left mouse button.
/linux-4.1.27/Documentation/laptops/
Dsonypi.txt18 - capture button events (only on Vaio Picturebook series)
20 - bluetooth button (only on C1VR model)
Dthinkpad-acpi.txt398 0x1004 0x03 FN+F4 Sleep button (ACPI sleep button
402 event or an ACPI sleep button
1074 button, no matter the previous state.
/linux-4.1.27/drivers/media/usb/gspca/
Dcpia1.c350 u8 button; /* snapshot button pressed (R/O) */ member
542 if (a != sd->params.qx3.button) { in do_command()
547 sd->params.qx3.button = a; in do_command()
549 if (sd->params.qx3.button) { in do_command()
699 params->qx3.button = 0; in reset_camera_params()
1642 if (sd->params.qx3.button) { in sd_stopN()
/linux-4.1.27/drivers/usb/storage/
DKconfig152 USB hard drive's onetouch button.
154 This code registers the button on the front of Maxtor OneTouch USB
/linux-4.1.27/Documentation/power/
Ds2ram.txt40 holding the power button down, and look at the dmesg output for things
Dbasic-pm-debugging.txt34 button to make the system resume).
Dswsusp.txt74 Nowadays it is common in several laptops that they have a suspend button. It
/linux-4.1.27/Documentation/arm/Samsung-S3C24XX/
DSuspend.txt73 "button-irq-eint0", NULL);
/linux-4.1.27/drivers/hid/usbhid/
Dhid-pidff.c317 pidff->set_effect[PID_TRIGGER_BUTTON].value[0] = effect->trigger.button; in pidff_set_effect_report()
340 effect->trigger.button != old->trigger.button || in pidff_needs_set_effect()
/linux-4.1.27/drivers/media/platform/vivid/
Dvivid-core.h208 struct v4l2_ctrl *button; member
Dvivid-ctrls.c1321 dev->button = v4l2_ctrl_new_custom(hdl_user_gen, &vivid_ctrl_button, NULL); in vivid_create_controls()
/linux-4.1.27/drivers/usb/misc/
Dcytherm.c221 static DEVICE_ATTR(button, S_IRUGO, show_button, set_button);
/linux-4.1.27/arch/arm/mach-omap1/
DKconfig76 touchscreen, PDA-ish buttons, a resume button, bicolor LED,
/linux-4.1.27/arch/cris/arch-v10/
DKconfig390 int "Power button bit on port G"
394 Configure where power button is connected.
/linux-4.1.27/Documentation/usb/
Dusb-serial.txt60 This means that in order to talk to the device, the sync button must be
77 If after pressing the sync button, nothing shows up in the system log,
132 reset button, continuing to hold onto the power until the bootloader screen
Dpower-management.txt67 by pressing a power button or opening the cover.
278 of them will issue a remote-wakeup request in response to button
760 the user pushes the power button.
/linux-4.1.27/Documentation/dvb/
Dfaq.txt46 the DVB button in the xine GUI. Channel switching works using the
/linux-4.1.27/include/uapi/linux/
Dinput.h1017 __u16 button; member
/linux-4.1.27/arch/blackfin/mach-bf537/boards/
Dstamp.c585 .button = ad7147_spi_button_plat,
630 .button = ad7142_i2c_button_plat,
/linux-4.1.27/Documentation/networking/
DREADME.ipw2100180 is controlled through a button being pressed and a software driver then making
/linux-4.1.27/Documentation/ia64/
Dmca.txt95 INIT is less complicated than MCA. Pressing the nmi button or using
/linux-4.1.27/Documentation/hid/
Dhid-transport.txt114 data may include button events, axis events, battery status or more. This
/linux-4.1.27/Documentation/sound/oss/
DREADME.OSS947 switch off power or press the reset button.
1349 through toggleing the record button for the wave controller with an
/linux-4.1.27/scripts/
Danalyze_suspend.py2386 button {height:40px;width:200px;margin-bottom:20px;margin-top:20px;font-size:24px;}\n\
/linux-4.1.27/arch/x86/
DKconfig2408 - Power button
/linux-4.1.27/
DMAINTAINERS3576 F: drivers/input/misc/e3x0-button.c
3577 F: Documentation/devicetree/bindings/input/e3x0-button.txt