From ee3cd780e21260257b401c3f5cbababd9e27a15a Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Wed, 13 Aug 2025 07:50:21 +0000 Subject: task-073 Co-authored-by: Joe Carstairs Reviewed-on: https://git.joeac.net/joeac/schist/pulls/1 Co-authored-by: Joe Carstairs Co-committed-by: Joe Carstairs --- schist_desktop_gui/src/config.rs | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) (limited to 'schist_desktop_gui/src/config.rs') 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, + } + } } -- cgit v1.2.3