Home
last modified time | relevance | path

Searched full:pressed (Results 1 – 25 of 180) sorted by relevance

12345678

/linux/Documentation/input/devices/
H A Dsentelic.rst37 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 Dadc-keys.yaml47 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 Dti,palmas-pwrbutton.txt17 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 Dpxa27x-keypad.txt8 recognized when it is pressed. It is a u32 value, and bit[31:16]
23 is low, the key is pressed(active).
/linux/drivers/input/keyboard/
H A Dmt6779-keypad.c58 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 Dlocomokbd.c106 * 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 Dmtk-pmic-keys.c208 u32 key_deb, pressed; in mtk_pmic_keys_irq_handler_thread() local
214 pressed = !key_deb; in mtk_pmic_keys_irq_handler_thread()
216 input_report_key(info->keys->input_dev, info->keycode, pressed); in mtk_pmic_keys_irq_handler_thread()
220 pressed ? "pressed" : "released", info->keycode); in mtk_pmic_keys_irq_handler_thread()
H A Dlm8333.c80 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 Dimx-sm-bbm-key.c24 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 Dsamsung-keypad.c104 unsigned int pressed; in samsung_keypad_report() local
119 pressed = row_state[col] & BIT(row); in samsung_keypad_report()
123 pressed ? "pressed" : "released", row, col); in samsung_keypad_report()
129 keypad->keycodes[val], pressed); in samsung_keypad_report()
/linux/include/linux/platform_data/
H A Dkeypad-omap.h24 /* 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 DXPPen__Artist24.bpf.c112 * 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()
/linux/Documentation/ABI/testing/
H A 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
H A Dsysfs-driver-wacom30 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.
H A Dsysfs-driver-hid-lenovo4 Description: This controls if mouse clicks should be generated if the trackpoint is quickly pressed
47 Description: This setting controls how fast the trackpoint needs to be pressed to generate a mouse …
/linux/drivers/input/mouse/
H A Dfocaltech.c106 /* 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 Dda9052_onkey.c38 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/rmi4/
H A Drmi_f21.c48 bool pressed; in rmi_f21_attention() local
72 pressed = *pdata & RMI_F21_FORCE_CLICK_BIT; in rmi_f21_attention()
73 input_report_key(f21->input, f21->key_code, pressed); in rmi_f21_attention()
/linux/drivers/hid/usbhid/
H A Dusbkbd.c60 * keys were pressed. By comparing with the current list of keys
61 * that are pressed, we are able to see key releases.
62 * @irq: URB for receiving a list of keys that are pressed when a
63 * new key is pressed or a key that was pressed is released.
136 "Unknown key (scancode %#x) pressed.\n", in usb_kbd_irq()
/linux/Documentation/ABI/stable/
H A Dsysfs-driver-speakup141 keys are pressed. If say_control is set to zero, shift, ctrl,
142 and alt are not spoken when they are pressed.
159 review command is pressed twice quickly to speak the current
214 you have activated help mode, and you pressed
225 had pressed speakup + keypad 3, you would hear:
263 previous example, Speakup said that you pressed "keypad 3."
/linux/drivers/accessibility/speakup/
H A Dfakekey.c15 #define PRESSED 1 macro
69 input_report_key(virt_keyboard, KEY_DOWN, PRESSED); in speakup_fake_down_arrow()
/linux/tools/testing/selftests/hid/tests/
H A Dtest_keyboard.py35 :param key: a tuple of chars for the currently pressed keys.
42 # self.keystates contains now the list of currently pressed keys,
62 :param keys: a tuple of chars for the pressed keys. The class maintains
63 the list of currently pressed keys, so to release a key, the caller
77 :param keys: a tuple of chars for the pressed keys. The class maintains
78 the list of currently pressed keys, so to release a key, the caller
/linux/Documentation/driver-api/media/
H A Drc-core.rst12 Every time a key is pressed on a remote controller, a scan code is produced.
13 Also, on most hardware, keeping a key pressed for more than a few dozens of
/linux/drivers/platform/x86/dell/
H A Ddell-wmi-aio.c25 /* 0x000: A hot key pressed or an event occurred
26 * 0x00F: A sequence of hot keys are pressed */
/linux/drivers/media/usb/dvb-usb/
H A Daf9005-remote.c107 deb_decode("key pressed, raw value %x\n", result); in af9005_rc_decode()
126 ("key pressed, event %x\n", *event); in af9005_rc_decode()

12345678