Code Monkey home page Code Monkey logo

rusty-dilemma's Introduction

Rust firmware for the dilemma v2

PXL_20230603_221534290.TS.2.mp4

Layout

Default Layout

Features

  • Normal keypresses, mod taps, layers, chords, mouse keys
  • Cirque trackpad support, with support for using it to scroll
  • Some pretty neopixel animations (that sync between sides, and transition smoothly)
  • Support for a st7789 display, using slint to render the UI
  • Single firmware binary, everything works no matter which side is plugged in
  • Double tapping the update button puts the mcu into dfu mode
  • The device pretends to be a RP Pico and supports being put into DFU mode by picotool

Building

You'll need cargo and picotool installed

  • cargo build --release -Zbuild-std=core,alloc,panic_abort -Zbuild-std-features=panic_immediate_abort
    • It's fine to use just cargo build --release here, the extra parameters just make the binary a bit smaller.
  • picotool load -f ./target/thumbv6m-none-eabi/release/boot
    • The bootloader only needs flashing the first time
  • picotool load -f ./target/thumbv6m-none-eabi/release/binary
  • picotool reboot

(You can use either the nix flake or install picotool yourself)

Keymaps

You can use https://github.com/simmsb/keylayout to generate key layouts (and also generate previes of them), check out the one I use

rusty-dilemma's People

Contributors

georges760 avatar simmsb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

georges760

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.