Skip to content

Commit

Permalink
update rumcake revision
Browse files Browse the repository at this point in the history
  • Loading branch information
Univa committed Mar 19, 2024
1 parent 66407f8 commit f4cde5d
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion rumcake-basic-template/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ cortex-m = { version = "0.7.6", features = ["critical-section-single-core"] }
cortex-m-rt = "0.7.0"
embassy-executor = { git = "https://github.com/embassy-rs/embassy", rev = "b8be126" }

rumcake = { git = "https://github.com/Univa/rumcake", rev = "817135d", features = ["usb", "stm32f303cb", "vial", "underglow", "ws2812-bitbang"] }
rumcake = { git = "https://github.com/Univa/rumcake", rev = "7128881", features = ["usb", "stm32f303cb", "vial", "underglow", "ws2812-bitbang"] }

[build-dependencies]
rust-lzma = "0.6.0"
Expand Down
4 changes: 2 additions & 2 deletions rumcake-basic-template/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use defmt_rtt as _;
use panic_probe as _;
use rumcake::keyberon;
use rumcake::keyboard;
use rumcake::keyboard::{build_layout, build_matrix, remap_matrix};
use rumcake::keyboard::{build_layout, build_standard_matrix, remap_matrix};

#[keyboard(usb, underglow(driver = "ws2812_bitbang"), vial)]
pub struct {{ keyboard-name }};
Expand Down Expand Up @@ -73,7 +73,7 @@ impl KeyboardLayout for {{ keyboard-name }} {
// Matrix configuration
use rumcake::keyboard::KeyboardMatrix;
impl KeyboardMatrix for {{ keyboard-name }} {
build_matrix! {
build_standard_matrix! {
{ PB3 PB4 PA15 PB5 PA0 PA1 PB10 PB11 PA2 PA3 } // Rows
{ PB12 PB2 PB1 PB0 PA7 PA6 PA5 PA4 } // Columns
}
Expand Down
2 changes: 1 addition & 1 deletion rumcake-split-template/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ cortex-m = { version = "0.7.6" }
cortex-m-rt = "0.7.0"
embassy-executor = { git = "https://github.com/embassy-rs/embassy", rev = "b8be126" }

rumcake = { git = "https://github.com/Univa/rumcake", rev = "817135d", features = ["nrf52840", "drivers", "nrf-ble"] }
rumcake = { git = "https://github.com/Univa/rumcake", rev = "7128881", features = ["nrf52840", "drivers", "nrf-ble"] }

[profile.dev]
debug = 2
Expand Down
4 changes: 2 additions & 2 deletions rumcake-split-template/src/left.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use defmt_rtt as _;
use panic_probe as _;
use rumcake::keyberon;
use rumcake::keyboard;
use rumcake::keyboard::{build_layout, build_matrix};
use rumcake::keyboard::{build_layout, build_standard_matrix};

#[keyboard(usb, bluetooth, split_central(driver = "ble"))]
pub struct {{ keyboard-name }}Left;
Expand Down Expand Up @@ -50,7 +50,7 @@ impl KeyboardLayout for {{ keyboard-name }}Left {
// Matrix configuration
use rumcake::keyboard::KeyboardMatrix;
impl KeyboardMatrix for {{ keyboard-name }}Left {
build_matrix! {
build_standard_matrix! {
{ P0_02 P1_13 P1_11 P0_10 } // Rows
{ P0_22 P0_24 P1_00 P0_11 P1_04 P1_06 } // Columns
}
Expand Down
4 changes: 2 additions & 2 deletions rumcake-split-template/src/right.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use defmt_rtt as _;
use panic_probe as _;
use rumcake::keyberon;
use rumcake::keyboard;
use rumcake::keyboard::{build_layout, build_matrix};
use rumcake::keyboard::{build_layout, build_standard_matrix};

#[keyboard(split_peripheral(driver = "ble"))]
pub struct {{ keyboard-name }}Right;
Expand All @@ -23,7 +23,7 @@ impl Keyboard for {{ keyboard-name }}Right {
// Since this is a peripheral device, this only needs a matrix
use rumcake::keyboard::KeyboardMatrix;
impl KeyboardMatrix for {{ keyboard-name }}Right {
build_matrix! {
build_standard_matrix! {
{ P0_22 P1_00 P0_11 P1_04 } // Rows
{ P0_09 P0_10 P1_11 P1_13 P1_15 P0_02 } // Columns
}
Expand Down

0 comments on commit f4cde5d

Please sign in to comment.