Commit graph

15 commits

Author SHA1 Message Date
Pete Johanson
9a09eb14af Initial composite kscan driver.
* For now, to be used for FrankenKyria, where both
  matrix halves will be attached to the same MCU, but
  should be a stepping stone to proper split support
  once we have a kscan driver over a split transport.
* Implement multiple instances for mock kscan driver.
2020-05-27 00:53:31 -04:00
Pete Johanson
72ad47e027 Initial import of GPIO kscan driver into ZMK. 2020-05-26 20:48:15 -04:00
Pete Johanson
76a433fc39 Clean up and implement MT release w/o mod press. 2020-05-24 23:13:33 -04:00
Pete Johanson
53aadc4f93 Initial exploration of mod tap action. 2020-05-24 19:25:46 -04:00
Pete Johanson
ed5532bf94 Add a mock kscan driver, working native_posix.
* Unified logging to one module.
* Mock kscan driver that simulates events.
* Working native_posix board target for testing.
2020-05-24 18:22:16 -04:00
Pete Johanson
f478438f01 Implement raise/lower for default keymap.
* Properly allow includes for keymaps to allow defining
  custom keycodes, and then adding them to the
  keymap.overlay file.
* Fix keymap.c loading after build refactor.
* Fix for deactivating a layer working properly.
* Fix default keymap to put transparent in proper spots to
  make raise/lower keycodes work as expected.
* Add custom raise/lower keycode handling to default
  keymap.
2020-05-18 13:42:41 -04:00
Pete Johanson
c1905745b3 Refactor build/config/keymaps.
* Move all headers to `include/zmk` directory.
* Update includes to reference them properly.
* Add `keymap.c` file from keymap, if found.
* Toplevel CONFIG_ZMK_BLE aggregate config setting.
2020-05-18 09:11:46 -04:00
Pete Johanson
0494f6a8c2 Rename the keymap. 2020-05-16 18:56:19 -04:00
Pete Johanson
644a05a274 Keymap directory support. 2020-05-16 17:30:30 -04:00
Pete Johanson
f959bd4eff Use a custom key code. 2020-05-10 17:14:06 -04:00
Pete Johanson
70bf1230fa Tweak to use a chosen node for kscan device. 2020-05-06 10:04:19 -04:00
Pete Johanson
a63a773983 Get *basic* USB report sending working. 2020-05-05 16:09:05 -04:00
Pete Johanson
fe961d54a3 Start to get layers + keymaps pulled in from DTS. 2020-05-03 15:49:33 -04:00
Pete Johanson
52bfc9dd84 Lots of clean up, basic kscan working, remove zephyr-rust. 2020-05-01 14:58:00 -04:00
Pete Johanson
5b4e43cebd Random progress on board + kscan ideas. 2020-04-25 22:41:20 -04:00