summaryrefslogtreecommitdiff
path: root/schist_desktop_gui/src/config.rs
diff options
context:
space:
mode:
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,
+ }
+ }
}