diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-01-09 14:31:01 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2007-01-09 14:31:01 (GMT) |
commit | 1bb37c34de23e0af5fe425a267c6a8c0f226cdd0 (patch) | |
tree | 9ab982e3bf69125d0e54fbf5d59953c002866fda /shell | |
parent | 018867a9a8cced5c6e6a8964ac3dfcf1c263cd4a (diff) |
Correct keyboard brightness keycode
Diffstat (limited to 'shell')
-rw-r--r-- | shell/view/Shell.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/view/Shell.py b/shell/view/Shell.py index ee7dd09..2710781 100644 --- a/shell/view/Shell.py +++ b/shell/view/Shell.py @@ -101,7 +101,7 @@ class Shell(gobject.GObject): self._key_grabber.grab('0xE0') # Overlay key self._key_grabber.grab('0x93') # Frame key self._key_grabber.grab('0x7C') # Power key - self._key_grabber.grab('0x86') # Keyboard brightness + self._key_grabber.grab('0xEC') # Keyboard brightness self._key_grabber.grab('<alt>Tab') # For non-OLPC machines @@ -151,7 +151,7 @@ class Shell(gobject.GObject): self._frame.notify_key_press() elif key == '0x7C': # Power key self._shutdown() - elif key == '0x86': # Keyboard brightness + elif key == '0xEC': # Keyboard brightness self._hw_manager.toggle_keyboard_brightness() elif key == '<alt>Tab': self.set_zoom_level(sugar.ZOOM_HOME) |