Home
last modified time | relevance | path

Searched refs:pressed (Results 1 – 25 of 54) sorted by relevance

123

/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/drivers/platform/surface/
H A Dsurfacepro3_button.c80 bool pressed = false; in surface_button_notify() local
85 pressed = true; in surface_button_notify()
92 pressed = true; in surface_button_notify()
99 pressed = true; in surface_button_notify()
106 pressed = true; in surface_button_notify()
122 if (pressed) in surface_button_notify()
126 input_report_key(input, key_code, pressed?1:0); in surface_button_notify()
/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/mouse/
H A Dfocaltech.c107 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/keyboard/
H A Dmt6779-keypad.c58 bool pressed; in mt6779_keypad_irq_handler() local
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 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 Dmpr121_touchkey.c112 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 Dlocomokbd.c130 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()
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 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/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 …
H A Dsysfs-class-power-rt946712 only 'VBUS' or 'Power key" pressed can make it leave this mode.
H A Dsysfs-driver-chromeos-acpi37 2 Recovery button was pressed.
38 4 Recovery button was pressed (EC firmware).
/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/input/touchscreen/
H A Dmms114.c81 u8 id:4, reserved_bit4:1, type:2, pressed:1; member
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()
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/devicetree/bindings/input/
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).
H A Dinput-reset.txt18 timeout-ms: duration keys must be pressed together in milliseconds before
/linux/drivers/platform/x86/
H A Dfujitsu-tablet.c274 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()
/linux/drivers/tty/vt/
H A Dkeyboard.c965 static unsigned pressed, committing; in k_brl() local
983 pressed |= BIT(value - 1); in k_brl()
985 committing = pressed; in k_brl()
990 committing = pressed; in k_brl()
993 pressed &= ~BIT(value - 1); in k_brl()
994 if (!pressed && committing) { in k_brl()
1003 pressed &= ~BIT(value - 1); in k_brl()
/linux/include/xen/interface/io/
H A Dkbdif.h281 uint8_t pressed; member
/linux/Documentation/firmware-guide/acpi/
H A Dchromeos-acpi-device.rst64 - Recovery button was pressed when x86 firmware booted.
67 - Recovery button was pressed when EC firmware booted. (required if EC EEPROM is
242 of 1 means the button is pressed; for switches, a GPIO value
/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

123