You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
638 B
Rust

use keyberon::key_code::KeyCode;
type Action = keyberon::action::Action<()>;
static STAR: Action = Action::KeyCode(KeyCode::KpAsterisk);
#[rustfmt::skip]
pub static LAYERS: keyberon::layout::Layers<4, 5, 1, ()> = keyberon::layout::layout! {
{
[ '_' / {STAR} - ],
[ 7 8 9 n ],
[ 4 5 6 + ],
[ 1 2 3 n ],
[ 0 0 , Enter],
}
};
// #[rustfmt::skip]
// pub static LAYERS: keyberon::layout::Layers<5, 4, 1, ()> = keyberon::layout::layout! {
// {
// ['_' 7 4 1],
// [/ 8 5 2 0],
// [{STAR} 9 6 3 ,],
// [ - n + n Enter]
// }
// };