revert stupid code
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Wed, 28 Jun 2006 15:39:52 +0000 (15:39 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Wed, 28 Jun 2006 15:39:52 +0000 (15:39 +0000)
lib/driver/rcconsole.cpp
lib/driver/rcinput.cpp

index 946f8d3..7a625ff 100644 (file)
@@ -72,11 +72,10 @@ void eRCConsoleDriver::keyPressed(int)
                                code = -1;
                        else switch(code)
                        {
-                       case 0x71:              // KEY_MUTE
-                       case 0x7F:              // KEY_COMPOSE
-                       case 0x6F:              // KEY_DELETE
-                       case 0x6E:              // KEY_INSERT
-                               code = -1;
+                       case 0x35:  // mute
+                       case 0x7E:  // mute, einfg, entf
+                       case 0x7F:  // backspace
+                       code = -1;
                        default:
                                break;
                        }
index 0d6a6fe..9662fd2 100644 (file)
@@ -44,7 +44,6 @@ void eRCDeviceInputDev::handleCode(int rccode)
                        case KEY_RIGHTSHIFT:
                        case KEY_LEFTALT:
                        case KEY_CAPSLOCK:
-                       case KEY_COMPOSE:
                        case KEY_INSERT:
                        case KEY_DELETE:
                        case KEY_MUTE: