More keyboard types

Work out some more keyboard types
This commit is contained in:
玻璃兔 2020-03-20 13:39:07 +08:00 committed by GitHub
parent f0f21507db
commit 7c7dc2ded8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,12 @@ typedef enum {
SwkbdType_Normal = 0, ///< Normal keyboard. 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_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_QWERTY = 2, ///< QWERTY (and variants) keyboard only.
SwkbdType_Unkown = 3, ///< The same as SwkbdType_Normal keyboard.
SwkbdType_Latin = 4, ///< Latin like languages keyboard only.
SwkbdType_CHS = 5, ///< Chinese Simplifid keyboard only.
SwkbdType_CHT = 6, ///< Chinese Simplifid keyboard only.
SwkbdType_Korean = 7, ///< Korean keyboard only.
SwkbdType_All = 8, ///< All language keyboards.
} SwkbdType; } SwkbdType;
/// Bitmask for SwkbdArgCommon::keySetDisableBitmask. This disables keys on the keyboard when the corresponding bit(s) are set. /// Bitmask for SwkbdArgCommon::keySetDisableBitmask. This disables keys on the keyboard when the corresponding bit(s) are set.