summaryrefslogtreecommitdiffstats
path: root/users/xtonhasvim/xtonhasvim.h
diff options
context:
space:
mode:
authorxton <cmdpix@mac.com>2018-08-29 01:54:17 +0200
committerDrashna Jaelre <drashna@live.com>2018-08-29 01:54:17 +0200
commit3892829d74119b1fe771b4b51c665448a433da1e (patch)
tree7c871491e2ffd3dd0fc3adcf1fa83b2cce859cd4 /users/xtonhasvim/xtonhasvim.h
parent3c209830558c5911ed7446c026ba4d38fdbfe83e (diff)
downloadqmk_firmware-3892829d74119b1fe771b4b51c665448a433da1e.tar.gz
qmk_firmware-3892829d74119b1fe771b4b51c665448a433da1e.tar.xz
Keymap: xtonhasvim updates (#3768)
* cherrypicking file changes just for updates * removed unused heat foo * avoid defining own min/max * add license * formatting
Diffstat (limited to 'users/xtonhasvim/xtonhasvim.h')
-rw-r--r--users/xtonhasvim/xtonhasvim.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/users/xtonhasvim/xtonhasvim.h b/users/xtonhasvim/xtonhasvim.h
index 21b794c03..5ff4932a4 100644
--- a/users/xtonhasvim/xtonhasvim.h
+++ b/users/xtonhasvim/xtonhasvim.h
@@ -26,6 +26,7 @@ bool process_record_xtonhasvim(uint16_t keycode, keyrecord_t *record);
enum xtonhasvim_keycodes {
DUMMY = SAFE_RANGE,
+ FIREY_RETURN, // kick off special effects
VIM_START, // bookend for vim states
VIM_A,
VIM_B,
@@ -57,10 +58,10 @@ enum xtonhasvim_keycodes {
VIM_SAFE_RANGE // start other keycodes here.
};
-enum xtonhasvim_layers {
- _EDIT = 12,
- _CMD
-};
+// NOTE: YOU MUST DEFINE THIS
+extern uint8_t vim_cmd_layer(void);
+
+extern uint16_t vstate;
#endif