Skip to content
Permalink
Browse files

InputLIRC : fix keyup detection.

Upstream changed the suffix for up events as per LibreELEC/LibreELEC.tv#1281
  • Loading branch information...
LongChair committed Feb 27, 2017
1 parent a957b80 commit 8764331207ff4a616ca3013f0fea047d2127edfd
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/input/InputLIRC.cpp
@@ -107,7 +107,7 @@ void InputLIRC::read(int handle)
// it makes GUI unusable
if ((repeatCount % 3) == 0)
{
bool up = (command.endsWith("_UP") && (command != "KEY_UP"));
bool up = command.endsWith("_LIRCUP");
emit receivedInput("LIRC", command, up ? InputBase::KeyUp : InputBase::KeyDown);
}
}

0 comments on commit 8764331

Please sign in to comment.
You can’t perform that action at this time.