Commit graph

563 commits

Author SHA1 Message Date
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.
2020-06-21 21:43:44 -04:00
Pete Johanson
7e659851c8 Refactor matrix transform, positions pervasively
* Do mapping to positions right in kscan handler, and then
  surface positions throughout the API.
2020-06-20 17:54:52 -04:00
Pete Johanson
d65629b9a0 Lots more pieces toward HID working again. 2020-06-20 00:11:39 -04:00
Pete Johanson
c23d752917 Some initial work on behavior bindings for keymaps 2020-06-19 15:32:33 -04:00
Pete Johanson
865f41a46d Minor cleanup of the toplevel README. 2020-06-17 10:41:49 -04:00
Pete Johanson
c96e705e2e A few more master to main fixes. 2020-06-17 10:38:15 -04:00
Pete Johanson
da5d5f988f Fix links to docs from the FAQ. 2020-06-17 10:37:36 -04:00
Pete Johanson
6e111f4676
Merge pull request #29 from petejohanson/build/zmk-config-initial-work
Initial refactor to have a shield/board have one default keymap.
2020-06-17 09:40:28 -04:00
Pete Johanson
c9b22e55fd
Merge pull request #14 from zmkfirmware/boards/nice-nano-prep
Initial basic work on nice!nano board support.
2020-06-16 23:10:53 -04:00
Pete Johanson
a087a466e9 Tweak the artifact name to include board. 2020-06-16 23:03:15 -04:00
Pete Johanson
d1daf0de06 Fix the string literal. 2020-06-16 22:59:20 -04:00
Pete Johanson
33795b99ca Change the kernel bin name, upload built UF2. 2020-06-16 22:58:26 -04:00
Pete Johanson
05591ff37b Build matrix with nice_nano and proton_c boards. 2020-06-16 22:40:47 -04:00
Pete Johanson
8ee9a37498 Tweak the defconfigs for nice_nano and handwire. 2020-06-16 22:35:29 -04:00
Pete Johanson
d0a6df9d9c
Merge pull request #31 from petejohanson/keymaps/keymap-transform-non-standard-matrix-mapping
Initial work on matrix transforms for non-standard matrixes.
2020-06-16 21:52:12 -04:00
Pete Johanson
1659562bb7 Rename keymap-transform to matrix-transform.
* Clearer name to capture essence of the role of the
  transform.
2020-06-16 21:35:44 -04:00
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.
2020-06-16 21:32:11 -04:00
Pete Johanson
a65cdea66b Better naming, layout comments for clarity. 2020-06-16 16:21:39 -04:00
Pete Johanson
a4885db2bf Use the correct family ID for the AdaFruit bootloader. 2020-06-16 11:40:51 -04:00
Pete Johanson
766eedebe5 Move the gcc-multilib install to POSIX board doc. 2020-06-15 23:16:02 -04:00
Pete Johanson
c2e0c4fd6c Fix some whitespace inconsistency. 2020-06-15 23:13:44 -04:00
Pete Johanson
85e505e06e Build UF2 image for nice!nano board as well. 2020-06-15 23:00:35 -04:00
Pete Johanson
557996bcd0 Fixes for SPI pins for "P1" pins
Co-authored-by: Nick Winans <nick.win999@gmail.com>
2020-06-15 22:38:30 -04:00
Pete Johanson
879ce6fa6b Enable BLE by default as well. 2020-06-15 22:38:30 -04:00
Pete Johanson
75b01869f0 Add (untested) pins for SPI. 2020-06-15 22:38:30 -04:00
Pete Johanson
a5ade1f947 Add missing compatible entry for the toplevel board. 2020-06-15 22:38:30 -04:00
Pete Johanson
4294b4873e Initial basic work on nice!nano board support. 2020-06-15 22:38:30 -04:00
Pete Johanson
1751470785 Initial work on keymap transforms for non-standard matrixes.
* Allows "gaps" for keyboards like Kyra.
* Allows keyboards with matrixes that don't map the logical key
  locations to have normal looking keymaps when defined.
