]> git.sesse.net Git - pistorm/blobdiff - config_file/config_file.h
Add keyboard event source file setting to config-file
[pistorm] / config_file / config_file.h
index 6880f0fcada497f7912ca1f9c3b62ee06dc2013a..37cb0ce80242149d69557491051d9f75f9c7ea0e 100644 (file)
@@ -39,6 +39,7 @@ typedef enum {
   CONFITEM_KEYBOARD,
   CONFITEM_PLATFORM,
   CONFITEM_SETVAR,
+  CONFITEM_KBFILE,
   CONFITEM_NUM,
 } config_items;
 
@@ -64,7 +65,7 @@ struct emulator_config {
 
   struct platform_config *platform;
 
-  char *mouse_file;
+  char *mouse_file, *keyboard_file;
 
   char mouse_toggle_key, keyboard_toggle_key;
   unsigned char mouse_enabled, keyboard_enabled;