Home
last modified time | relevance | path

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

123456

/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.
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.
114 Bit2 => Middle Button, 1 is pressed, 0 is not pressed.
115 Bit1 => Right Button, 1 is pressed, 0 is not pressed.
116 Bit0 => Left Button, 1 is pressed, 0 is not pressed.
139 Bit1 => Right Button, 1 is pressed, 0 is not 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/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 Dinput.yaml14 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 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/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/Buttons/
H A DButton.interface.yaml3 primary actions (pressed/releasd). When the button is pressed "Pressed"
43 Button pressed signal
46 Button long pressed signal
H A DPower.interface.yaml39 Power button pressed signal
42 Power button long pressed signal
/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()
/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.cpp24 pressed(); in simPress()
72 pressed(); in handleEvent()
/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/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/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"
29 SYSTEMD_SERVICE:${PN} += "id-button-pressed.service"
/openbmc/openbmc/meta-ibm/recipes-phosphor/gpio/
H A Did-button.bb1 SUMMARY = "ID Button pressed application"
29 SYSTEMD_SERVICE:${PN} += "id-button-pressed.service"
/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/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)

123456