summary refs log tree commit diff
path: root/src/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.h')
-rw-r--r--src/config.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/config.h b/src/config.h
index f4ed20d..486a4f6 100644
--- a/src/config.h
+++ b/src/config.h
@@ -14,6 +14,11 @@ struct Level {
 	float difficulty;
 };
 
+struct Key {
+	int forwards, backwards, left, right;
+	int aim, psychic_aim, psychic;
+};
+
 struct Config {
 	int width;
 	int height;
@@ -24,10 +29,7 @@ struct Config {
 	bool music;
 
 	float mouse_sensitivity;
-	struct {
-		int forwards, backwards, left, right;
-		int aim, psychic_aim, psychic;
-	} key;
+	struct Key key;
 
 	struct {
 		struct Level *ptr;