Home
last modified time | relevance | path

Searched refs:button_map (Results 1 – 11 of 11) sorted by relevance

/third_party/libwebsockets/minimal-examples/embedded/esp32/esp-c3dev/
Dlws-button.c134 bc->gpio_ops->irq_mode(bc->button_map[n].gpio, in LWS_PLAT_TIMER_CB()
144 bc->gpio_ops->set(bc->button_map[n].gpio, in LWS_PLAT_TIMER_CB()
146 bc->gpio_ops->mode(bc->button_map[n].gpio, LWSGGPIO_FL_WRITE); in LWS_PLAT_TIMER_CB()
179 bc->gpio_ops->mode(bc->button_map[n].gpio, LWSGGPIO_FL_READ); in LWS_PLAT_TIMER_CB()
192 bc->gpio_ops->irq_mode(bc->button_map[n].gpio, in LWS_PLAT_TIMER_CB()
220 if (bc->button_map[n].regime) in LWS_PLAT_TIMER_CB()
221 regime = bc->button_map[n].regime; in LWS_PLAT_TIMER_CB()
228 active = bc->gpio_ops->read(bc->button_map[n].gpio) ^ in LWS_PLAT_TIMER_CB()
391 bc->button_map[n].smd_interaction_name, in LWS_PLAT_TIMER_CB()
453 if (!strcmp(name, bc->button_map[n].smd_interaction_name)) in lws_button_get_bit()
[all …]
/third_party/libwebsockets/lib/drivers/button/
Dlws-button.c137 bc->gpio_ops->irq_mode(bc->button_map[n].gpio, in LWS_PLAT_TIMER_CB()
147 bc->gpio_ops->set(bc->button_map[n].gpio, in LWS_PLAT_TIMER_CB()
149 bc->gpio_ops->mode(bc->button_map[n].gpio, LWSGGPIO_FL_WRITE); in LWS_PLAT_TIMER_CB()
181 bc->gpio_ops->mode(bc->button_map[n].gpio, LWSGGPIO_FL_READ); in LWS_PLAT_TIMER_CB()
194 bc->gpio_ops->irq_mode(bc->button_map[n].gpio, in LWS_PLAT_TIMER_CB()
224 if (bc->button_map[n].regime) in LWS_PLAT_TIMER_CB()
225 regime = bc->button_map[n].regime; in LWS_PLAT_TIMER_CB()
232 active = bc->gpio_ops->read(bc->button_map[n].gpio) ^ in LWS_PLAT_TIMER_CB()
422 bc->button_map[n].smd_interaction_name, in LWS_PLAT_TIMER_CB()
488 if (!strcmp(name, bc->button_map[n].smd_interaction_name)) in lws_button_get_bit()
[all …]
DREADME.md60 .button_map = &bcm[0],
/third_party/libinput/src/
Devdev-tablet-pad.c385 map = pad->button_map[code - 1]; in pad_notify_button_mask()
579 map_set_button_map(pad->button_map[code], map++); in pad_init_buttons_from_libwacom()
604 map_set_button_map(pad->button_map[code], map++); in pad_init_buttons_from_kernel()
609 map_set_button_map(pad->button_map[code], map++); in pad_init_buttons_from_kernel()
614 map_set_button_map(pad->button_map[code], map++); in pad_init_buttons_from_kernel()
619 map_set_button_map(pad->button_map[code], map++); in pad_init_buttons_from_kernel()
641 map_set_key_map(pad->button_map[*code], *code); in pad_init_keys()
651 for (i = 0; i < ARRAY_LENGTH(pad->button_map); i++) in pad_init_buttons()
652 map_init(pad->button_map[i]); in pad_init_buttons()
Devdev-tablet-pad.h71 key_or_button_map_t button_map[KEY_CNT]; member
Devdev-mt-touchpad-tap.c129 int32_t button_map[2][3] = { in tp_tap_notify() local
134 assert(tp->tap.map < ARRAY_LENGTH(button_map)); in tp_tap_notify()
139 button = button_map[tp->tap.map][nfingers - 1]; in tp_tap_notify()
/third_party/libwebsockets/include/libwebsockets/
Dlws-button.h74 const lws_button_map_t *button_map; member
/third_party/libwebsockets/minimal-examples/embedded/esp32/esp-c3dev/main/
Ddevices.c41 .button_map = &bcm[0],
/third_party/libwebsockets/minimal-examples/embedded/esp32/esp-heltec-wb32/main/
Ddevices.c59 .button_map = &bcm[0],
/third_party/libwebsockets/minimal-examples/embedded/esp32/esp-wrover-kit/main/
Ddevices.c48 .button_map = &bcm[0],
/third_party/libinput/patch/diff_libinput_mmi/libinput/
Dlibinput_0000.diff3336 int32_t button_map[2][3] = {
3340 button = button_map[tp->tap.map][nfingers - 1];