]> git.sesse.net Git - vlc/commitdiff
Use standard ASCII for ^H, ^I, ^M and escape
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 3 Feb 2010 16:28:11 +0000 (18:28 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 3 Feb 2010 16:29:25 +0000 (18:29 +0200)
include/vlc_keys.h
modules/gui/macosx/intf.m

index 46df01f92d6143270899ff9ebd4ec18981bc50ee..b647b56c61e8568a881cf3397cdeb12b035760a5 100644 (file)
 #define KEY_MODIFIER_COMMAND 0x10000000
 
 #define KEY_UNSET            0x00000000
+#define KEY_BACKSPACE              0x08
+#define KEY_TAB                    0x09
+#define KEY_ENTER                  0x0D
+#define KEY_ESC                    0x1B
 /* End of Unicode range:     0x0010FFFF */
 #define KEY_LEFT             0x00210000
 #define KEY_RIGHT            0x00220000
 #define KEY_UP               0x00230000
 #define KEY_DOWN             0x00240000
-#define KEY_ENTER            0x00260000
 #define KEY_F1               0x00270000
 #define KEY_F2               0x00280000
 #define KEY_F3               0x00290000
 #define KEY_INSERT           0x00350000
 #define KEY_DELETE           0x00360000
 #define KEY_MENU             0x00370000
-#define KEY_ESC              0x00380000
 #define KEY_PAGEUP           0x00390000
 #define KEY_PAGEDOWN         0x003A0000
-#define KEY_TAB              0x003B0000
-#define KEY_BACKSPACE        0x003C0000
 
 #define KEY_BROWSER_BACK     0x003F0000
 #define KEY_BROWSER_FORWARD  0x00400000
index ed1dc3733f8f052878f0c04295f8bbb1a704d73e..31df950602cb499c09e00779ff00e3d886540aa3 100644 (file)
@@ -1289,7 +1289,6 @@ static struct
     { NSCarriageReturnCharacter, KEY_ENTER },
     { NSEnterCharacter, KEY_ENTER },
     { NSBackspaceCharacter, KEY_BACKSPACE },
-    { (unichar) 0x1b, KEY_ESC },
     {0,0}
 };