aboutsummaryrefslogtreecommitdiff
path: root/src/settings.c
diff options
context:
space:
mode:
authornathansmithsmith <thenathansmithsmith@gmail.com>2023-07-09 00:53:10 -0600
committernathansmithsmith <thenathansmithsmith@gmail.com>2023-07-09 00:53:10 -0600
commit3f0be672f9c5a07a98be0dc703b95f1bbe73f33e (patch)
treeaeb7776878e3460f7ba1f33cf2c0d195eb45f2c5 /src/settings.c
parentb92adb44b618db0272819cb77e5727441c566838 (diff)
Mouse control working
Diffstat (limited to 'src/settings.c')
-rw-r--r--src/settings.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/settings.c b/src/settings.c
new file mode 100644
index 0000000..d436d4a
--- /dev/null
+++ b/src/settings.c
@@ -0,0 +1,9 @@
+#include "settings.h"
+
+void initSettings(Settings * settings) {
+ *settings = (Settings){
+ .mouseSensitivity = 50.0,
+ .scrollBarSpeed = 10.0,
+ .controlMode = KEYBOARD_AND_MOUSE_CONTROL
+ };
+}