From e3b1f3c1ad5bf362a287b1933c5b61749cf89d7c 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. (cherry picked from commit 8cbfc0365be2ea9f6adbe695f2af24931bc4929b) --- 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 4bbe30a7d13..7435ca7a7b6 100644 --- a/platform/osx/os_osx.mm +++ b/platform/osx/os_osx.mm @@ -969,10 +969,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 },