aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/pugl/pugl.h1
-rw-r--r--test/test_utils.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/pugl/pugl.h b/include/pugl/pugl.h
index 0dca202..9d2a8e1 100644
--- a/include/pugl/pugl.h
+++ b/include/pugl/pugl.h
@@ -342,6 +342,7 @@ typedef struct {
*/
typedef enum {
PUGL_KEY_BACKSPACE = 0x00000008U, ///< Backspace
+ PUGL_KEY_TAB = 0x00000009U, ///< Tab
PUGL_KEY_ENTER = 0x0000000DU, ///< Enter
PUGL_KEY_ESCAPE = 0x0000001BU, ///< Escape
PUGL_KEY_DELETE = 0x0000007FU, ///< Delete
diff --git a/test/test_utils.h b/test/test_utils.h
index 80f28a0..19ad5ba 100644
--- a/test/test_utils.h
+++ b/test/test_utils.h
@@ -127,6 +127,8 @@ keyString(const uint32_t key)
switch (key) {
case PUGL_KEY_BACKSPACE:
return "BACKSPACE";
+ case PUGL_KEY_TAB:
+ return "TAB";
case PUGL_KEY_ENTER:
return "ENTER";
case PUGL_KEY_ESCAPE: