mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
feat: support keyboard layout setting in userprefs
This commit is contained in:
parent
52bcedc37a
commit
58707b5ebf
3 changed files with 3 additions and 0 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
|
@ -4241,6 +4241,7 @@ name = "userprefs"
|
|||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"bincode 2.0.0-rc.2",
|
||||
"keyboard",
|
||||
"pddb",
|
||||
"prefsgenerator",
|
||||
"xous-api-names",
|
||||
|
|
|
|||
|
|
@ -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"}
|
||||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue