mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-20 09:03:28 +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"
|
version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"bincode 2.0.0-rc.2",
|
"bincode 2.0.0-rc.2",
|
||||||
|
"keyboard",
|
||||||
"pddb",
|
"pddb",
|
||||||
"prefsgenerator",
|
"prefsgenerator",
|
||||||
"xous-api-names",
|
"xous-api-names",
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@ edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
pddb = {path = "../../services/pddb"}
|
pddb = {path = "../../services/pddb"}
|
||||||
|
keyboard = {path = "../../services/keyboard"}
|
||||||
xous-names = {package = "xous-api-names", version = "0.9.4"}
|
xous-names = {package = "xous-api-names", version = "0.9.4"}
|
||||||
bincode = {version = "2.0.0-rc.2"}
|
bincode = {version = "2.0.0-rc.2"}
|
||||||
prefsgenerator = {path = "./prefsgenerator"}
|
prefsgenerator = {path = "./prefsgenerator"}
|
||||||
|
|
@ -41,6 +41,7 @@ pub struct UserPrefs {
|
||||||
pub connect_known_networks_on_boot: bool,
|
pub connect_known_networks_on_boot: bool,
|
||||||
pub autobacklight_on_boot: bool,
|
pub autobacklight_on_boot: bool,
|
||||||
pub autobacklight_timeout: u64,
|
pub autobacklight_timeout: u64,
|
||||||
|
pub keyboard_layout: usize,
|
||||||
}
|
}
|
||||||
|
|
||||||
pub struct Manager {
|
pub struct Manager {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue