Home
last modified time | relevance | path

Searched refs:input_report_key (Results 1 – 25 of 28) sorted by relevance

12

/Zephyr-latest/tests/subsys/input/double_tap/src/
Dmain.c38 input_report_key(fake_dev, INPUT_KEY_3, 1, true, K_FOREVER); in ZTEST()
39 input_report_key(fake_dev, INPUT_KEY_3, 0, true, K_FOREVER); in ZTEST()
46 input_report_key(fake_dev, INPUT_KEY_0, 1, true, K_FOREVER); in ZTEST()
48 input_report_key(fake_dev, INPUT_KEY_0, 0, true, K_FOREVER); in ZTEST()
50 input_report_key(fake_dev, INPUT_KEY_0, 1, true, K_FOREVER); in ZTEST()
52 input_report_key(fake_dev, INPUT_KEY_0, 0, true, K_FOREVER); in ZTEST()
62 input_report_key(fake_dev, INPUT_KEY_1, 1, true, K_FOREVER); in ZTEST()
64 input_report_key(fake_dev, INPUT_KEY_1, 0, true, K_FOREVER); in ZTEST()
66 input_report_key(fake_dev, INPUT_KEY_1, 1, true, K_FOREVER); in ZTEST()
68 input_report_key(fake_dev, INPUT_KEY_1, 0, true, K_FOREVER); in ZTEST()
/Zephyr-latest/tests/subsys/input/longpress/src/
Dmain.c52 input_report_key(fake_dev, INPUT_KEY_3, 1, true, K_FOREVER); in ZTEST()
53 input_report_key(fake_dev, INPUT_KEY_3, 0, true, K_FOREVER); in ZTEST()
62 input_report_key(fake_dev, INPUT_KEY_0, 1, true, K_FOREVER); in ZTEST()
64 input_report_key(fake_dev, INPUT_KEY_0, 0, true, K_FOREVER); in ZTEST()
75 input_report_key(fake_dev, INPUT_KEY_1, 1, true, K_FOREVER); in ZTEST()
77 input_report_key(fake_dev, INPUT_KEY_1, 0, true, K_FOREVER); in ZTEST()
88 input_report_key(fake_dev, INPUT_KEY_0, 1, true, K_FOREVER); in ZTEST()
90 input_report_key(fake_dev, INPUT_KEY_0, 0, true, K_FOREVER); in ZTEST()
108 input_report_key(fake_dev, INPUT_KEY_1, 1, true, K_FOREVER); in ZTEST()
110 input_report_key(fake_dev, INPUT_KEY_1, 0, true, K_FOREVER); in ZTEST()
/Zephyr-latest/tests/subsys/input/api/src/
Dmain.c62 ret = input_report_key(&fake_dev, i, 1, false, K_FOREVER); in ZTEST()
69 ret = input_report_key(NULL, 0, 1, false, K_FOREVER); in ZTEST()
75 ret = input_report_key(&fake_dev, 0, 1, false, K_NO_WAIT); in ZTEST()
110 ret = input_report_key(&fake_dev, 0, 1, false, K_FOREVER); in ZTEST()
113 ret = input_report_key(NULL, 0, 1, false, K_FOREVER); in ZTEST()
132 ret = input_report_key(&fake_dev, INPUT_KEY_A, 1, false, K_FOREVER); in ZTEST()
140 ret = input_report_key(&fake_dev, INPUT_KEY_B, 1234, true, K_FOREVER); in ZTEST()
/Zephyr-latest/drivers/input/
Dinput_sdl_touch.c20 input_report_key(data->dev, INPUT_BTN_TOUCH, 0, true, K_FOREVER); in sdl_input_callback()
27 input_report_key(data->dev, INPUT_BTN_TOUCH, 1, true, K_FOREVER); in sdl_input_callback()
Dinput_chsc6x.c56 input_report_key(dev, INPUT_BTN_TOUCH, 1, true, K_FOREVER); in chsc6x_process()
58 input_report_key(dev, INPUT_BTN_TOUCH, 0, true, K_FOREVER); in chsc6x_process()
Dinput_ili2132a.c60 input_report_key(dev, INPUT_BTN_TOUCH, 1, true, K_FOREVER); in ili2132a_process()
62 input_report_key(dev, INPUT_BTN_TOUCH, 0, true, K_FOREVER); in ili2132a_process()
Dinput_nunchuk.c88 ret = input_report_key(dev, INPUT_KEY_Z, !data->button_z, true, K_FOREVER); in nunchuk_poll()
94 ret = input_report_key(dev, INPUT_KEY_C, !data->button_c, true, K_FOREVER); in nunchuk_poll()
Dinput_cap12xx.c95 input_report_key(dev, config->input_codes[i], input_state & BIT(i), true, in cap12xx_process()
98 input_report_key(dev, config->input_codes[i], input_state & BIT(i), true, in cap12xx_process()
Dinput_ft5336.c134 input_report_key(dev, INPUT_BTN_TOUCH, 1, true, K_FOREVER); in ft5336_process()
136 input_report_key(dev, INPUT_BTN_TOUCH, 0, true, K_FOREVER); in ft5336_process()
Dinput_cst816s.c152 input_report_key(dev, INPUT_BTN_TOUCH, 1, true, K_FOREVER); in cst816s_process()
154 input_report_key(dev, INPUT_BTN_TOUCH, 0, true, K_FOREVER); in cst816s_process()
Dinput_cf1133.c217 input_report_key(dev, INPUT_BTN_TOUCH, 1, true, K_FOREVER); in cf1133_process()
230 input_report_key(dev, INPUT_BTN_TOUCH, 0, true, K_FOREVER); in cf1133_process()
Dinput_xpt2046.c117 input_report_key(data->dev, INPUT_BTN_TOUCH, 0, true, K_FOREVER); in xpt2046_release_handler()
175 input_report_key(data->dev, INPUT_BTN_TOUCH, 1, true, K_FOREVER); in xpt2046_work_handler()
Dinput_gt911.c167 input_report_key(dev, INPUT_BTN_TOUCH, 1, true, K_FOREVER); in gt911_process()
188 input_report_key(dev, INPUT_BTN_TOUCH, 0, true, K_FOREVER); in gt911_process()
Dinput_sbus.c106 input_report_key(dev, config->channel_info[channel].zephyr_code, 1, in input_sbus_report()
109 input_report_key(dev, config->channel_info[channel].zephyr_code, 0, in input_sbus_report()
Dinput_stmpe811.c352 input_report_key(dev, INPUT_BTN_TOUCH, 1, true, K_FOREVER); in stmpe811_report_touch()
414 input_report_key(dev, INPUT_BTN_TOUCH, 0, true, K_FOREVER); in stmpe811_process()
Dinput_adc_keys.c132 input_report_key(dev, key_code, key_state->curr_state, true, K_FOREVER); in adc_keys_process()
Dinput_esp32_touch_sensor.c169 input_report_key(dev, channel_cfg->zephyr_code,
Dinput_gpio_keys.c82 input_report_key(dev, pin_cfg->zephyr_code, new_pressed, true, K_FOREVER); in gpio_keys_poll_pin()
Dinput_kbd_matrix.c223 input_report_key(dev, INPUT_BTN_TOUCH, row_bit, true, K_FOREVER); in input_kbd_matrix_update_state()
/Zephyr-latest/subsys/input/
Dinput_longpress.c44 input_report_key(dev, code, 1, true, K_FOREVER); in longpress_deferred()
78 input_report_key(dev, cfg->long_codes[i], 0, true, K_FOREVER); in longpress_cb()
80 input_report_key(dev, cfg->short_codes[i], 1, true, K_FOREVER); in longpress_cb()
81 input_report_key(dev, cfg->short_codes[i], 0, true, K_FOREVER); in longpress_cb()
Dinput_double_tap.c67 input_report_key(dev, cfg->double_tap_codes[i], 1, true, K_FOREVER); in double_tap_cb()
68 input_report_key(dev, cfg->double_tap_codes[i], 0, true, K_FOREVER); in double_tap_cb()
Dinput_keymap.c71 input_report_key(dev, codes[offset], data->pressed, true, K_FOREVER); in keymap_cb()
/Zephyr-latest/tests/drivers/kscan/kscan_input/src/
Dmain.c50 input_report_key(input_dev, INPUT_BTN_TOUCH, 1, true, K_FOREVER); in ZTEST()
62 input_report_key(input_dev, INPUT_BTN_TOUCH, 0, true, K_FOREVER); in ZTEST()
/Zephyr-latest/tests/subsys/input/kbd_matrix_state_dump/src/
Dmain.c29 input_report_key(dev, INPUT_BTN_TOUCH, val, true, K_FOREVER); in report_matrix_entry()
/Zephyr-latest/include/zephyr/input/
Dinput.h80 static inline int input_report_key(const struct device *dev, in input_report_key() function

12