From beeafb92b90589e84ea9b82b3b0006adaf1911dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Thu, 25 Jun 2026 15:13:47 +0200 Subject: [PATCH] Add more symbols to the Latin OSK keyboard A few dupes, but meh. --- Core/Dialog/PSPOskConstants.cpp | 2 ++ Core/Dialog/PSPOskDialog.cpp | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Core/Dialog/PSPOskConstants.cpp b/Core/Dialog/PSPOskConstants.cpp index 7e02f1b0df..aa869bf6fa 100644 --- a/Core/Dialog/PSPOskConstants.cpp +++ b/Core/Dialog/PSPOskConstants.cpp @@ -52,6 +52,7 @@ static const char16_t oskKeys[OSK_KEYBOARD_COUNT][6][14] = { {u"qwertyuiop[]"}, {u"asdfghjkl;@~"}, {u"zxcvbnm,./?\\"}, + {u"=<>\'€¥&§£*()"}, }, { // Latin Uppercase @@ -59,6 +60,7 @@ static const char16_t oskKeys[OSK_KEYBOARD_COUNT][6][14] = { {u"QWERTYUIOP{}"}, {u"ASDFGHJKL:\"`"}, {u"ZXCVBNM<>/?|"}, + {u"=<>\'€¥&§-[]"}, }, { // Hiragana diff --git a/Core/Dialog/PSPOskDialog.cpp b/Core/Dialog/PSPOskDialog.cpp index f179eb7e52..8f51d9d121 100755 --- a/Core/Dialog/PSPOskDialog.cpp +++ b/Core/Dialog/PSPOskDialog.cpp @@ -42,8 +42,8 @@ const static int OSK_INIT_DELAY_US = 300000; const static int OSK_SHUTDOWN_DELAY_US = 40000; -const uint8_t numKeyCols[OSK_KEYBOARD_COUNT] = {12, 12, 13, 13, 12, 12, 12, 12, 12}; -const uint8_t numKeyRows[OSK_KEYBOARD_COUNT] = {4, 4, 6, 6, 5, 4, 4, 4, 4}; +static const uint8_t numKeyCols[OSK_KEYBOARD_COUNT] = {12, 12, 13, 13, 12, 12, 12, 12, 12}; +static const uint8_t numKeyRows[OSK_KEYBOARD_COUNT] = {5, 5, 6, 6, 5, 4, 4, 4, 4}; // Korean (Hangul) vowel Combination key static const uint8_t kor_vowelCom[21] = { 0,8,9,1,8,10,20,8,11,4,13,14,5,13,15,20,13,16,20,18,19 };