summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorMarc Poulhiès <dkm@kataplop.net>2021-01-22 22:03:16 +0100
committerMarc Poulhiès <dkm@kataplop.net>2021-01-22 22:07:15 +0100
commit3fdec43b26864bebe20d0ee5bdd51f202c1e5484 (patch)
treec8a5322120ce9c143bb27e1bb076abb009ad3418 /firmware
parent9ca671ef21037186ec2176fe185a77025d217cbb (diff)
Minor change in layout
Add Volume keys and also map page-up/down on the 2 keys in lower-right corner for easier access (more similar to Typematrix, very convenient for reading).
Diffstat (limited to 'firmware')
-rw-r--r--firmware/src/main.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/src/main.rs b/firmware/src/main.rs
index 7be4329..6a59934 100644
--- a/firmware/src/main.rs
+++ b/firmware/src/main.rs
@@ -125,10 +125,10 @@ pub static LAYERS: keyberon::layout::Layers<CustomActions> = &[
], &[
&[k(F1), k(F2), k(F3), k(F4), k(F5), k(F6), k(F7), k(F8), k(F9), k(F10), k(F11), k(F12)],
- &[k(SysReq), k(NumLock), Trans, Trans, Trans, k(Escape), k(Insert), k(PgUp), k(PgDown), Trans, Trans, Trans ],
+ &[k(SysReq), k(NumLock), Trans, Trans, Trans, k(Escape), k(Insert), k(PgUp), k(PgDown), k(VolUp), k(VolDown), k(Mute) ],
&[Trans , Trans , Trans, Trans, Trans, Trans, k(Home), k(Up), k(End), Trans, Trans, Trans ],
- &[k(NonUsBslash), Action::Custom(CustomActions::ColorCycle), Action::Custom(CustomActions::FreqUp), Action::Custom(CustomActions::FreqDown), Trans, Trans, k(Left), k(Down), k(Right), Trans, Trans, k(PgUp) ],
- &[Action::Custom(CustomActions::LightUp), Trans, Action::Custom(CustomActions::LightDown), Action::Custom(CustomActions::ModeCycle), Trans, Trans, Trans, Trans, Trans, Trans, Trans, Trans],
+ &[k(NonUsBslash), Action::Custom(CustomActions::ColorCycle), Action::Custom(CustomActions::FreqUp), Action::Custom(CustomActions::FreqDown), Trans, Trans, k(Left), k(Down), k(Right), Trans, Trans, k(PgUp) ],
+ &[Action::Custom(CustomActions::LightUp), Trans, Action::Custom(CustomActions::LightDown), Action::Custom(CustomActions::ModeCycle), Trans, Trans, Trans, Trans, Trans, Trans, Trans, k(PgDown)],
],
];