bug on linux keyboard

This commit is contained in:
citronneur
2014-10-26 13:14:15 +01:00
parent 0f99795ccf
commit d10bb9a760

View File

@@ -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):
"""