Home
last modified time | relevance | path

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

123

/Zephyr-latest/drivers/input/
Dinput_sdl_touch_bottom.c17 data->pressed = false; in sdl_filter()
21 data->pressed = true; in sdl_filter()
Dinput_ft5336.c92 bool pressed; in ft5336_process() local
120 pressed = true; in ft5336_process()
124 pressed = false; in ft5336_process()
129 pressed = false; in ft5336_process()
132 if (pressed) { in ft5336_process()
135 } else if (data->pressed_old && !pressed) { in ft5336_process()
138 data->pressed_old = pressed; in ft5336_process()
Dinput_xpt2046.c36 bool pressed; member
110 if (!data->pressed) { in xpt2046_release_handler()
116 data->pressed = false; in xpt2046_release_handler()
165 bool pressed = meas.z > config->threshold; in xpt2046_work_handler() local
170 if (pressed) { in xpt2046_work_handler()
179 data->pressed = pressed; in xpt2046_work_handler()
Dinput_sdl_touch_bottom.h28 bool pressed; member
Dinput_cf1133.c90 uint8_t pressed : 1; member
211 data->pressed = true; in cf1133_process()
226 data->pressed = false; in cf1133_process()
235 data->pressed_old = data->pressed; in cf1133_process()
Dinput_sdl_touch.c24 if (data->pressed) { in sdl_input_callback()
Dinput_cst816s.c116 bool pressed; in cst816s_process() local
145 pressed = (event == EVENT_PRESS_DOWN) || (event == EVENT_CONTACT); in cst816s_process()
149 if (pressed) { in cst816s_process()
/Zephyr-latest/subsys/input/
Dinput_keymap.c29 bool pressed; member
48 data->pressed = evt->value; in keymap_cb()
69 LOG_DBG("input event: %3u %3u %d", data->row, data->col, data->pressed); in keymap_cb()
71 input_report_key(dev, codes[offset], data->pressed, true, K_FOREVER); in keymap_cb()
/Zephyr-latest/samples/boards/phytec/reel_board/mesh_badge/src/
Dreel_board.c58 static bool pressed; variable
435 pressed = false; in long_press()
450 if (button_is_pressed() == pressed) { in button_interrupt()
454 pressed = !pressed; in button_interrupt()
455 printk("Button %s\n", pressed ? "pressed" : "released"); in button_interrupt()
457 if (pressed) { in button_interrupt()
612 pressed = button_is_pressed(); in board_init()
613 if (pressed) { in board_init()
/Zephyr-latest/samples/subsys/input/draw_touch_events/src/
Dmain.c46 bool pressed; member
58 touch_point.pressed = evt->value; in touch_event_callback()
143 LOG_INF("TOUCH %s X, Y: (%d, %d)", touch_point.pressed ? "PRESS" : "RELEASE", in main()
/Zephyr-latest/samples/subsys/display/lvgl/
DKconfig9 bool "Reset counter when sw0 is pressed"
/Zephyr-latest/drivers/led/
Dht16k33.c207 bool pressed = false; in ht16k33_process_keyscan_data() local
229 pressed = true; in ht16k33_process_keyscan_data()
244 return pressed; in ht16k33_process_keyscan_data()
253 bool pressed; in ht16k33_irq_thread() local
260 pressed = ht16k33_process_keyscan_data(data->dev); in ht16k33_irq_thread()
262 } while (pressed); in ht16k33_irq_thread()
/Zephyr-latest/samples/boards/renesas/comparator/
DREADME.rst42 * SW0 not pressed --> Comparator output HIGH --> LED0 on
43 * SW0 pressed --> Comparator output LOW --> LED0 off
/Zephyr-latest/samples/basic/button/
DREADME.rst11 The sample prints a message to the console each time a button is pressed.
36 will be turned on when the button is pressed, and turned off off when it is
113 the serial console. When the input button gets pressed, the interrupt handler
/Zephyr-latest/samples/boards/espressif/light_sleep/
DREADME.rst19 * ``EXT0``: wake up the chip if a button attached to GPIO0 is pressed (i.e. if
44 In the scenario below, the button attached to GPIO0 was pressed and held for
/Zephyr-latest/boards/waveshare/rp2040_zero/doc/
Dindex.rst68pressed while you connect the USB port, it will appear on the host as a mass storage device. In al…
/Zephyr-latest/samples/boards/nordic/nrfx_prs/
DREADME.rst25 When no button is pressed, every 5 seconds a background transfer using SPIM1
59 When no button is pressed, a background transfer on SPIM1 is performed.
/Zephyr-latest/samples/boards/nordic/dynamic_pinctrl/
DREADME.rst24 If the push button is not pressed, the system does nothing and continues with
25 the default configuration. If the button is pressed, the alternative
/Zephyr-latest/samples/boards/nordic/mesh/onoff-app/
DREADME.rst30 If a button is pressed only once within a 1 second interval, it sends an
31 "on" message. If it is pressed more than once, it
/Zephyr-latest/samples/boards/nordic/nrfx/
DREADME.rst49 Connect to the serial port - notice that each time the button is pressed,
/Zephyr-latest/boards/adafruit/qt_py_rp2040/doc/
Dindex.rst66 button pressed, it will appear on the host as a mass storage device. The
/Zephyr-latest/boards/adafruit/kb2040/doc/
Dindex.rst64 button pressed, it will appear on the host as a mass storage device. The
/Zephyr-latest/boards/seeed/xiao_rp2040/doc/
Dindex.rst73 the ``BOOTSEL`` button pressed, it will appear on the host as a mass storage
/Zephyr-latest/samples/bluetooth/mesh/
DREADME.rst20 to all nodes in the network when the button is pressed.
/Zephyr-latest/boards/adi/max32655fthr/doc/
Dindex.rst129 is a buffered input of the button status. When the button is pressed, this signal goes to a logic-l…
153 pressed while applying power to the board to

123