summaryrefslogtreecommitdiff
path: root/setup/keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'setup/keyboard.c')
-rw-r--r--setup/keyboard.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/setup/keyboard.c b/setup/keyboard.c
new file mode 100644
index 00000000..2d179316
--- /dev/null
+++ b/setup/keyboard.c
@@ -0,0 +1,23 @@
+#include "textscreen.h"
+
+int dummy;
+
+void ConfigKeyboard(void)
+{
+ txt_window_t *window;
+ txt_table_t *table;
+
+ window = TXT_NewWindow("Keyboard configuration");
+
+ table = TXT_NewTable(2);
+ TXT_AddWidget(window, table);
+
+ TXT_AddWidget(table, TXT_NewLabel("Move Forward"));
+ TXT_AddWidget(table, TXT_NewIntInputBox(&dummy, 7));
+ TXT_AddWidget(table, TXT_NewLabel("Move Backward"));
+ TXT_AddWidget(table, TXT_NewIntInputBox(&dummy, 7));
+ TXT_AddWidget(table, TXT_NewLabel("Turn Left"));
+ TXT_AddWidget(table, TXT_NewIntInputBox(&dummy, 7));
+ TXT_AddWidget(table, TXT_NewLabel("Turn Right"));
+}
+