diff options
Diffstat (limited to 'src/lib/ecore_cocoa')
-rw-r--r-- | src/lib/ecore_cocoa/Ecore_Cocoa_Keys.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/lib/ecore_cocoa/Ecore_Cocoa_Keys.h b/src/lib/ecore_cocoa/Ecore_Cocoa_Keys.h index 7068bc22a8..f238df2977 100644 --- a/src/lib/ecore_cocoa/Ecore_Cocoa_Keys.h +++ b/src/lib/ecore_cocoa/Ecore_Cocoa_Keys.h | |||
@@ -14,7 +14,8 @@ static const struct _ecore_cocoa_keys_s keystable[] = | |||
14 | { 0, "0x00", "" }, | 14 | { 0, "0x00", "" }, |
15 | { 0, "First", "" }, | 15 | { 0, "First", "" }, |
16 | { 3, "Return", "\015" }, | 16 | { 3, "Return", "\015" }, |
17 | { 8, "BackSpace", "\010" }, | 17 | // OS-X's backspace and Delete are reversed! |
18 | { 8, "Delete", "\010" }, | ||
18 | { 9, "Tab", "\011" }, | 19 | { 9, "Tab", "\011" }, |
19 | { 12, "Clear", "" }, | 20 | { 12, "Clear", "" }, |
20 | { 13, "Return", "\015" }, | 21 | { 13, "Return", "\015" }, |
@@ -90,10 +91,11 @@ static const struct _ecore_cocoa_keys_s keystable[] = | |||
90 | { 123, "braceleft", "" }, | 91 | { 123, "braceleft", "" }, |
91 | { 124, "pipe", "" }, | 92 | { 124, "pipe", "" }, |
92 | { 125, "braceright", "" }, | 93 | { 125, "braceright", "" }, |
93 | { 127, "Delete", "\177" }, | 94 | // OS-X's backspace and Delete are reversed! |
95 | { 127, "BackSpace", "\177" }, | ||
94 | { 126, "asciitilde", "~" }, | 96 | { 126, "asciitilde", "~" }, |
95 | 97 | ||
96 | { 160, "w0", "" }, | 98 | { 160, "w0", "" }, |
97 | { 161, "w1", "" }, | 99 | { 161, "w1", "" }, |
98 | { 162, "w2", "" }, | 100 | { 162, "w2", "" }, |
99 | { 163, "w3", "" }, | 101 | { 163, "w3", "" }, |