summaryrefslogtreecommitdiff
path: root/schist_desktop_gui/src/config.rs
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2025-08-13 07:50:21 +0000
committerjoeac <me@joeac.net>2025-08-13 07:50:21 +0000
commitee3cd780e21260257b401c3f5cbababd9e27a15a (patch)
treeb0571649a1a1a7644dbc50183cc4c3a29966a963 /schist_desktop_gui/src/config.rs
parent49342e8b553d5c92f1c043b3b0ce18bdf1c2cd44 (diff)
task-073
Co-authored-by: Joe Carstairs <jcarstairs@scottlogic.com> Reviewed-on: https://git.joeac.net/joeac/schist/pulls/1 Co-authored-by: Joe Carstairs <me@joeac.net> Co-committed-by: Joe Carstairs <me@joeac.net>
Diffstat (limited to 'schist_desktop_gui/src/config.rs')
-rw-r--r--schist_desktop_gui/src/config.rs17
1 files changed, 13 insertions, 4 deletions
diff --git a/schist_desktop_gui/src/config.rs b/schist_desktop_gui/src/config.rs
index cab9eba..d45c460 100644
--- a/schist_desktop_gui/src/config.rs
+++ b/schist_desktop_gui/src/config.rs
@@ -1,8 +1,17 @@
+mod keys;
+
+use crate::config::keys::Keyboard;
+
#[derive(Clone)]
-pub struct Config {}
+pub struct Config {
+ pub keyboard: Keyboard,
+}
impl Default for Config {
- fn default() -> Self {
- Self {}
- }
+ fn default() -> Self {
+ let keyboard = Keyboard::default();
+ Self {
+ keyboard: keyboard,
+ }
+ }
}