Riskable
Riskable
This PR fixes #104 where `embedded-graphics` text alignment features were not working because the `size()` method wasn't taking display rotation into account.
If you call `display.set_rotation(DisplayRotation::Rotate90);` or `display.set_rotation(DisplayRotation::Rotate270);` the display's dimensions (WIDTH/HEIGHT) should be swapped so that `embedded-graphics` text alignment features can work properly. As things are right now, if you rotate...
This change has been a nightmare for me so I'm curious what benefit it provides? My code used to be able to take simple arguments like: ```rust pub fn event_scanner(...
Keyberon currently has this in `hid.rs`: ```rust impl HidClass { let max_packet_size = device.max_packet_size(); HidClass { device, interface: alloc.interface(), endpoint_interrupt_in: alloc.interrupt(max_packet_size, 10), //
Demo: https://youtu.be/M2OXrNP3fgI Example usage: ```rust use keyberon::action::{k, l, m, kp, kr, tap, Action, Action::*, SequenceEvent}; use keyberon::key_code::KeyCode::{self, *}; const MACROTEST: Action = Sequence { delay: 10, actions: &[ SequenceEvent::Press(LCtrl), SequenceEvent::Press(LShift),...
I would love to add support for HID-IO in my hall effect keyboard firmware but I can't find any Rust examples. Does anything exist that I can reference?
I've got an absolute rotary selection knob in my latest prototype and I want to fire a Keyberon `Event` when the user changes modes (i.e. rotates the knob to a...
This gets rid of the errors (and unnecessary web traffic) when a theme tries to load a font that exists locally on the user's machine (that may not even exist...