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.
This commit is contained in:
Pete Johanson
2020-05-18 13:42:41 -04:00
parent c1905745b3
commit f478438f01
8 changed files with 69 additions and 22 deletions

View File

@@ -66,9 +66,7 @@
#define KC_ALT 0x02
#define KC_CTRL 0x03
#define ZC_RAIS 0xF0
#define ZC_LOWR 0xF1
#define ZC_TRNS 0xF2
#define ZC_NOOP 0xF3
#define ZC_TRNS 0xF0
#define ZC_NOOP 0xF1
#define ZC_CSTM(n) (0xFF + n)