Searched refs:short_codes (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/subsys/input/ |
D | input_longpress.c | 20 const uint16_t *short_codes; member 79 } else if (cfg->short_codes != NULL) { 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() 108 DT_INST_PROP_LEN_OR(inst, short_codes, 0)) || \ 109 !DT_INST_NODE_HAS_PROP(inst, short_codes)); \ 118 IF_ENABLED(DT_INST_NODE_HAS_PROP(inst, short_codes), ( \ 119 static const uint16_t longpress_short_codes_##inst[] = DT_INST_PROP(inst, short_codes); \ 131 IF_ENABLED(DT_INST_NODE_HAS_PROP(inst, short_codes), ( \ 132 .short_codes = longpress_short_codes_##inst, \
|