| /kernel/linux/linux-4.19/Documentation/input/devices/ |
| D | sentelic.rst | 37 Bit2 => Middle Button, 1 is pressed, 0 is not pressed. 38 Bit1 => Right Button, 1 is pressed, 0 is not pressed. 39 Bit0 => Left Button, 1 is pressed, 0 is not pressed. 44 Bit4 => 1 = 4th mouse button is pressed, Forward one page. 45 0 = 4th mouse button is not pressed. 46 Bit5 => 1 = 5th mouse button is pressed, Backward one page. 47 0 = 5th mouse button is not pressed. 69 Bit2 => Middle Button, 1 is pressed, 0 is not pressed. 70 Bit1 => Right Button, 1 is pressed, 0 is not pressed. 71 Bit0 => Left Button, 1 is pressed, 0 is not pressed. [all …]
|
| D | elantech.rst | 243 L, R, M = 1 when Left, Right, Middle mouse button pressed 311 L, R = 1 when Left, Right mouse button pressed 313 D, U = 1 when rocker switch pressed Up, Down 320 L, R = 1 when Left, Right mouse button pressed 409 … (((SA1 & 0x0C) != 0x0C) && ((SA1 & 0xC0) == 0x80)) || // check Byte 1 (one finger pressed) 412 … (((SB1 & 0x0E) != 0x08) && ((SA1 & 0xC0) == 0x80)) || // check Byte 4 (one finger pressed) 433 L, R = 1 when Left, Right mouse button pressed 457 b2 (on EF113 only, 0 otherwise), b2.R.L indicates one button pressed: 495 L, R = 1 when Left, Right mouse button pressed 578 L, R = 1 when Left, Right mouse button pressed [all …]
|
| /kernel/linux/linux-5.10/Documentation/input/devices/ |
| D | sentelic.rst | 37 Bit2 => Middle Button, 1 is pressed, 0 is not pressed. 38 Bit1 => Right Button, 1 is pressed, 0 is not pressed. 39 Bit0 => Left Button, 1 is pressed, 0 is not pressed. 44 Bit4 => 1 = 4th mouse button is pressed, Forward one page. 45 0 = 4th mouse button is not pressed. 46 Bit5 => 1 = 5th mouse button is pressed, Backward one page. 47 0 = 5th mouse button is not pressed. 69 Bit2 => Middle Button, 1 is pressed, 0 is not pressed. 70 Bit1 => Right Button, 1 is pressed, 0 is not pressed. 71 Bit0 => Left Button, 1 is pressed, 0 is not pressed. [all …]
|
| D | elantech.rst | 243 L, R, M = 1 when Left, Right, Middle mouse button pressed 311 L, R = 1 when Left, Right mouse button pressed 313 D, U = 1 when rocker switch pressed Up, Down 320 L, R = 1 when Left, Right mouse button pressed 409 … (((SA1 & 0x0C) != 0x0C) && ((SA1 & 0xC0) == 0x80)) || // check Byte 1 (one finger pressed) 412 … (((SB1 & 0x0E) != 0x08) && ((SA1 & 0xC0) == 0x80)) || // check Byte 4 (one finger pressed) 433 L, R = 1 when Left, Right mouse button pressed 457 b2 (on EF113 only, 0 otherwise), b2.R.L indicates one button pressed: 495 L, R = 1 when Left, Right mouse button pressed 578 L, R = 1 when Left, Right mouse button pressed [all …]
|
| /kernel/linux/linux-4.19/drivers/platform/x86/ |
| D | surfacepro3_button.c | 79 bool pressed = false; in surface_button_notify() local 84 pressed = true; in surface_button_notify() 91 pressed = true; in surface_button_notify() 98 pressed = true; in surface_button_notify() 105 pressed = true; in surface_button_notify() 121 if (pressed) in surface_button_notify() 125 input_report_key(input, key_code, pressed?1:0); in surface_button_notify()
|
| /kernel/linux/linux-5.10/drivers/platform/x86/ |
| D | surfacepro3_button.c | 81 bool pressed = false; in surface_button_notify() local 86 pressed = true; in surface_button_notify() 93 pressed = true; in surface_button_notify() 100 pressed = true; in surface_button_notify() 107 pressed = true; in surface_button_notify() 123 if (pressed) in surface_button_notify() 127 input_report_key(input, key_code, pressed?1:0); in surface_button_notify()
|
| /kernel/linux/linux-5.10/drivers/input/keyboard/ |
| D | mcs_touchkey.c | 61 unsigned int pressed; in mcs_touchkey_interrupt() local 70 pressed = (val & (1 << chip->pressbit)) >> chip->pressbit; in mcs_touchkey_interrupt() 72 pressed ^= chip->press_invert; in mcs_touchkey_interrupt() 75 if (pressed) { in mcs_touchkey_interrupt() 85 input_report_key(input, data->key_code, pressed); in mcs_touchkey_interrupt() 89 pressed ? "pressed" : "released"); in mcs_touchkey_interrupt()
|
| D | locomokbd.c | 106 * The LoCoMo keyboard only generates interrupts when a key is pressed. 107 * So when a key is pressed, we enable a timer. This timer scans the 131 unsigned int scancode, pressed, key; in locomokbd_scankeyboard() local 134 pressed = rowd & KB_ROWMASK(row); in locomokbd_scankeyboard() 137 input_report_key(locomokbd->input, key, pressed); in locomokbd_scankeyboard() 138 if (likely(!pressed)) in locomokbd_scankeyboard() 145 * if it was pressed for more than a second. */ in locomokbd_scankeyboard() 165 /* if any keys are pressed, enable the timer */ in locomokbd_scankeyboard()
|
| D | mtk-pmic-keys.c | 151 u32 key_deb, pressed; in mtk_pmic_keys_irq_handler_thread() local 157 pressed = !key_deb; in mtk_pmic_keys_irq_handler_thread() 159 input_report_key(info->keys->input_dev, info->keycode, pressed); in mtk_pmic_keys_irq_handler_thread() 163 pressed ? "pressed" : "released", info->keycode); in mtk_pmic_keys_irq_handler_thread()
|
| /kernel/linux/linux-4.19/drivers/input/keyboard/ |
| D | mcs_touchkey.c | 65 unsigned int pressed; in mcs_touchkey_interrupt() local 74 pressed = (val & (1 << chip->pressbit)) >> chip->pressbit; in mcs_touchkey_interrupt() 76 pressed ^= chip->press_invert; in mcs_touchkey_interrupt() 79 if (pressed) { in mcs_touchkey_interrupt() 89 input_report_key(input, data->key_code, pressed); in mcs_touchkey_interrupt() 93 pressed ? "pressed" : "released"); in mcs_touchkey_interrupt()
|
| D | locomokbd.c | 121 * The LoCoMo keyboard only generates interrupts when a key is pressed. 122 * So when a key is pressed, we enable a timer. This timer scans the 146 unsigned int scancode, pressed, key; in locomokbd_scankeyboard() local 149 pressed = rowd & KB_ROWMASK(row); in locomokbd_scankeyboard() 152 input_report_key(locomokbd->input, key, pressed); in locomokbd_scankeyboard() 153 if (likely(!pressed)) in locomokbd_scankeyboard() 160 * if it was pressed for more than a second. */ in locomokbd_scankeyboard() 180 /* if any keys are pressed, enable the timer */ in locomokbd_scankeyboard()
|
| D | mtk-pmic-keys.c | 161 u32 key_deb, pressed; in mtk_pmic_keys_irq_handler_thread() local 167 pressed = !key_deb; in mtk_pmic_keys_irq_handler_thread() 169 input_report_key(info->keys->input_dev, info->keycode, pressed); in mtk_pmic_keys_irq_handler_thread() 173 pressed ? "pressed" : "released", info->keycode); in mtk_pmic_keys_irq_handler_thread()
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/ |
| D | input.yaml | 14 description: Enable autorepeat when key is pressed and held down. 32 Duration in seconds which the key should be kept pressed for device to 33 power off automatically. Device with key pressed shutdown feature can
|
| D | ti,palmas-pwrbutton.txt | 17 button should be kept pressed for Palmas to power off automatically. 21 which the power button should be kept pressed for Palmas to register
|
| /kernel/linux/linux-5.10/include/linux/platform_data/ |
| D | keypad-omap.h | 27 /* Group (0..3) -- when multiple keys are pressed, only the 28 * keys pressed in the same group are considered as pressed. This is
|
| /kernel/linux/linux-4.19/include/linux/platform_data/ |
| D | keypad-omap.h | 30 /* Group (0..3) -- when multiple keys are pressed, only the 31 * keys pressed in the same group are considered as pressed. This is
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/input/ |
| D | keys.txt | 5 pressed for device to power off automatically. Device with key pressed
|
| D | ti,palmas-pwrbutton.txt | 17 button should be kept pressed for Palmas to power off automatically. 21 which the power button should be kept pressed for Palmas to register
|
| /kernel/linux/linux-4.19/Documentation/ABI/testing/ |
| 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
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| 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
|
| /kernel/linux/linux-4.19/arch/arm/mach-s3c24xx/ |
| D | mach-n30.c | 467 /* GPF0 input 0=power button pressed in n30_hwinit() 469 * GPF2 N30 1=reset button pressed (inverted compared to the rest) in n30_hwinit() 470 * N35/PiN 0=reset button pressed in n30_hwinit() 473 * GPF4 input 0=button 4 pressed in n30_hwinit() 474 * GPF5 input 0=button 3 pressed in n30_hwinit() 475 * GPF6 input 0=button 2 pressed in n30_hwinit() 476 * GPF7 input 0=button 1 pressed in n30_hwinit() 493 * GPG7 input 0=thumbwheel pressed in n30_hwinit()
|
| /kernel/linux/linux-5.10/drivers/input/misc/ |
| D | da9052_onkey.c | 38 bool pressed = !(ret & DA9052_STATUSA_NONKEY); in da9052_onkey_query() local 40 input_report_key(onkey->input, KEY_POWER, pressed); in da9052_onkey_query() 48 if (pressed) in da9052_onkey_query()
|
| /kernel/linux/linux-4.19/drivers/input/misc/ |
| D | da9052_onkey.c | 42 bool pressed = !(ret & DA9052_STATUSA_NONKEY); in da9052_onkey_query() local 44 input_report_key(onkey->input, KEY_POWER, pressed); in da9052_onkey_query() 52 if (pressed) in da9052_onkey_query()
|
| /kernel/linux/linux-4.19/drivers/input/mouse/ |
| D | focaltech.c | 110 /* True if the clickpad has been pressed. */ 111 bool pressed; member 149 input_report_key(dev, BTN_LEFT, state->pressed); in focaltech_report_state() 161 state->pressed = (packet[0] >> 4) & 1; in focaltech_process_touch_packet() 191 state->pressed = (packet[0] >> 4) & 1; in focaltech_process_abs_packet() 206 state->pressed = packet[0] >> 7; in focaltech_process_rel_packet()
|
| /kernel/linux/linux-5.10/drivers/input/mouse/ |
| D | focaltech.c | 106 /* True if the clickpad has been pressed. */ 107 bool pressed; member 145 input_report_key(dev, BTN_LEFT, state->pressed); in focaltech_report_state() 157 state->pressed = (packet[0] >> 4) & 1; in focaltech_process_touch_packet() 187 state->pressed = (packet[0] >> 4) & 1; in focaltech_process_abs_packet() 202 state->pressed = packet[0] >> 7; in focaltech_process_rel_packet()
|