aboutsummaryrefslogtreecommitdiff
path: root/sword2/driver/keyboard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sword2/driver/keyboard.cpp')
-rw-r--r--sword2/driver/keyboard.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/sword2/driver/keyboard.cpp b/sword2/driver/keyboard.cpp
index 609d0a75c5..85272a8d51 100644
--- a/sword2/driver/keyboard.cpp
+++ b/sword2/driver/keyboard.cpp
@@ -22,6 +22,9 @@
namespace Sword2 {
+// Key buffer size
+#define MAX_KEY_BUFFER 32
+
uint8 keyBacklog = 0; // The number of key presses waiting to be processed.
uint8 keyPointer = 0; // Index of the next key to read from the buffer.