diff --git a/Cargo.lock b/Cargo.lock index c18f72ab6..dbaf72994 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4241,6 +4241,7 @@ name = "userprefs" version = "0.1.0" dependencies = [ "bincode 2.0.0-rc.2", + "keyboard", "pddb", "prefsgenerator", "xous-api-names", diff --git a/libs/userprefs/Cargo.toml b/libs/userprefs/Cargo.toml index d0ca72462..3fe8bf050 100644 --- a/libs/userprefs/Cargo.toml +++ b/libs/userprefs/Cargo.toml @@ -5,6 +5,7 @@ edition = "2021" [dependencies] pddb = {path = "../../services/pddb"} +keyboard = {path = "../../services/keyboard"} xous-names = {package = "xous-api-names", version = "0.9.4"} bincode = {version = "2.0.0-rc.2"} prefsgenerator = {path = "./prefsgenerator"} \ No newline at end of file diff --git a/libs/userprefs/src/lib.rs b/libs/userprefs/src/lib.rs index 1b7e8d0b2..bbda26a1f 100644 --- a/libs/userprefs/src/lib.rs +++ b/libs/userprefs/src/lib.rs @@ -41,6 +41,7 @@ pub struct UserPrefs { pub connect_known_networks_on_boot: bool, pub autobacklight_on_boot: bool, pub autobacklight_timeout: u64, + pub keyboard_layout: usize, } pub struct Manager {