Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.
/ polybius Public archive

Keyboard firmware experiments on the bleeding edge of Rust's const-eval.

License

Notifications You must be signed in to change notification settings

agausmann/polybius

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polybius

Keyboard firmware experiments on the bleeding edge of Rust's const-eval.

NOTE: This crate is not being maintained anymore. I've encountered difficulties porting other architectures and keyboards (especially split) to this design, and so instead of trying to port everything to this and adapt it, I have decided to move on.

I will eventually buiild a new framework, but first, I will be building a lot of firmwares from scratch. Abstractions will come later.

Features

  • Modular design. Polybius is intended to be a simple "glue" library, the bridge between keyboard support packages and user-defined keymaps. Both of these can and should be implemented as separate crates.

  • Type-checked keymaps and matrix I/O. Uses Rust's powerful type system and compile-time evaluation to validate that:

    • The user's keymap matches the layout specified by the hardware.
    • The correct number of I/O for rows and columns is provided by the hardware support package.
    • The I/O direction of rows and columns matches the diode configuration.

Featured Crates

About

Keyboard firmware experiments on the bleeding edge of Rust's const-eval.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages