Home
last modified time | relevance | path

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

12345

/openbmc/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 …]
H A Delantech.rst243 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 …]
/openbmc/linux/drivers/platform/surface/
H A Dsurfacepro3_button.c79 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()
/openbmc/qemu/hw/input/
H A Dstellaris_gamepad.c27 if (s->keycodes[i] == qcode && s->pressed[i] != key->down) { in stellaris_gamepad_event()
28 s->pressed[i] = key->down; in stellaris_gamepad_event()
39 VMSTATE_VARRAY_UINT32(pressed, StellarisGamepad, num_buttons,
61 s->pressed = g_new0(uint8_t, s->num_buttons); in stellaris_gamepad_realize()
77 memset(s->pressed, 0, s->num_buttons * sizeof(uint8_t)); in stellaris_gamepad_reset_enter()
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Chassis/
H A DREADME.md20 - Pressed - Power button pressed signal.
21 - PressedLong - Power button long pressed signal.
35 - Pressed - ID button pressed signal.
49 - Pressed - Reset button pressed signal.
/openbmc/linux/drivers/input/keyboard/
H A Dmcs_touchkey.c61 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()
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 Dlocomokbd.c131 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()
H A Dmpr121_touchkey.c148 unsigned int key_val, pressed; in mpr_touchkey_report() local
150 pressed = reg & BIT(key_num); in mpr_touchkey_report()
154 input_report_key(input, key_val, pressed); in mpr_touchkey_report()
157 pressed ? "pressed" : "released"); in mpr_touchkey_report()
H A Dmtk-pmic-keys.c191 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()
/openbmc/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()
/openbmc/phosphor-buttons/src/
H A Dreset_button.cpp26 pressed(); in simPress()
58 pressed(); in handleEvent()
H A DdebugHostSelector_button.cpp8 pressed(); in simPress()
57 pressed(); in handleEvent()
H A Did_button.cpp24 pressed(); in simPress()
54 pressed(); in handleEvent()
H A Dpower_button.cpp27 pressed(); in simPress()
75 pressed(); in handleEvent()
/openbmc/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
/openbmc/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()
/openbmc/phosphor-buttons/inc/
H A Dpower_button_profile.hpp51 pressed(); in pressedHandler()
60 virtual void pressed() = 0;
/openbmc/openbmc/meta-ibm/meta-romulus/recipes-phosphor/gpio/
H A Did-button.bb1 SUMMARY = "Romulus ID Button pressed application"
30 SYSTEMD_SERVICE:${PN} += "id-button-pressed.service"
/openbmc/openbmc/meta-ibm/recipes-phosphor/gpio/
H A Did-button.bb1 SUMMARY = "ID Button pressed application"
30 SYSTEMD_SERVICE:${PN} += "id-button-pressed.service"
/openbmc/u-boot/doc/
H A DREADME.serial_multi13 *) The default console depends on the keys pressed:
14 - SMC if keys not pressed (modem not enabled)
15 - SCC if keys pressed (modem enabled)
/openbmc/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
/openbmc/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()
/openbmc/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()

12345