/linux/Documentation/input/devices/ |
H A 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 …]
|
/linux/Documentation/devicetree/bindings/input/ |
H A D | input.yaml | 14 description: Enable autorepeat when key is pressed and held down. 51 Duration in seconds which the key should be kept pressed for device to 52 power off automatically. Device with key pressed shutdown feature can 57 Duration in seconds which the key should be kept pressed for device to 58 reset automatically. Device with key pressed reset feature can specify
|
H A D | adc-keys.yaml | 47 Voltage above or equal to which this key is considered pressed. No 68 // | 2.000.000 <= value | no key pressed | 70 // | 1.500.000 <= value < 2.000.000 | KEY_VOLUMEUP pressed | 72 // | 1.000.000 <= value < 1.500.000 | KEY_VOLUMEDOWN pressed | 74 // | 500.000 <= value < 1.000.000 | KEY_ENTER pressed | 76 // | value < 500.000 | no key pressed |
|
H A 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
|
H A D | cirrus,ep9307-keypad.yaml | 19 and decoding one or multiple keys pressed simultaneously on a keypad. 42 Time in microseconds that key must be pressed or
|
H A D | pxa27x-keypad.txt | 8 recognized when it is pressed. It is a u32 value, and bit[31:16] 23 is low, the key is pressed(active).
|
/linux/drivers/platform/surface/ |
H A 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()
|
/linux/drivers/input/keyboard/ |
H A D | mt6779-keypad.c | 58 bool pressed; in mt6779_keypad_irq_handler() local 77 /* 1: not pressed, 0: pressed */ in mt6779_keypad_irq_handler() 78 pressed = !test_bit(bit_nr, new_state); in mt6779_keypad_irq_handler() 80 pressed ? "pressed" : "released"); in mt6779_keypad_irq_handler() 83 input_report_key(keypad->input_dev, keycode[scancode], pressed); in mt6779_keypad_irq_handler()
|
H A 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 130 unsigned int scancode, pressed, key; in locomokbd_scankeyboard() local 133 pressed = rowd & KB_ROWMASK(row); in locomokbd_scankeyboard() 136 input_report_key(locomokbd->input, key, pressed); in locomokbd_scankeyboard() 137 if (likely(!pressed)) in locomokbd_scankeyboard() 144 * if it was pressed for more than a second. */ in locomokbd_scankeyboard() 164 /* if any keys are pressed, enable the timer */ in locomokbd_scankeyboard()
|
H A D | mpr121_touchkey.c | 112 unsigned int key_val, pressed; in mpr_touchkey_report() local 114 pressed = reg & BIT(key_num); in mpr_touchkey_report() 118 input_report_key(input, key_val, pressed); in mpr_touchkey_report() 121 pressed ? "pressed" : "released"); in mpr_touchkey_report()
|
H A D | mtk-pmic-keys.c | 191 u32 key_deb, pressed; in mtk_pmic_keys_irq_handler_thread() local 197 pressed = !key_deb; in mtk_pmic_keys_irq_handler_thread() 199 input_report_key(info->keys->input_dev, info->keycode, pressed); in mtk_pmic_keys_irq_handler_thread() 203 pressed ? "pressed" : "released", info->keycode); in mtk_pmic_keys_irq_handler_thread()
|
H A D | lm8333.c | 80 u8 code, pressed; in lm8333_key_handler() local 92 pressed = keys[i] & 0x80; in lm8333_key_handler() 96 input_report_key(input, lm8333->keycodes[code], pressed); in lm8333_key_handler()
|
H A D | imx-sm-bbm-key.c | 24 int keystate; /* 1:pressed */ 56 /* repeat check if pressed long */ in scmi_imx_bbm_pwrkey_check_for_events() 96 pr_debug("BBM Button Power key pressed\n"); in scmi_imx_bbm_key_notifier()
|
H A D | cros_ec_keyb.c | 7 // communicating the keyboard state (which keys are pressed) from a keyboard EC 40 * @old_kb_state: bitmap of keys pressed last scan 132 * Returns true when there is at least one combination of pressed keys that 142 * Ghosting happens if for any pressed key X there are other keys in cros_ec_keyb_has_ghosting() 143 * pressed both in the same row and column of X as, for instance, in cros_ec_keyb_has_ghosting() 151 * In this case only X, Y, and Z are pressed, but g appears to be in cros_ec_keyb_has_ghosting() 152 * pressed too (see Wikipedia). in cros_ec_keyb_has_ghosting()
|
/linux/include/linux/platform_data/ |
H A D | keypad-omap.h | 24 /* Group (0..3) -- when multiple keys are pressed, only the 25 * keys pressed in the same group are considered as pressed. This is
|
/linux/drivers/hid/bpf/progs/ |
H A D | XPPen__Artist24.bpf.c | 112 * whenever the second button gets pressed or released, an 118 * when the second button is pressed/released: 122 * // Second button is pressed 136 * the second button is pressed/released: an out of range 142 * // Second button is pressed 172 * Illegal transition: pen is in range with the tip pressed, and in SEC()
|
H A D | XPPen__DecoMini4.bpf.c | 41 * The tablet send these values when the pad buttons are pressed individually: 51 * When multiple buttons are pressed at the same time, the values used to 53 * record. For example, when button 2 (0x08) and button 1 (0x05) are pressed, 61 * Button 3 is pressed when the 3rd bit is 1. For example, pressing buttons 3 68 * `- 0x05 = 0101. Button 3 is pressed
|
/linux/Documentation/ABI/testing/ |
H A 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
|
H A D | sysfs-driver-wacom | 30 button is pressed on the stylus. This luminance level is 31 normally lower than the level when a button is pressed. 40 pressed on the stylus.
|
/linux/drivers/input/mouse/ |
H A 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()
|
/linux/drivers/input/misc/ |
H A 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()
|
/linux/drivers/input/touchscreen/ |
H A D | mms114.c | 81 u8 id:4, reserved_bit4:1, type:2, pressed:1; member 178 "id: %d, type: %d, pressed: %d, x: %d, y: %d, width: %d, strength: %d\n", in mms114_process_mt() 179 id, touch->type, touch->pressed, in mms114_process_mt() 183 input_mt_report_slot_state(input_dev, MT_TOOL_FINGER, touch->pressed); in mms114_process_mt() 185 if (touch->pressed) { in mms114_process_mt() 209 dev_dbg(&client->dev, "keycode id: %d, pressed: %d\n", keycode_id, in mms114_process_touchkey() 210 touch->pressed); in mms114_process_touchkey() 212 input_report_key(input_dev, data->keycodes[keycode_id], touch->pressed); in mms114_process_touchkey()
|
/linux/Documentation/ABI/stable/ |
H A D | sysfs-driver-speakup | 142 keys are pressed. If say_control is set to zero, shift, ctrl, 143 and alt are not spoken when they are pressed. 160 review command is pressed twice quickly to speak the current 215 you have activated help mode, and you pressed 226 had pressed speakup + keypad 3, you would hear: 264 previous example, Speakup said that you pressed "keypad 3."
|
/linux/drivers/accessibility/speakup/ |
H A D | fakekey.c | 15 #define PRESSED 1 macro 69 input_report_key(virt_keyboard, KEY_DOWN, PRESSED); in speakup_fake_down_arrow()
|
/linux/drivers/platform/x86/ |
H A D | fujitsu-tablet.c | 274 int pressed; in fujitsu_interrupt() local 292 pressed = keymask & changed & BIT(i); in fujitsu_interrupt() 294 if (pressed) in fujitsu_interrupt() 297 input_report_key(fujitsu.idev, keycode, pressed); in fujitsu_interrupt()
|