From 3dbafe61833757ec9731fd94c66b68bf75e86f4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=BB=E7=92=83=E5=85=94?= <48943340+Polytoo@users.noreply.github.com> Date: Sat, 21 Mar 2020 00:43:44 +0800 Subject: [PATCH] More keyboard types (#387) --- nx/include/switch/applets/swkbd.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/nx/include/switch/applets/swkbd.h b/nx/include/switch/applets/swkbd.h index cc8e77bf..9b7d5ec3 100644 --- a/nx/include/switch/applets/swkbd.h +++ b/nx/include/switch/applets/swkbd.h @@ -18,9 +18,15 @@ typedef enum { /// Type of keyboard. typedef enum { - SwkbdType_Normal = 0, ///< Normal keyboard. - SwkbdType_NumPad = 1, ///< Number pad. The buttons at the bottom left/right are only available when they're set by \ref swkbdConfigSetLeftOptionalSymbolKey / \ref swkbdConfigSetRightOptionalSymbolKey. - SwkbdType_QWERTY = 2, ///< QWERTY (and variants) keyboard only. + SwkbdType_Normal = 0, ///< Normal keyboard. + SwkbdType_NumPad = 1, ///< Number pad. The buttons at the bottom left/right are only available when they're set by \ref swkbdConfigSetLeftOptionalSymbolKey / \ref swkbdConfigSetRightOptionalSymbolKey. + SwkbdType_QWERTY = 2, ///< QWERTY (and variants) keyboard only. + SwkbdType_Unknown3 = 3, ///< The same as SwkbdType_Normal keyboard. + SwkbdType_Latin = 4, ///< All Latin like languages keyboard only (without CJK keyboard). + SwkbdType_ZhHans = 5, ///< Chinese Simplified keyboard only. + SwkbdType_ZhHant = 6, ///< Chinese Traditional keyboard only. + SwkbdType_Korean = 7, ///< Korean keyboard only. + SwkbdType_All = 8, ///< All language keyboards. } SwkbdType; /// Bitmask for SwkbdArgCommon::keySetDisableBitmask. This disables keys on the keyboard when the corresponding bit(s) are set.