mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-08 04:56:43 +00:00
- debounce is now in hardware (requires latest version of betrusted-soc) - key events originate from an interrupt context and propagate through to the listeners as messages - attempt to reduce the use of heapless::Vec; there is an awkward interposer step still between the array methodology and the Vec methodology I'm not sure if trying to eliminate the Vec is a good idea, because...I'm finding that we're just re-implementing Vec, but much worse. However, for the purpose of movement of data across IPC boundaries, it's more robust to use primitive types, because serializing Vec is not possible without either forking the heapless crate to derive the rkyv traits; or, we'd have to do some probably quite dangerous conversion of the Vec to a raw slice which also doesn't feel nice. |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||