summaryrefslogtreecommitdiff
path: root/users/kuchosauronad0/encoder.h
diff options
context:
space:
mode:
authorkuchosauronad0 <22005492+kuchosauronad0@users.noreply.github.com>2019-08-24 09:01:12 -0700
committerDrashna Jaelre <drashna@live.com>2019-08-24 09:01:12 -0700
commit2ef6bbbf5ffba0142613bc394c41ba580a7e2c7e (patch)
tree84a21a557f13e08ef6cc660a05f2fb2edc011ddf /users/kuchosauronad0/encoder.h
parent51bcadf38cfccc08b287554ab17e21624abf55b8 (diff)
[Keymap] Update to userspace kuchosauroand0 (#6596)
* added combos * minor adjustments, added combos * Add second encoder, add modifiers to encoders Added a skeleton for the possibily having a second encoder. Added 9 modifiers for the first rotary encoder: - None General navigation. Page up/down - SHIFT Fast navigation. Home/end - CTRL Vertical navigation. Up/down - CTRL+SHIFT Horizontal navigation. Left/right - ALT Audio volume control. - GUI Browser navigation(windows). Forward/backward - ALT+SHIFT Form navigation. Tab up/down - ALT+CTRL Media control. (Play|pause)/mute - HYPER Media navigation. Next/prev track Key codes are stored in `uint16_t encoder_actions[2][9]` * Add second encoder, add modifiers to encoders Added a skeleton for the possibily having a second encoder. Added 9 modifiers for the first rotary encoder: - None General navigation. Page up/down - SHIFT Fast navigation. Home/end - CTRL Vertical navigation. Up/down - CTRL+SHIFT Horizontal navigation. Left/right - ALT Audio volume control. - GUI Browser navigation(windows). Forward/backward - ALT+SHIFT Form navigation. Tab up/down - ALT+CTRL Media control. (Play|pause)/mute - HYPER Media navigation. Next/prev track Key codes are stored in `uint16_t encoder_actions[2][9]` * Clean up; added combos Combos: - CV: Copy - XC: Cut - ZV: Paste - QP: KC_SLEEP * Fix LEADER_DICTIONARY to be more useful * Add documentation * Minor fixes * Raise TAPPING_TERM * testing * Rearrange modifiers * Fix kc being stored in uint8 instead of uint16 * Update documentation * Clean up * Remove excess comments * Put encoder_actions in progmem
Diffstat (limited to 'users/kuchosauronad0/encoder.h')
-rw-r--r--users/kuchosauronad0/encoder.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/users/kuchosauronad0/encoder.h b/users/kuchosauronad0/encoder.h
index 078989d52d..2610c9677a 100644
--- a/users/kuchosauronad0/encoder.h
+++ b/users/kuchosauronad0/encoder.h
@@ -1,3 +1,4 @@
#pragma once
#include "quantum.h"
+const uint16_t PROGMEM encoder_actions[][9];
void encoder_update_user(uint8_t index, bool clockwise);