virtual-keyboard: move to new impl

This commit is contained in:
Vaxry 2024-05-03 00:31:48 +01:00
parent a3ca016d42
commit 6aa2d123ae
14 changed files with 370 additions and 67 deletions

View file

@ -140,12 +140,6 @@ void Events::listener_pinchEnd(wl_listener* listener, void* data) {
PROTO::pointerGestures->pinchEnd(EV->time_msec, EV->cancelled);
}
void Events::listener_newVirtualKeyboard(wl_listener* listener, void* data) {
const auto WLRKB = (wlr_virtual_keyboard_v1*)data;
g_pInputManager->newVirtualKeyboard(&WLRKB->keyboard.base);
}
void Events::listener_touchBegin(wl_listener* listener, void* data) {
g_pInputManager->onTouchDown((wlr_touch_down_event*)data);
}

View file

@ -106,9 +106,6 @@ namespace Events {
LISTENER(pinchUpdate);
LISTENER(pinchEnd);
// IME
LISTENER(newVirtualKeyboard);
// Touch
LISTENER(touchBegin);
LISTENER(touchEnd);