Searched refs:button_map (Results 1 – 11 of 11) sorted by relevance
/third_party/libwebsockets/minimal-examples/embedded/esp32/esp-c3dev/ |
D | lws-button.c | 134 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/ |
D | lws-button.c | 137 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 …]
|
D | README.md | 60 .button_map = &bcm[0],
|
/third_party/libinput/src/ |
D | evdev-tablet-pad.c | 385 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()
|
D | evdev-tablet-pad.h | 71 key_or_button_map_t button_map[KEY_CNT]; member
|
D | evdev-mt-touchpad-tap.c | 129 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/ |
D | lws-button.h | 74 const lws_button_map_t *button_map; member
|
/third_party/libwebsockets/minimal-examples/embedded/esp32/esp-c3dev/main/ |
D | devices.c | 41 .button_map = &bcm[0],
|
/third_party/libwebsockets/minimal-examples/embedded/esp32/esp-heltec-wb32/main/ |
D | devices.c | 59 .button_map = &bcm[0],
|
/third_party/libwebsockets/minimal-examples/embedded/esp32/esp-wrover-kit/main/ |
D | devices.c | 48 .button_map = &bcm[0],
|
/third_party/libinput/patch/diff_libinput_mmi/libinput/ |
D | libinput_0000.diff | 3336 int32_t button_map[2][3] = { 3340 button = button_map[tp->tap.map][nfingers - 1];
|