Pete Johanson
e448f2d32b
kscan: matrix: Remove verbose logging in read.
4 years ago
Pete Johanson
c45dbe3c8f
boards: nice_nano: Fix i2c usage.
...
* change conflicting pins usage for uart.
* use i2c0 properly instead.
4 years ago
Pete Johanson
497049ff68
Detect additional key presses on the same output.
...
* Interrupts won't follow on additional keys
pressed on an already "held" output pin,
so queue additional reads while any keys are held.
4 years ago
Pete Johanson
6cafa9556c
nice!nano fixes for necessary USB CDC ACM UART console.
4 years ago
Pete Johanson
7c5fb7adb5
Use SYS_INIT for BLE and USB init.
4 years ago
Pete Johanson
9bee640ae3
More Planck rev6 fixes.
4 years ago
Pete Johanson
a9b949cd94
Fixes for WIP planck board definition.
4 years ago
Pete Johanson
7ce82fbd12
Add ability to have board overlay combined w/ shield keymap.
4 years ago
Pete Johanson
7bf8621d5b
Whitespace fix.
4 years ago
Pete Johanson
a62a2f8c5c
Cleanup, license headers.
4 years ago
Pete Johanson
cb087b54e5
One more lingering global behavior bit.
4 years ago
Pete Johanson
c52beb78d4
LIngering "global behavior" bit.
4 years ago
Pete Johanson
57e061ac91
Lots of cleanup of old events/behavior mash.
4 years ago
Pete Johanson
b23a73e488
Fix back/forward slash keycodes.
4 years ago
Pete Johanson
96ec16da92
Modifier event, tweaks for linker script.
4 years ago
Pete Johanson
9a991bf019
Initial event manager work, and two first events.
...
* Add initial event manager implementation,
roughly mimicking Nordic's API.
* Add `position_state_changed` and
`keycode_state_changed` events.
* Hook up HID and keymap to new events
instead of using behaviour global event
crazy.
4 years ago
Pete Johanson
5ffd95694f
Kyria left/right overlays, matrix transform fixes
...
* Refactor Kyria into separate left/right "revisions"
of the Kyria shield, and include central
kyria.dtsi file with common definition.
* Fixes for keymaps to work fully with matrix
transforms that override effective rows/columns.
* Add ability for matrix transform to do row/col
offsets, which is needed for split keyboards.
4 years ago
Pete Johanson
f84a41de3e
Only test w/ Kyria and handwire.
4 years ago
Pete Johanson
2eb6fbd5a2
Fix the clueboard keymap.
4 years ago
Pete Johanson
f8010d046f
Add missing semicolon to pro micro nexus.
4 years ago
Pete Johanson
559670b818
Missed removing some preceding 0 padding.
4 years ago
Pete Johanson
2ff217d39e
Refactor ProMicro to a/d connector.
4 years ago
Pete Johanson
c32c25d3c0
Properly allocate input/output arrays statically.
4 years ago
Pete Johanson
cd6bdc336a
Enable ZMK USB by default on nano.
4 years ago
Pete Johanson
a6a364725d
Fix .gitignore, add missing changes.
4 years ago
Pete Johanson
17ef033f00
Tweaks to readme.
4 years ago
Pete Johanson
d35a95c7af
Initial working Clueboard California Macropad w/ proton-c fixes
...
* Basic Clueboard Californai Macropad shield definition.
* New "direct" KSCAN driver that supports non-matrix direct
wiring for switches, needed for macropad that doesn't have
a matrix at all.
* Some renames for existing KSCAN GPIO driver to make the implied
"matrix" part explicit.
4 years ago
Pete Johanson
f2f9d45021
Comment out debug settings again.
5 years ago
Pete Johanson
55cf9db564
Fix consumer keys w/ refactored behaviors.
5 years ago
Pete Johanson
8027be106e
Fix momentary-layer reference.
5 years ago
Pete Johanson
321d510d02
One more minor fix.
5 years ago
Pete Johanson
037db585c1
Remove unneeded custom keymap code.
5 years ago
Pete Johanson
ec663310c1
Clean up after refactor, better HID constants.
5 years ago
Pete Johanson
c6625169e5
Refactor to single <behaviors.dtsi> include.
5 years ago
Pete Johanson
93635077e6
Implement momentary layer + transparent behaviors
...
* Implement "momentary layer" behavior with `&mo`
reference.
* Implement basic "transparent" behavior with `&trans`
reference.
5 years ago
Pete Johanson
223edf05ad
Refactor global bindings, implement mod-tap.
...
* Use extra comptible = "zmk,behavior-global" to add
behaviors to global bindings for event notification.
* Implement mod-tap, as a keymap binding and global one
to skip tap if other keycode pressed while held.
5 years ago
Pete Johanson
7e659851c8
Refactor matrix transform, positions pervasively
...
* Do mapping to positions right in kscan handler, and then
surface positions throughout the API.
5 years ago
Pete Johanson
d65629b9a0
Lots more pieces toward HID working again.
5 years ago
Pete Johanson
c23d752917
Some initial work on behavior bindings for keymaps
5 years ago
Pete Johanson
33795b99ca
Change the kernel bin name, upload built UF2.
5 years ago
Pete Johanson
8ee9a37498
Tweak the defconfigs for nice_nano and handwire.
5 years ago
Pete Johanson
1659562bb7
Rename keymap-transform to matrix-transform.
...
* Clearer name to capture essence of the role of the
transform.
5 years ago
Pete Johanson
6b6ecb3b0c
Tweaks to remove "helper macros"
...
* More direct transform maps were agreed to be clearer.
* Remove helpers, just use simple `RC` macro to map a
logical location to a row/column pair.
5 years ago
Pete Johanson
a65cdea66b
Better naming, layout comments for clarity.
5 years ago
Pete Johanson
a4885db2bf
Use the correct family ID for the AdaFruit bootloader.
5 years ago
Pete Johanson
85e505e06e
Build UF2 image for nice!nano board as well.
5 years ago
Pete Johanson
557996bcd0
Fixes for SPI pins for "P1" pins
...
Co-authored-by: Nick Winans <nick.win999@gmail.com>
5 years ago
Pete Johanson
879ce6fa6b
Enable BLE by default as well.
5 years ago
Pete Johanson
75b01869f0
Add (untested) pins for SPI.
5 years ago
Pete Johanson
a5ade1f947
Add missing `compatible` entry for the toplevel board.
5 years ago