/openbmc/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 …]
|
H A D | elantech.rst | 243 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/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Chassis/ |
H A D | README.md | 20 - 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/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Chassis/Buttons/ |
H A D | Button.interface.yaml | 3 primary actions (pressed/releasd). When the button is pressed "Pressed" 41 - name: Pressed 43 Button pressed signal 46 Button long pressed signal
|
H A D | Power.interface.yaml | 37 - name: Pressed 39 Power button pressed signal 42 Power button long pressed signal
|
H A D | ID.interface.yaml | 18 - name: Pressed 20 ID button pressed signal
|
/openbmc/phosphor-buttons/inc/ |
H A D | host_then_chassis_poweroff.hpp | 26 * - If the button is released within that 10s and not pressed 29 * pressed again in that 10s, do a hard power (chassis) 31 * - If the button is pressed throughout that 10s 73 * @brief Called when the power button is pressed. 75 virtual void pressed() override; 80 * @param[in] pressTimeMS - How long the button was pressed 133 * button is still pressed - 4 seconds in the future. 142 * button is still pressed or pressed again - 10 seconds
|
H A D | power_button_profile.hpp | 23 * Calls a derived class's pressed() and released() 24 * functions when the power button is pressed and 33 sdbusRule::type::signal() + sdbusRule::member("Pressed") + in PowerButtonProfile() 51 pressed(); in pressedHandler() 60 virtual void pressed() = 0;
|
/openbmc/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 |
|
/openbmc/qemu/hw/input/ |
H A D | stellaris_gamepad.c | 27 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/u-boot/arch/sandbox/include/asm/ |
H A D | sdl.h | 37 * sandbox_sdl_scan_keys() - scan for pressed keys 39 * Works out which keys are pressed and returns a list 48 * sandbox_sdl_key_pressed() - check if a particular key is pressed 51 * @return 0 if pressed, -ENOENT if not pressed. -ENODEV if keybord not
|
/openbmc/phosphor-buttons/src/ |
H A D | debugHostSelector_button.cpp | 8 pressed(); in simPress() 54 lg2::info("Button pressed : {FORM_FACTOR_TYPE}", "FORM_FACTOR_TYPE", in handleEvent() 56 // emit pressed signal in handleEvent() 57 pressed(); in handleEvent()
|
H A D | reset_button.cpp | 26 pressed(); in simPress() 56 "RESET_BUTTON: pressed"); in handleEvent() 57 // emit pressed signal in handleEvent() 58 pressed(); in handleEvent()
|
H A D | id_button.cpp | 24 pressed(); in simPress() 52 (getFormFactorType() + " : pressed").c_str()); in handleEvent() 53 // emit pressed signal in handleEvent() 54 pressed(); in handleEvent()
|
H A D | power_button.cpp | 27 pressed(); in simPress() 71 "POWER_BUTTON: pressed"); in handleEvent() 74 // emit pressed signal in handleEvent() 75 pressed(); in handleEvent()
|
/openbmc/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()
|
/openbmc/linux/drivers/input/keyboard/ |
H A D | mcs_touchkey.c | 61 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 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 131 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() 145 * if it was pressed for more than a second. */ in locomokbd_scankeyboard() 165 /* if any keys are pressed, enable the timer */ in locomokbd_scankeyboard()
|
/openbmc/linux/include/linux/platform_data/ |
H A D | keypad-omap.h | 27 /* Group (0..3) -- when multiple keys are pressed, only the 28 * keys pressed in the same group are considered as pressed. This is
|
/openbmc/u-boot/doc/ |
H A D | README.serial_multi | 13 *) 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/qemu/include/ui/ |
H A D | kbd-state.h | 53 * for a key not pressed for example). 56 * @qcode: the key pressed or released. 93 * qkbd_state_lift_all_keys: lift all pressed keys.
|
/openbmc/u-boot/common/ |
H A D | usb_kbd.c | 168 unsigned char modifier, int pressed) in usb_kbd_translate() argument 173 if (pressed == 0) { in usb_kbd_translate() 178 if (pressed == 2) { in usb_kbd_translate() 194 /* Handle CAPSLock + Shift pressed simultaneously */ in usb_kbd_translate() 203 /* Shift pressed */ in usb_kbd_translate() 221 if (pressed == 1) { in usb_kbd_translate() 276 /* No combo key pressed */ in usb_kbd_irq_worker() 279 /* Left or Right Ctrl pressed */ in usb_kbd_irq_worker() 288 /* Key is still pressed */ in usb_kbd_irq_worker() 364 * then we check key-pressed every second (first check may be
|
/openbmc/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
|