From ee81ab547ee35c4f5f3342a6f1e0d6bbc60500e8 Mon Sep 17 00:00:00 2001
From: jduncanator <1518948+jduncanator@users.noreply.github.com>
Date: Mon, 18 Nov 2019 22:16:26 +1100
Subject: Initial swkbd implementation (#826)
* am: Initial swkbd implementation
Currently only implements the full screen keyboard, inline keyboard will come later.
* Remove unnecessary logging
* Miscellaneous tidy up
* am: Always pop incoming interactive session data
* am: Add a reminder to implement the full config struct
* am: Check for a max length of zero
We should only limit/truncate text when the max length is set to a non-zero value.
* Add documentation
* am: Return IStorage not available when queue is empty
We should be returning the appropriate error code when the FIFO is empty, rather than just throwing an exception and killing the emulator.
* Fix typo
* Code style changes
---
.../SoftwareKeyboard/SoftwareKeyboardState.cs | 25 ++++++++++++++++++++++
1 file changed, 25 insertions(+)
create mode 100644 Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardState.cs
(limited to 'Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardState.cs')
diff --git a/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardState.cs b/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardState.cs
new file mode 100644
index 00000000..42a2831e
--- /dev/null
+++ b/Ryujinx.HLE/HOS/Applets/SoftwareKeyboard/SoftwareKeyboardState.cs
@@ -0,0 +1,25 @@
+namespace Ryujinx.HLE.HOS.Applets.SoftwareKeyboard
+{
+ internal enum SoftwareKeyboardState
+ {
+ ///
+ /// swkbd is uninitialized.
+ ///
+ Uninitialized,
+
+ ///
+ /// swkbd is ready to process data.
+ ///
+ Ready,
+
+ ///
+ /// swkbd is awaiting an interactive reply with a validation status.
+ ///
+ ValidationPending,
+
+ ///
+ /// swkbd has completed.
+ ///
+ Complete
+ }
+}
\ No newline at end of file
--
cgit v1.2.3