mirror of
https://github.com/jellyfin/jellyfin-desktop.git
synced 2026-11-22 22:05:44 +00:00
Better logging for received inputs.
Daniel requested that we get some more worthwhile logging in InputComponent
This commit is contained in:
1 parent
a7fbd9d644
commit
f46a0124ef
4 files changed
+5
-12
No files matched your search
@@ -83,6 +83,8 @@ void InputComponent::remapInput(const QString &source, const QString &keycode, f
|
||||
// hide mouse if it's visible.
|
||||
SystemComponent::Get().setCursorVisibility(false);
|
||||
|
||||
QLOG_DEBUG() << "Input received: source:" << source << "keycode:" << keycode;
|
||||
|
||||
QString action = m_mappings->mapToAction(source, keycode);
|
||||
if (!action.isEmpty())
|
||||
{
|
||||
@@ -119,7 +121,6 @@ void InputComponent::remapInput(const QString &source, const QString &keycode, f
|
||||
}
|
||||
else
|
||||
{
|
||||
QLOG_DEBUG() << "Sending action:" << action;
|
||||
emit receivedAction(action);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user