mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-20 09:03:28 +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};
|
use crate::{RowCol, ScanCode};
|
||||||
|
|
||||||
/// Compute the azerty key mapping of row/col to key tuples
|
/// Compute the azerty key mapping of row/col to key tuples
|
||||||
|
#[rustfmt::skip]
|
||||||
pub(crate) fn map_azerty(code: RowCol) -> ScanCode {
|
pub(crate) fn map_azerty(code: RowCol) -> ScanCode {
|
||||||
let rc = (code.r, code.c);
|
let rc = (code.r, code.c);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
use crate::{RowCol, ScanCode};
|
use crate::{RowCol, ScanCode};
|
||||||
/// Compute the dvorak key mapping of row/col to key tuples
|
/// Compute the dvorak key mapping of row/col to key tuples
|
||||||
|
#[rustfmt::skip]
|
||||||
pub(crate) fn map_dvorak(code: RowCol) -> ScanCode {
|
pub(crate) fn map_dvorak(code: RowCol) -> ScanCode {
|
||||||
let rc = (code.r, code.c);
|
let rc = (code.r, code.c);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
use crate::{RowCol, ScanCode};
|
use crate::{RowCol, ScanCode};
|
||||||
|
|
||||||
/// Compute the qwerty key mapping of row/col to key tuples
|
/// Compute the qwerty key mapping of row/col to key tuples
|
||||||
|
#[rustfmt::skip]
|
||||||
pub(crate) fn map_qwerty(code: RowCol) -> ScanCode {
|
pub(crate) fn map_qwerty(code: RowCol) -> ScanCode {
|
||||||
let rc = (code.r, code.c);
|
let rc = (code.r, code.c);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
use crate::{RowCol, ScanCode};
|
use crate::{RowCol, ScanCode};
|
||||||
|
|
||||||
/// Compute the qwertz key mapping of row/col to key tuples
|
/// Compute the qwertz key mapping of row/col to key tuples
|
||||||
|
#[rustfmt::skip]
|
||||||
pub(crate) fn map_qwertz(code: RowCol) -> ScanCode {
|
pub(crate) fn map_qwertz(code: RowCol) -> ScanCode {
|
||||||
let rc = (code.r, code.c);
|
let rc = (code.r, code.c);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue