mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-17 08:40:52 +00:00
don't format key lookup tables
This commit is contained in:
parent
425e48ed45
commit
11f9552b96
4 changed files with 5 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
use crate::{RowCol, ScanCode};
|
||||
|
||||
/// Compute the azerty key mapping of row/col to key tuples
|
||||
#[rustfmt::skip]
|
||||
pub(crate) fn map_azerty(code: RowCol) -> ScanCode {
|
||||
let rc = (code.r, code.c);
|
||||
|
||||
|
|
@ -70,4 +71,4 @@ pub(crate) fn map_azerty(code: RowCol) -> ScanCode {
|
|||
|
||||
_ => ScanCode {key: None, shift: None, hold: None, alt: None}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
use crate::{RowCol, ScanCode};
|
||||
/// Compute the dvorak key mapping of row/col to key tuples
|
||||
#[rustfmt::skip]
|
||||
pub(crate) fn map_dvorak(code: RowCol) -> ScanCode {
|
||||
let rc = (code.r, code.c);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
use crate::{RowCol, ScanCode};
|
||||
|
||||
/// Compute the qwerty key mapping of row/col to key tuples
|
||||
#[rustfmt::skip]
|
||||
pub(crate) fn map_qwerty(code: RowCol) -> ScanCode {
|
||||
let rc = (code.r, code.c);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
use crate::{RowCol, ScanCode};
|
||||
|
||||
/// Compute the qwertz key mapping of row/col to key tuples
|
||||
#[rustfmt::skip]
|
||||
pub(crate) fn map_qwertz(code: RowCol) -> ScanCode {
|
||||
let rc = (code.r, code.c);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue