Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix for issue #386.

Thanks Christopher Aldama Pérez
  • Loading branch information...
commit 5e4c5a685809889082691c5c21766316d768d3a2 1 parent e21dc56
@SokoloffA SokoloffA authored
Showing with 28 additions and 0 deletions.
  1. +28 −0 libraries/razorqxt/keymapper_x11.h
View
28 libraries/razorqxt/keymapper_x11.h
@@ -134,6 +134,29 @@
#define XF86XK_LaunchD 0x1008FF4D
#define XF86XK_LaunchE 0x1008FF4E
#define XF86XK_LaunchF 0x1008FF4F
+
+
+/* Backlight controls. */
+#ifndef XF86XK_MonBrightnessUp
+#define XF86XK_MonBrightnessUp 0x1008FF02 /* Monitor/panel brightness */
+#endif
+
+#ifndef XF86XK_MonBrightnessDown
+#define XF86XK_MonBrightnessDown 0x1008FF03 /* Monitor/panel brightness */
+#endif
+
+#ifndef XF86XK_KbdLightOnOff
+#define XF86XK_KbdLightOnOff 0x1008FF04 /* Keyboards may be lit */
+#endif
+
+#ifndef XF86XK_KbdBrightnessUp
+#define XF86XK_KbdBrightnessUp 0x1008FF05 /* Keyboards may be lit */
+#endif
+
+#ifndef XF86XK_KbdBrightnessDown
+#define XF86XK_KbdBrightnessDown 0x1008FF06 /* Keyboards may be lit */
+#endif
+
// end of XF86keysyms.h
// Special keys used by Qtopia, mapped into the X11 private keypad range.
@@ -343,6 +366,11 @@ static const unsigned int KeyTbl[] = {
XF86XK_AudioNext, Qt::Key_MediaNext,
XF86XK_AudioRecord, Qt::Key_MediaRecord,
+ XF86XK_MonBrightnessUp, Qt::Key_MonBrightnessUp,
+ XF86XK_MonBrightnessDown, Qt::Key_MonBrightnessDown,
+ XF86XK_KbdBrightnessUp, Qt::Key_KeyboardBrightnessUp,
+ XF86XK_KbdBrightnessDown, Qt::Key_KeyboardBrightnessDown,
+
// launch keys
XF86XK_Mail, Qt::Key_LaunchMail,
XF86XK_MyComputer, Qt::Key_Launch0,
Please sign in to comment.
Something went wrong with that request. Please try again.