From d10bb9a7605c1b151135c0d885ef403b280f866e Mon Sep 17 00:00:00 2001 From: citronneur Date: Sun, 26 Oct 2014 13:14:15 +0100 Subject: [PATCH] bug on linux keyboard --- rdpy/ui/qt4.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rdpy/ui/qt4.py b/rdpy/ui/qt4.py index a0f0e5d..ccb4659 100644 --- a/rdpy/ui/qt4.py +++ b/rdpy/ui/qt4.py @@ -224,7 +224,7 @@ class RDPClientQt(RDPClientObserver, QAdaptor): code = e.nativeScanCode() if sys.platform == "linux2": code -= 8 - self._controller.sendKeyEventScancode(e.nativeScanCode() - 8, isPressed) + self._controller.sendKeyEventScancode(code, isPressed) def closeEvent(self, e): """