2020-06-15 17:03:34 -04:00
Pete Johanson
0712dadd29 Tweaks for Proton-C board. 2020-06-15 16:58:18 -04:00
Pete Johanson
c58225e1b5
Merge pull request #28 from petejohanson/build/zephyr-upgrade-2.3.0
Upgrade to Zephyr 2.3.0 (plus small build fix.)
2020-06-15 10:29:09 -04:00
Pete Johanson
8e4c883f65 Configure .overlay files to use dts file assocation. 2020-06-15 06:26:38 -04:00
Pete Johanson
583839afce Initial refactor to have a shield/board have one default keymap.
* Start of work of focusing on out-of-tree user keymaps.

Add ZMK_CONFIG support.

* General external configuration supported via ZMK_CONFIG,
  which should point to a configuration directory.
* Priority order of overlay files to select.
  * ${SHIELD}_${BOARD}.overlay
  * ${SHIELD}.overlay
  * ${BOARD}.overlay
  * default.overlay
* Equivalent search order for .conf files for initial Kconfig
  values.
2020-06-14 23:58:43 -04:00
Pete Johanson
500232bb83 Minor build fixes for VSCode, extra ignore. 2020-06-14 23:56:10 -04:00
Pete Johanson
789af69e52
Merge pull request #19 from petejohanson/docs/python-requirements-base-tweak
Only install `requirements-base.txt`
2020-06-14 23:22:03 -04:00
Pete Johanson
ed045bee6a Upgrade to Zephyr 2.3.0 (plus small build fix.)
* Closes #27
2020-06-14 23:15:23 -04:00
Pete Johanson
c0b71fd788 Ignore files pulled into the workspace by West. 2020-06-14 10:30:18 -04:00
Pete Johanson
bb227b5995
Merge pull request #25 from innovaker/docs/disable-sidebar-collapse
docs: Add "sidebarCollapsible: false"
2020-06-14 09:38:40 -04:00
innovaker
82d0bd860d docs: Add "sidebarCollapsible: false" 2020-06-14 14:23:48 +01:00
Pete Johanson
672f12aecc
Merge pull request #22 from innovaker/docs/faq
docs: FAQs (initial version)
2020-06-13 15:20:28 -04:00
innovaker
a109de24b2 docs: faq: Replace all instances of "board" and "shield" with links [#22 CR, #11] 2020-06-13 20:02:24 +01:00
innovaker
726b40cfa2 docs: faq: Add preface links to "Why boards and shields?" [#22 CR, #11] 2020-06-13 20:02:24 +01:00
innovaker
c14beb7ee7 docs: Switch positions of 'hardware' and 'faq' on sidebars [#22 CR, #11] 2020-06-13 19:54:55 +01:00
innovaker
30985517b8 docs: add faq to sidebars [#11] 2020-06-13 18:47:20 +01:00
innovaker
70edcd4a3a docs: initial version of faq.md [#11] 2020-06-13 18:44:35 +01:00
Pete Johanson
2390ecda55
Merge pull request #17 from petejohanson/build/zephyr-west-docker-container
Update to using prebuild docker container, for faster GH workflows.
2020-06-12 18:02:53 -04:00
Pete Johanson
c4082bd31e Try to fix some quoting. 2020-06-12 17:00:14 -04:00
Pete Johanson
5defe0a771 One missing action reference. 2020-06-12 16:57:14 -04:00
Pete Johanson
2ce8961aba Switch to ARM only, use everywhere. 2020-06-12 16:54:23 -04:00
Pete Johanson
44ebcb8fa4 Try fixing args passed to container. 2020-06-12 16:48:06 -04:00
Pete Johanson
30f23fe5da Switch to Docker Hub version. 2020-06-12 16:21:10 -04:00