mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-15 08:30:02 +00:00
Keyboard setting is "the one and only" exception to user settings that are saved without encryption. This is because you need your keyboard layout to be set in order for you to type your password. Thus, this needed a bit of a special-case to handle its storage record. We decided to lop off 1 page from the loader and have it store the keyboard layout code. Let's hope we can have the discipline to really just store that one word of information and not later be like "gee wally, you have a whoooole 4092 unused bytes of space we can cram unencrypted user settings in, sure would be a waste to not put those use those".
31 lines
1 KiB
TOML
31 lines
1 KiB
TOML
[package]
|
|
authors = ["bunnie <bunnie@kosagi.com>"]
|
|
description = "Manage keyboard input"
|
|
edition = "2018"
|
|
name = "keyboard"
|
|
version = "0.1.0"
|
|
|
|
# Dependency policy: fully specify dependencies to the minor version number
|
|
[dependencies]
|
|
log = {version = "0.4", features = ["max_level_trace", "release_max_level_trace"]}
|
|
log-server = {path = "../log-server"}
|
|
ticktimer-server = {path = "../ticktimer-server"}
|
|
xous = {path = "../../xous-rs"}
|
|
xous-ipc = {path = "../../xous-ipc"}
|
|
xous-names = {path = "../xous-names"}
|
|
llio = {path = "../llio"}
|
|
susres = {path = "../susres"}
|
|
spinor = {path = "../spinor"}
|
|
|
|
num-derive = {version = "0.3.3", default-features = false}
|
|
num-traits = {version = "0.2.14", default-features = false}
|
|
rkyv = {version = "0.4.3", default-features = false, features = ["const_generics"]}
|
|
|
|
[target.'cfg(not(any(windows,unix)))'.dependencies]
|
|
utralib = {path = "../../utralib"}
|
|
|
|
[features]
|
|
debugprint = []
|
|
debuginject = [] # used only if you want key injection via the UART
|
|
braille = []
|
|
default = ["debuginject"] # "debugprint"
|