diff options
| author | Joe Carstairs <me@joeac.net> | 2025-08-13 07:50:21 +0000 |
|---|---|---|
| committer | joeac <me@joeac.net> | 2025-08-13 07:50:21 +0000 |
| commit | ee3cd780e21260257b401c3f5cbababd9e27a15a (patch) | |
| tree | b0571649a1a1a7644dbc50183cc4c3a29966a963 /schist_desktop_gui/src/config.rs | |
| parent | 49342e8b553d5c92f1c043b3b0ce18bdf1c2cd44 (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.rs | 17 |
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, + } + } } |
