From 8cbfc0365be2ea9f6adbe695f2af24931bc4929b Mon Sep 17 00:00:00 2001 From: KLee1248 Date: Fri, 19 Apr 2019 02:31:02 +0000 Subject: [PATCH] Re-maps KEY_BRACELEFT/RIGHT for OSX users Should fix #28098. --- platform/osx/os_osx.mm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/platform/osx/os_osx.mm b/platform/osx/os_osx.mm index 5a4c0593bc1..789e0bbd3e6 100644 --- a/platform/osx/os_osx.mm +++ b/platform/osx/os_osx.mm @@ -965,10 +965,10 @@ static const _KeyCodeMap _keycodes[55] = { { 'i', KEY_I }, { 'o', KEY_O }, { 'p', KEY_P }, - { '[', KEY_BRACERIGHT }, - { ']', KEY_BRACELEFT }, - { '{', KEY_BRACERIGHT }, - { '}', KEY_BRACELEFT }, + { '[', KEY_BRACELEFT }, + { ']', KEY_BRACERIGHT }, + { '{', KEY_BRACELEFT }, + { '}', KEY_BRACERIGHT }, { 'a', KEY_A }, { 's', KEY_S }, { 'd', KEY_D },