There is a section called no-std crates which lists a couple of useful crates like bbqueue and heapless. I find it insightful to browse through the public repos of the authors of popular embedded rust crates and see what crates they use most often.
https://www.dell.com/learn/ap/en/apdhs1/videos~en/documents~...
Magnetic separation switches are the opposite: The force is strongest at the start but then gets weaker the farther down the key travel you go. Here's a force curve that I've measured for my 3D printable magnetic separation switch:
(I’ve never seen one of these keyboards or even heard of them before, and am thus speaking from an uninformed position.)
https://www.reddit.com/r/MechanicalKeyboards/comments/iojmyk...
Here's a gif of the switch mechanism in action:
https://gfycat.com/agedadolescentbat
Here's a video where I talk about the macro pad and demonstrate some of the features of my key switch design:
I've made two PCB (prototype) designs for using my hall effect switches:
I've also designed two keyboard stablizers: One that's "regular" (Cherry compatible) and one that's meant to work with my hall effect switch design that incorporates magnets to ensure it never rattles. I haven't released them yet though (Soon™).
My key switch design was created in OpenSCAD and is parametric. So if you want you can customize every little detail of the switch from the size of the magnets to the travel to the initial force required to depress a key (by controlling how close the magnets get at rest).
Once I have a working keyboard firmware I'll release the whole thing open source so everyone can play around with it.
Oh! I also made a keycap design library for OpenSCAD to go along with all of this called the "Keycap Playground"...
I would have really enjoyed watching the same video with the LEDs turned off.
Anyway, I’m going to look more closely into this now, because other that that it looks like a really interesting project! :-)
The world of embedded Rust seems to be developing incredibly fast. Especially since there's so much hardware that you can use with it now and more is on the way (especially in the world of RISC-V... Holy crap there's a lot of interesting and exciting hardware coming!). As a result of that I seem to be regularly encountering situations where I try to do something basic but no one has "made a crate for that yet" (that works with #![no_std]).
Just the other day I found out just how difficult it is to benchmark something (i.e. grab the current time, do something, get the time again, then subtract the difference... It's really, really complicated! Way moreso than it should be). If someone wanted to make a name for themselves by developing widely-used software now is the time to make your mark! The world of embedded Rust is waiting for you!
FYI: I'm still a newbie when it comes to Rust but I was able to develop a universal driver (works with any hardware platform) for working with 74HC4067 and 74HC4051 analog multiplexers in just a few days... https://crates.io/crates/analog-multiplexer