summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Poulhiès <dkm@kataplop.net>2020-11-11 21:41:05 +0100
committerMarc Poulhiès <dkm@kataplop.net>2020-11-11 22:25:31 +0100
commitd4fc554abb32a0cefdb38945d1b5bf7df0153424 (patch)
tree2058aa11423c342252f9974b6792124593aafde5
parent8d50eced23444da3b73fa39ec985b41d13438da2 (diff)
Modified the bépo layout a bit
Moved few keys around: - swapped w and AltGr. - swapped Raise and Shift - added ê/Ê
-rw-r--r--firmware/src/main.rs15
-rw-r--r--images/layout.pngbin47137 -> 30609 bytes
2 files changed, 6 insertions, 9 deletions
diff --git a/firmware/src/main.rs b/firmware/src/main.rs
index 39013b5..b806b3f 100644
--- a/firmware/src/main.rs
+++ b/firmware/src/main.rs
@@ -106,15 +106,15 @@ pub static LAYERS: keyberon::layout::Layers = &[
&[k(A), k(S), k(D), k(F), k(G), k(BSpace), k(H), k(J), k(K), k(L), k(SColon), k(Quote)],
&[k(Z), k(X), k(C), k(V), k(B), k(Enter), k(N), k(M), k(Comma), k(Dot), k(Slash), k(Bslash) ],
- &[k(LCtrl), k(LShift), k(LGui), l(1), k(LAlt), k(Space), k(Delete), k(RAlt), k(Equal), k(RBracket),k(RShift), k(RCtrl)],
+ &[k(LCtrl), l(1), k(LGui), k(LShift), k(LAlt), k(Space), k(RAlt), k(RBracket), k(Equal), k(Delete),k(RShift), k(RCtrl)],
], &[
&[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 ],
&[Trans , Trans , Trans, Trans, Trans, Trans, k(Home), k(Up), k(End), Trans, Trans, Trans ],
- &[Trans, Trans, Trans, Trans, Trans, Trans, k(Left), k(Down), k(Right), Trans, Trans, Trans ],
- &[Trans, Trans, Trans, Trans, Trans, Trans, Trans, Trans, Trans, Trans, Trans, Trans ],
+ &[k(NonUsBslash), Trans, Trans, Trans, Trans, Trans, k(Left), k(Down), k(Right), Trans, Trans, k(PgUp) ],
+ &[Trans, Trans, Trans, Trans, Trans, Trans, Trans, Trans, Trans, Trans, Trans, k(PgDown) ],
],
];
@@ -133,8 +133,7 @@ where
} else {
self.leds[0] = colors::BLACK;
}
- self.ws
- .write(brightness(self.leds.iter().cloned(), 10));
+ self.ws.write(brightness(self.leds.iter().cloned(), 10));
}
fn num_lock(&mut self, status: bool) {
@@ -143,8 +142,7 @@ where
} else {
self.leds[1] = colors::BLACK;
}
- self.ws
- .write(brightness(self.leds.iter().cloned(), 10));
+ self.ws.write(brightness(self.leds.iter().cloned(), 10));
}
fn compose(&mut self, status: bool) {
@@ -153,8 +151,7 @@ where
} else {
self.leds[3] = colors::BLACK;
}
- self.ws
- .write(brightness(self.leds.iter().cloned(), 10));
+ self.ws.write(brightness(self.leds.iter().cloned(), 10));
}
}
diff --git a/images/layout.png b/images/layout.png
index ab6c2ac..108fa8a 100644
--- a/images/layout.png
+++ b/images/layout.png
Binary files differ