Skip to content

Commit

Permalink
Merge pull request #3 from HaoboGu/feat/low-power
Browse files Browse the repository at this point in the history
feat: update rmk version, add default keymap and async_matrix feature
  • Loading branch information
HaoboGu authored Jun 8, 2024
2 parents 29eab38 + 5cf916a commit e54b229
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo_esp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ edition = "2021"
license = "MIT OR Apache-2.0"

[dependencies]
rmk = { version = "0.1.15", git = "https://github.com/haobogu/rmk", features = [
rmk = { version = "0.1.21", git = "https://github.com/haobogu/rmk", features = [
"{{ chip }}_ble",
"col2row",
] }
Expand Down
2 changes: 1 addition & 1 deletion Cargo_nrf.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ edition = "2021"
license = "MIT OR Apache-2.0"

[dependencies]
rmk = { version = "0.1.15" }
rmk = { version = "0.1.21" }
cortex-m-rt = "0.7.3"
cortex-m = { version = "0.7.7", features = ['critical-section-single-core'] }
embassy-nrf = { version = "0.1.0", features = [
Expand Down
3 changes: 2 additions & 1 deletion Cargo_nrf_ble.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@ edition = "2021"
license = "MIT OR Apache-2.0"

[dependencies]
rmk = { version = "0.1.15", git = "https://github.com/haobogu/rmk", features = [
rmk = { version = "0.1.21", git = "https://github.com/haobogu/rmk", features = [
"{{ nrf_feature }}_ble",
"async_matrix",
] }
cortex-m-rt = "0.7.3"
cortex-m = "0.7.7"
Expand Down
2 changes: 1 addition & 1 deletion Cargo_rp.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ edition = "2021"
license = "MIT OR Apache-2.0"

[dependencies]
rmk = { version = "0.1.15" }
rmk = { version = "0.1.21" }
cortex-m-rt = "0.7.3"
embassy-rp = { version = "0.1", features = [
"defmt",
Expand Down
2 changes: 1 addition & 1 deletion Cargo_stm32.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ edition = "2021"
license = "MIT OR Apache-2.0"

[dependencies]
rmk = { version = "0.1.15" }
rmk = { version = "0.1.21" }
cortex-m-rt = "0.7.3"
cortex-m = { version = "0.7.7", features = ['critical-section-single-core'] }
embassy-stm32 = { version = "0.1.0", features = [
Expand Down
14 changes: 14 additions & 0 deletions keyboard.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,20 @@ output_pins = ["PD5", "PD9", "PD10"]
# row2col = true

[layout]
keymap = [
[
["Kp7", "Kp8", "Kp9"],
["Kp4", "Kp5", "Kp6"],
["Kp1", "Kp2", "Kp3"],
["Kp0", "MO(1)", "Dot"]
],
[
["_", "_", "_"],
["_", "_", "_"],
["_", "_", "_"],
["_", "_", "_"]
],
]

[light]
# All light pins are high-active by default, uncomment if you want it to be low-active
Expand Down

0 comments on commit e54b229

Please sign in to comment.