/linux-4.1.27/drivers/input/keyboard/ |
D | gpio_keys.c | 36 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 …]
|
D | gpio_keys_polled.c | 47 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 …]
|
D | tca6416-keypad.c | 109 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/ |
D | button.c | 148 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 …]
|
D | Makefile | 67 obj-$(CONFIG_ACPI_BUTTON) += button.o
|
D | Kconfig | 135 the module will be called button.
|
/linux-4.1.27/drivers/platform/x86/ |
D | xo15-ebook.c | 51 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 …]
|
D | Kconfig | 223 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/ |
D | yesno.c | 44 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()
|
D | inputbox.c | 48 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 …]
|
D | checklist.c | 121 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()
|
D | menubox.c | 189 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/ |
D | gpio-keys.txt | 10 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 {
|
D | ti,palmas-pwrbutton.txt | 1 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
|
D | e3x0-button.txt | 1 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";
|
D | sun4i-lradc-keys.txt | 28 button@191 { 35 button@392 { 42 button@601 { 49 button@795 { 56 button@987 {
|
D | tps65218-pwrbutton.txt | 1 Texas Instruments TPS65218 power button 3 This driver provides a simple power button event via an Interrupt. 13 power-button {
|
D | gpio-keys-polled.txt | 11 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 {
|
D | twl4030-pwrbutton.txt | 6 This module provides a simple power button event via an Interrupt.
|
/linux-4.1.27/arch/arm/boot/dts/ |
D | kirkwood-netxbig.dtsi | 61 * 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 {
|
D | kirkwood-dnskw.dtsi | 16 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 {
|
D | kirkwood-ts219-6281.dts | 19 pmx_USB_copy_button: pmx-USB-copy-button { 23 pmx_reset_button: pmx-reset-button { 42 button@1 { 47 button@2 {
|
D | s3c6410-mini6410.dts | 77 button-k1 { 84 button-k2 { 91 button-k3 { 98 button-k4 { 105 button-k5 { 112 button-k6 { 119 button-k7 { 126 button-k8 {
|
D | kirkwood-ts219-6282.dts | 29 pmx_reset_button: pmx-reset-button { 33 pmx_USB_copy_button: pmx-USB-copy-button { 52 button@1 { 57 button@2 {
|
D | sun7i-a20-olinuxino-micro.dts | 115 button@191 { 122 button@392 { 129 button@601 { 136 button@795 { 143 button@987 { 150 button@1184 { 157 button@1398 {
|
D | kirkwood-ts419.dtsi | 20 pmx_USB_copy_button: pmx-USB-copy-button { 24 pmx_reset_button: pmx-reset-button { 48 button@1 { 53 button@2 {
|
D | kirkwood-netgear_readynas_duo_v2.dts | 43 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 {
|
D | emev2-kzm9d.dts | 36 button@1 { 43 button@2 { 50 button@3 { 57 button@4 {
|
D | kirkwood-netgear_readynas_nv+_v2.dts | 45 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 {
|
D | kirkwood-ib62x0.dts | 38 pmx_button_reset: pmx-button-reset { 42 pmx_button_usb_copy: pmx-button-usb-copy { 65 button@1 { 70 button@2 {
|
D | kirkwood-blackarmor-nas220.dts | 39 button@1{ 45 button@2{ 130 pmx_button_reset: pmx-button-reset { 135 pmx_button_power: pmx-button-power {
|
D | armada-xp-lenovo-ix4-300d.dts | 199 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 {
|
D | kirkwood-iconnect.dts | 34 pmx_button_reset: pmx-button-reset { 38 pmx_button_otb: pmx-button-otb { 139 button@1 { 145 button@2 {
|
D | sun5i-a13-olinuxino.dts | 117 button@191 { 124 button@392 { 131 button@601 { 138 button@795 { 145 button@987 {
|
D | kirkwood-nsa3x0-common.dtsi | 80 button@1 { 85 button@2 { 90 button@3 {
|
D | kirkwood-lsxl.dtsi | 48 pmx_button_function: pmx-button-function { 110 button@1 { 115 button@2 { 121 button@3 {
|
D | armada-370-netgear-rn104.dts | 248 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 {
|
D | armada-370-netgear-rn102.dts | 226 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 {
|
D | kirkwood-ns2-common.dtsi | 60 button@1 { 61 label = "Power push button";
|
D | kirkwood-cloudbox.dts | 63 button@1 { 64 label = "Power push button";
|
D | sun5i-a10s-olinuxino-micro.dts | 151 button@191 { 158 button@392 { 165 button@601 { 172 button@795 { 179 button@987 {
|
D | spear320-hmi.dts | 139 button@1 { 140 label = "user button 1"; 147 button@2 { 148 label = "user button 2";
|
D | omap3-pandora-common.dtsi | 83 up-button { 90 down-button { 97 left-button { 104 right-button { 111 pageup-button { 118 pagedown-button { 125 home-button { 132 end-button {
|
D | kirkwood-iomega_ix2_200.dts | 34 pmx_button_reset: pmx-button-reset { 38 pmx_button_power: pmx-button-power { 50 pmx_button_otb: pmx-button-otb {
|
D | ste-href-stuib.dtsi | 23 button@139 { 29 button@145 {
|
D | imx28-eukrea-mbmx28lc.dtsi | 30 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 {
|
D | ste-snowball.dts | 41 button@1 { 48 button@2 { 55 button@3 { 62 button@4 { 69 button@5 {
|
D | ste-nomadik-s8815.dts | 59 user-button { 132 user-button {
|
D | kirkwood-mv88f6281gtw-ge.dts | 112 button@1 { 117 button@2 {
|
D | imx6q-gk802.dts | 43 recovery-button { 86 /* Recovery button, active-low */
|
D | sun4i-a10-pcduino.dts | 170 button@0 { 176 button@1 { 182 button@2 {
|
D | kirkwood-laplug.dts | 65 button@1{ 66 label = "Power push button";
|
D | sun7i-a20-pcduino3.dts | 183 button@0 { 188 button@1 { 193 button@2 {
|
D | ste-href-tvk1281618.dtsi | 25 button@139 { 31 button@145 {
|
D | armada-xp-netgear-rn2120.dts | 269 power-button { 275 reset-button { 296 power_button_pin: power-button-pin { 301 reset_button_pin: reset-button-pin {
|
D | rk3066a-bqcurie2.dts | 43 button@0 { 51 button@1 {
|
D | orion5x-lacie-ethernet-disk-mini-v2.dts | 48 button@1 { 144 pmx_power_button: pmx-power-button {
|
D | imx28-apf28dev.dts | 224 user-button { 225 label = "User button";
|
D | kirkwood-b3.dts | 49 pmx_button_power: pmx-button-power { 157 power-button {
|
D | r8a7790-lager.dts | 77 button@1 { 84 button@2 { 91 button@3 { 98 button@4 {
|
D | sun8i-a23-ippo-q8h-v5.dts | 94 button@200 { 101 button@400 {
|
D | moxart-uc7112lx.dts | 67 button@25 {
|
D | ste-hrefprev60.dtsi | 20 button@1 {
|
D | kirkwood-openblocks_a6.dts | 120 button@1 {
|
D | armada-xp-linksys-mamba.dts | 302 button@1 { 308 button@2 {
|
D | kirkwood-openblocks_a7.dts | 138 button@1 {
|
D | kirkwood-t5325.dts | 176 button@1 {
|
D | armada-xp-synology-ds414.dts | 182 * button is pressed. The converter needs to be 184 * power button. This is possibly due to UART0_TXD
|
D | ea3250.dts | 168 button@21 {
|
D | rk3288-evb.dtsi | 72 button@0 {
|
D | armada-xp-axpwifiap.dts | 158 button@1 {
|
D | imx51-eukrea-mbimxsd51-baseboard.dts | 40 button-1 {
|
D | am335x-pepper.dts | 616 button@0 { 623 button@1 {
|
D | armada-xp-openblocks-ax3-4.dts | 148 button@1 {
|
D | rk3188-radxarock.dts | 32 button@0 {
|
D | armada-370-rd.dts | 148 button@1 {
|
D | spear1310-evb.dts | 159 button@1 {
|
D | am437x-idk-evm.dts | 108 label = "power-button";
|
D | spear1340-evb.dts | 221 button@1 {
|
D | rk3288-popmetal.dts | 71 button@0 {
|
D | armada-370-synology-ds213j.dts | 175 /* rear USB port, near reset button */
|
D | rk3066a-rayeager.dts | 66 button@0 {
|
D | rk3288-firefly.dtsi | 68 button@0 {
|
D | omap3-gta04.dtsi | 36 aux-button {
|
D | am437x-sk-evm.dts | 446 power-button {
|
/linux-4.1.27/Documentation/input/ |
D | gamepad.txt | 7 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 …]
|
D | sentelic.txt | 7 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 …]
|
D | amijoy.txt | 19 (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 …]
|
D | input-programming.txt | 11 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 …]
|
D | atarikbd.txt | 34 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 …]
|
D | joystick-api.txt | 34 __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 */
|
D | joystick-parport.txt | 226 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 …]
|
D | joystick.txt | 170 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 …]
|
D | elantech.txt | 69 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 …]
|
D | cs461x.txt | 9 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
|
D | event-codes.txt | 61 - 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
|
D | appletouch.txt | 28 tap for middle button mouse emulation, 3 finger tap for right button mouse
|
D | yealink.txt | 50 Physical USB-P1K button layout input events 63 The "up" and "down" keys, are symbolised by arrows on the button. 65 on the button.
|
D | alps.txt | 280 (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
|
D | iforce-protocol.txt | 31 This packet is used to indicate the state of each button and the value of each
|
/linux-4.1.27/drivers/media/usb/em28xx/ |
D | em28xx-input.c | 509 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/ |
D | keyspan_remote.c | 96 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()
|
D | Kconfig | 20 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 …]
|
D | ad714x.c | 119 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()
|
D | Makefile | 29 obj-$(CONFIG_INPUT_E3X0_BUTTON) += e3x0-button.o
|
/linux-4.1.27/drivers/input/joystick/ |
D | amijoy.c | 56 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()
|
D | Kconfig | 25 Flightstick Pro, ThrustMaster FCS, 6 and 8 button gamepads, or
|
/linux-4.1.27/drivers/input/tablet/ |
D | wacom_serial4.c | 314 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/ |
D | sysfs-driver-hid-roccat-savu | 5 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.
|
D | sysfs-driver-input-axp-pek | 4 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
|
D | sysfs-driver-wacom | 29 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
|
D | sysfs-firmware-acpi | 69 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;
|
D | sysfs-driver-hid-roccat-konepure | 5 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.
|
D | sysfs-driver-hid-roccat-koneplus | 23 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.
|
D | sysfs-driver-hid-roccat-kovaplus | 24 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.
|
D | sysfs-driver-hid-roccat-pyra | 13 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.
|
D | sysfs-driver-hid-roccat-arvo | 11 …<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
|
D | sysfs-driver-hid-roccat-lua | 4 Description: When written, cpi, button and light settings can be configured.
|
D | sysfs-driver-hid-roccat-kone | 5 press of a button. 43 press of a button. A profile holds information like button
|
D | sysfs-driver-hid-lenovo | 27 a left or right mouse button click.
|
D | sysfs-driver-hid-roccat-ryos | 13 press of a button. profile holds index of actual profile. 107 keystrokes for a specific button for a specific profile.
|
D | sysfs-driver-hid-roccat-isku | 114 keystrokes for a specific button for a specific profile.
|
/linux-4.1.27/arch/arm/mach-davinci/ |
D | board-da850-evm.c | 446 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/ |
D | iforce-ff.c | 186 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/ |
D | ar1021_i2c.c | 32 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()
|
D | atmel_mxt_ts.c | 729 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/ |
D | sysfs-driver-hid-roccat-pyra | 5 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.
|
D | sysfs-driver-hid-roccat-koneplus | 29 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.
|
D | sysfs-driver-hid-roccat-kovaplus | 47 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/ |
D | Kconfig | 86 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/ |
D | Kconfig | 45 This option makes USB Philips cameras register the snapshot button as 46 an input device to report button events.
|
/linux-4.1.27/Documentation/ |
D | rfkill.txt | 16 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
|
D | email-clients.txt | 104 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
|
D | cpu-hotplug.txt | 181 the platform should have something like an attention button in PCI hotplug.
|
D | kernel-parameters.txt | 2096 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
|
D | devices.txt | 376 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/ |
D | restart-poweroff.txt | 5 user presses a button.
|
/linux-4.1.27/include/linux/input/ |
D | ad714x.h | 58 struct ad714x_button_plat *button; member
|
/linux-4.1.27/scripts/kconfig/ |
D | gconf.c | 117 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/ |
D | hid-roccat-arvo.h | 67 uint8_t button; member
|
D | hid-roccat-kovaplus.h | 116 uint8_t button; member
|
D | hid-roccat-kone.h | 154 uint8_t button; member
|
D | hid-roccat-kovaplus.c | 316 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()
|
D | hid-roccat-arvo.c | 240 static BIN_ATTR(button, 0220, NULL, arvo_sysfs_write_button, 393 roccat_report.button = special_report->event & in arvo_report_to_chrdev()
|
D | hid-logitech-hidpp.c | 595 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()
|
D | hid-rmi.c | 404 int button = 0; in rmi_f30_input_event() local 420 input_event(hdata->input, EV_KEY, BTN_LEFT + button++, in rmi_f30_input_event()
|
D | wacom_sys.c | 792 static DEVICE_ATTR(button##BUTTON_ID##_rawimg, DEV_ATTR_WO_PERM, \
|
/linux-4.1.27/drivers/media/usb/uvc/ |
D | Kconfig | 18 to report button events.
|
/linux-4.1.27/drivers/iio/proximity/ |
D | Kconfig | 31 proximity/button sensor.
|
/linux-4.1.27/Documentation/devicetree/bindings/extcon/ |
D | extcon-sm5502.txt | 6 attached or detached and button is pressed or released. It is interfaced to
|
/linux-4.1.27/Documentation/arm/ |
D | Netwinder | 59 10 ISA GP10 (Orange reset button)
|
/linux-4.1.27/drivers/char/ |
D | Kconfig | 201 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/ |
D | gdbstub.txt | 9 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/ |
D | TODO.lirc_zilog | 20 receiving button presses again and ir_send worked without error.)
|
/linux-4.1.27/drivers/macintosh/ |
D | Kconfig | 176 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/ |
D | bcm5974.c | 174 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()
|
D | Kconfig | 24 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/ |
D | sonypi.txt | 18 - capture button events (only on Vaio Picturebook series) 20 - bluetooth button (only on C1VR model)
|
D | thinkpad-acpi.txt | 398 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/ |
D | cpia1.c | 350 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/ |
D | Kconfig | 152 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/ |
D | s2ram.txt | 40 holding the power button down, and look at the dmesg output for things
|
D | basic-pm-debugging.txt | 34 button to make the system resume).
|
D | swsusp.txt | 74 Nowadays it is common in several laptops that they have a suspend button. It
|
/linux-4.1.27/Documentation/arm/Samsung-S3C24XX/ |
D | Suspend.txt | 73 "button-irq-eint0", NULL);
|
/linux-4.1.27/drivers/hid/usbhid/ |
D | hid-pidff.c | 317 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/ |
D | vivid-core.h | 208 struct v4l2_ctrl *button; member
|
D | vivid-ctrls.c | 1321 dev->button = v4l2_ctrl_new_custom(hdl_user_gen, &vivid_ctrl_button, NULL); in vivid_create_controls()
|
/linux-4.1.27/drivers/usb/misc/ |
D | cytherm.c | 221 static DEVICE_ATTR(button, S_IRUGO, show_button, set_button);
|
/linux-4.1.27/arch/arm/mach-omap1/ |
D | Kconfig | 76 touchscreen, PDA-ish buttons, a resume button, bicolor LED,
|
/linux-4.1.27/arch/cris/arch-v10/ |
D | Kconfig | 390 int "Power button bit on port G" 394 Configure where power button is connected.
|
/linux-4.1.27/Documentation/usb/ |
D | usb-serial.txt | 60 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
|
D | power-management.txt | 67 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/ |
D | faq.txt | 46 the DVB button in the xine GUI. Channel switching works using the
|
/linux-4.1.27/include/uapi/linux/ |
D | input.h | 1017 __u16 button; member
|
/linux-4.1.27/arch/blackfin/mach-bf537/boards/ |
D | stamp.c | 585 .button = ad7147_spi_button_plat, 630 .button = ad7142_i2c_button_plat,
|
/linux-4.1.27/Documentation/networking/ |
D | README.ipw2100 | 180 is controlled through a button being pressed and a software driver then making
|
/linux-4.1.27/Documentation/ia64/ |
D | mca.txt | 95 INIT is less complicated than MCA. Pressing the nmi button or using
|
/linux-4.1.27/Documentation/hid/ |
D | hid-transport.txt | 114 data may include button events, axis events, battery status or more. This
|
/linux-4.1.27/Documentation/sound/oss/ |
D | README.OSS | 947 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/ |
D | analyze_suspend.py | 2386 button {height:40px;width:200px;margin-bottom:20px;margin-top:20px;font-size:24px;}\n\
|
/linux-4.1.27/arch/x86/ |
D | Kconfig | 2408 - Power button
|
/linux-4.1.27/ |
D | MAINTAINERS | 3576 F: drivers/input/misc/e3x0-button.c 3577 F: Documentation/devicetree/bindings/input/e3x0-button.txt
|