Removed the keyboard brightness listener on keycode 236, fix for #3277

This commit is contained in:
Simon Schampijer 2007-09-11 12:42:20 +02:00
parent 297d107ee2
commit 6ff3486f42

View File

@ -53,7 +53,6 @@ _actions_table = {
'0xE0' : 'overlay', '0xE0' : 'overlay',
'0xEB' : 'rotate', '0xEB' : 'rotate',
'<alt>r' : 'rotate', '<alt>r' : 'rotate',
'0xEC' : 'keyboard_brightness',
'<alt>Tab' : 'home', '<alt>Tab' : 'home',
'<alt>q' : 'quit_emulator', '<alt>q' : 'quit_emulator',
} }
@ -152,11 +151,6 @@ class KeyHandler(object):
def handle_overlay(self): def handle_overlay(self):
self._shell.toggle_chat_visibility() 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): def handle_rotate(self):
states = [ 'normal', 'left', 'inverted', 'right'] states = [ 'normal', 'left', 'inverted', 'right']