From 45f7646b99e9dfaa599c16ae4a6ac94f20bded91 Mon Sep 17 00:00:00 2001 From: Sour Date: Fri, 12 Apr 2019 19:26:38 -0400 Subject: [PATCH] Input: Fixed inverted bracket keys for family basic keyboard --- Core/FamilyBasicKeyboard.h | 2 +- GUI.NET/Config/KeyPresets.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/FamilyBasicKeyboard.h b/Core/FamilyBasicKeyboard.h index e9366023..378a418c 100644 --- a/Core/FamilyBasicKeyboard.h +++ b/Core/FamilyBasicKeyboard.h @@ -10,7 +10,7 @@ private: bool _enabled = false; const uint32_t _keyMatrix[72] = { - F8, Return, RightBracket, LeftBracket, + F8, Return, LeftBracket, RightBracket, Kana, RightShift, Yen, Stop, F7, AtSign, Colon, SemiColon, Underscore, Slash, Minus, Caret, diff --git a/GUI.NET/Config/KeyPresets.cs b/GUI.NET/Config/KeyPresets.cs index 3590a6d6..2fe8abb3 100644 --- a/GUI.NET/Config/KeyPresets.cs +++ b/GUI.NET/Config/KeyPresets.cs @@ -161,7 +161,7 @@ namespace Mesen.GUI.Config InteropEmu.GetKeyCode("6"), InteropEmu.GetKeyCode("7"), InteropEmu.GetKeyCode("8"), InteropEmu.GetKeyCode("9"), InteropEmu.GetKeyCode("Enter"), InteropEmu.GetKeyCode("Spacebar"), InteropEmu.GetKeyCode("Backspace"), InteropEmu.GetKeyCode("Insert"), InteropEmu.GetKeyCode("Esc"), InteropEmu.GetKeyCode("Ctrl"), InteropEmu.GetKeyCode("Menu"), InteropEmu.GetKeyCode("Shift"), - InteropEmu.GetKeyCode("["), InteropEmu.GetKeyCode("]"), + InteropEmu.GetKeyCode("]"), InteropEmu.GetKeyCode("["), InteropEmu.GetKeyCode("Up Arrow"), InteropEmu.GetKeyCode("Down Arrow"), InteropEmu.GetKeyCode("Left Arrow"), InteropEmu.GetKeyCode("Right Arrow"), InteropEmu.GetKeyCode("."), InteropEmu.GetKeyCode(","), InteropEmu.GetKeyCode("'"), InteropEmu.GetKeyCode(";"), InteropEmu.GetKeyCode("="), InteropEmu.GetKeyCode("/"), InteropEmu.GetKeyCode("-"), InteropEmu.GetKeyCode("`"),