diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-19 13:28:02 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-03-19 13:28:02 +0100 |
| commit | 8cc0f35fbb959b65eb99beedd0bac17a587a2b0c (patch) | |
| tree | bea53ec6d0952ad072ce6fd3a651141999e7ab0b /src/managers/InputManager.cpp | |
| parent | 03da5a3ef55555a76c75f797ed1628478bf8cc9d (diff) | |
fix keyboard
Diffstat (limited to 'src/managers/InputManager.cpp')
| -rw-r--r-- | src/managers/InputManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/managers/InputManager.cpp b/src/managers/InputManager.cpp index 74945ff5..725ce672 100644 --- a/src/managers/InputManager.cpp +++ b/src/managers/InputManager.cpp @@ -137,9 +137,9 @@ void CInputManager::onKeyboardKey(wlr_event_keyboard_key* e, SKeyboard* pKeyboar if (e->state == WL_KEYBOARD_KEY_STATE_PRESSED) { // TODO: keybinds - Debug::log(LOG, "Keyboard %x key %i pressed on focused window %x", pKeyboard, KEYCODE, g_pCompositor->m_pLastFocus); + } else if (e->state == WL_KEYBOARD_KEY_STATE_RELEASED) { - Debug::log(LOG, "Keyboard %x key %i released on focused window %x", pKeyboard, KEYCODE, g_pCompositor->m_pLastFocus); + } wlr_seat_set_keyboard(g_pCompositor->m_sWLRSeat, pKeyboard->keyboard); |
