From 6ff3486f42437e8a758d2fc6fd1f723e176a20d3 Mon Sep 17 00:00:00 2001 From: Simon Schampijer Date: Tue, 11 Sep 2007 12:42:20 +0200 Subject: [PATCH] Removed the keyboard brightness listener on keycode 236, fix for #3277 --- shell/view/keyhandler.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/shell/view/keyhandler.py b/shell/view/keyhandler.py index 23075d4e..a463a759 100644 --- a/shell/view/keyhandler.py +++ b/shell/view/keyhandler.py @@ -53,7 +53,6 @@ _actions_table = { '0xE0' : 'overlay', '0xEB' : 'rotate', 'r' : 'rotate', - '0xEC' : 'keyboard_brightness', 'Tab' : 'home', 'q' : 'quit_emulator', } @@ -152,11 +151,6 @@ class KeyHandler(object): def handle_overlay(self): self._shell.toggle_chat_visibility() - def handle_keyboard_brightness(self): - hw_manager = hardwaremanager.get_manager() - if hw_manager: - hw_manager.toggle_keyboard_brightness() - def handle_rotate(self): states = [ 'normal', 'left', 'inverted', 'right']