-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
47efc5f
commit 8c24df9
Showing
3 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'nxjs-constants': patch | ||
--- | ||
|
||
Add `Swkbd.Type` enum |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
import * as Applet from './applet'; | ||
import * as Hid from './hid'; | ||
import * as Swkbd from './swkbd'; | ||
|
||
export { Applet, Hid }; | ||
export { Applet, Hid, Swkbd }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/// Type of keyboard. | ||
export enum Type { | ||
Normal = 0, ///< Normal keyboard. | ||
NumPad = 1, ///< Number pad. The buttons at the bottom left/right are only available when they're set by \ref swkbdConfigSetLeftOptionalSymbolKey / \ref swkbdConfigSetRightOptionalSymbolKey. | ||
QWERTY = 2, ///< QWERTY (and variants) keyboard only. | ||
Unknown3 = 3, ///< The same as SwkbdType_Normal keyboard. | ||
Latin = 4, ///< All Latin like languages keyboard only (without CJK keyboard). | ||
ZhHans = 5, ///< Chinese Simplified keyboard only. | ||
ZhHant = 6, ///< Chinese Traditional keyboard only. | ||
Korean = 7, ///< Korean keyboard only. | ||
All = 8, ///< All language keyboards. | ||
Unknown9 = 9, ///< Unknown | ||
} |