Commit graph

65 commits

Author SHA1 Message Date
Pete Johanson
ba156498bd Comment out non-working layer enum generation. 2020-05-18 13:50:30 -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
b3babe2505 Initial passkey entry support. 2020-05-16 23:26:26 -04:00
Pete Johanson
3b10e00d27 Fixes for finding keymap directory. 2020-05-16 20:02:27 -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
dffedab7ff One more todo item. 2020-05-15 21:54:01 -04:00
Pete Johanson
ebd3634372 Add some TODOs to the toplevel readme. 2020-05-15 21:52:25 -04:00
Pete Johanson
b135eb65f5 BLE Security/Pairing fixes for "Just Works" SC. 2020-05-15 11:39:16 -04:00
Pete Johanson
73bea6218e Some initial BEL HoG support. 2020-05-15 09:41:06 -04:00
Pete Johanson
04fe57d3a3 Some refactoring to prep for BLE support. 2020-05-12 14:15:33 -04:00
Pete Johanson
be53560b77 Full NKRO support, fixes for keymap key selection. 2020-05-12 13:22:07 -04:00
Pete Johanson
02bffb009f Pass pointer to event to user handler.
* Allow user functions to modify/update the event if they
  need to.
2020-05-11 14:42:59 -04:00
Pete Johanson
7a4624f578 Small tweak. 2020-05-11 13:58:10 -04:00
Pete Johanson
106d0bb1cd Fix for pwd after before_script 2020-05-11 13:45:26 -04:00
Pete Johanson
9eb503640b Tweaks for workspace directory. 2020-05-11 13:40:58 -04:00
Pete Johanson
182a316666 FIx the symlink. 2020-05-11 13:25:10 -04:00
Pete Johanson
0206796953 Try a symlink trick into a workspace so west modules are in the build dir. 2020-05-11 13:18:15 -04:00
Pete Johanson
bfe2e10421 Try being explicit about cache paths. 2020-05-11 12:53:34 -04:00
Pete Johanson
8f80858d3a Cache common directories. 2020-05-11 12:44:19 -04:00
Pete Johanson
203fcc3b0b Switch to tagged image name. 2020-05-11 11:54:08 -04:00
Pete Johanson
64a0f1b324 Tweak to image tag name. 2020-05-11 11:51:19 -04:00
Pete Johanson
9137bf1ce5 Docker tag/push fix. 2020-05-11 11:46:49 -04:00
Pete Johanson
858abaf0d4 Make sure we don't run build on Docker branches/tags. 2020-05-11 11:46:06 -04:00
Pete Johanson
c5e4eea3fd Tweaks to when we do docker job. 2020-05-11 11:38:04 -04:00
Pete Johanson
b67c479f70 Remove locale tweaks. 2020-05-11 11:24:03 -04:00
Pete Johanson
9d21a0daa4 Docker tweaks. 2020-05-11 11:09:10 -04:00
Pete Johanson
694e73a4cf Try again. 2020-05-11 11:05:04 -04:00
Pete Johanson
f693db30ce Use CI_PROJECT_DIR properly. 2020-05-11 11:02:18 -04:00
Pete Johanson
ba019c52a4 Try using new build image. 2020-05-11 10:57:59 -04:00
Pete Johanson
4855854a3a Typo fix for the variable name. 2020-05-11 10:08:35 -04:00
Pete Johanson
500de0f1b5 Better build orocess for image 2020-05-11 09:44:37 -04:00
Pete Johanson
b57cfa1d92 Fix useradd 2020-05-11 08:13:55 -04:00
Pete Johanson
3a878010bd Restore useradd 2020-05-11 08:00:12 -04:00
Pete Johanson
b3cbff83c5 Only install the ARM toolchain. 2020-05-10 23:45:08 -04:00
Pete Johanson
aefc6220f5 Tweak dep installs. 2020-05-10 23:38:45 -04:00
Pete Johanson
1ada918174 Install wget early. 2020-05-10 23:31:44 -04:00
Pete Johanson
35d2993963 Attempt to build the docker image. 2020-05-10 23:27:40 -04:00
Pete Johanson
fa4424692c Try explicit pip install of required files. 2020-05-10 17:43:09 -04:00
Pete Johanson
f959bd4eff Use a custom key code. 2020-05-10 17:14:06 -04:00
Pete Johanson
60feb8fb09 Expanded handler implementation, more key defines. 2020-05-10 17:13:24 -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
7b4394b3e7 Basic keymap mapping. 2020-05-01 23:37:37 -04:00
Pete Johanson
523e7f702f Message queue and work item for process scan events.
* Prep for using ISR for kscan GPIO, by moving event
  process into a work item.
2020-05-01 23:10:11 -04:00
Pete Johanson
4e672eafd4 Refactor for better organization 2020-05-01 19:14:18 -04:00
Pete Johanson
495cd00658 README file. 2020-05-01 16:49:04 -04:00
Pete Johanson
8b4024fa3c Remove some lingering cargo files. 2020-05-01 16:45:32 -04:00