From a944a8634fc7472ffd40e22cd5848a9b027c7b36 Mon Sep 17 00:00:00 2001 From: Roman Savochenko Date: Sun, 30 Jul 2017 10:48:57 +0200 Subject: Add brightness keys support The code partially taken from Qt4 This relates to bug 2775 Signed-off-by: Roman Savochenko (cherry picked from commit 4c308190789d7f5ffc940d70dd5ea8a002fa4b30) --- src/kernel/qevent.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/kernel/qevent.cpp') diff --git a/src/kernel/qevent.cpp b/src/kernel/qevent.cpp index 198062b8d..2e1ce96ef 100644 --- a/src/kernel/qevent.cpp +++ b/src/kernel/qevent.cpp @@ -1140,6 +1140,11 @@ TQt::ButtonState TQKeyEvent::stateAfter() const \value Key_LaunchD \value Key_LaunchE \value Key_LaunchF + \value Key_MonBrightnessUp + \value Key_MonBrightnessDown + \value Key_KeyboardLightOnOff + \value Key_KeyboardBrightnessUp + \value Key_KeyboardBrightnessDown \value Key_MediaLast -- cgit v1.2.1