aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/planck/keymaps/ishtob/macros_public.h
diff options
context:
space:
mode:
authorishtob <ishtob@gmail.com>2018-08-10 11:30:21 -0400
committerDrashna Jaelre <drashna@live.com>2018-08-10 08:30:21 -0700
commitfd0bd29a0a3f2de93a3e561007805fac67e7e0cd (patch)
treed7c9a379d6b04fb851854102631cdde5c3f9b607 /keyboards/planck/keymaps/ishtob/macros_public.h
parentfeb5e4aaebb78842c090230f68ea9de80a5c17e6 (diff)
downloadfirmware-fd0bd29a0a3f2de93a3e561007805fac67e7e0cd.tar.gz
firmware-fd0bd29a0a3f2de93a3e561007805fac67e7e0cd.tar.bz2
firmware-fd0bd29a0a3f2de93a3e561007805fac67e7e0cd.zip
Keymap: adding my personal userspace to QMK master (#3605)
* Adding my personal planck keymap * Adding readme.md to my keymap * Create my userspace add users/ishtob/ * Moved macros off keymap macros now exsists in my userspace, moved them off keyboard specific keymaps * Create my userspace add users/ishtob/ * rebase from main QMK repo
Diffstat (limited to 'keyboards/planck/keymaps/ishtob/macros_public.h')
-rw-r--r--keyboards/planck/keymaps/ishtob/macros_public.h57
1 files changed, 0 insertions, 57 deletions
diff --git a/keyboards/planck/keymaps/ishtob/macros_public.h b/keyboards/planck/keymaps/ishtob/macros_public.h
deleted file mode 100644
index 27d6f7564..000000000
--- a/keyboards/planck/keymaps/ishtob/macros_public.h
+++ /dev/null
@@ -1,57 +0,0 @@
-enum macro_keycodes {
- KC_CITRIX,
- KC_MPASS,
- KC_META,
- KC_RTQ6H,
- KC_DAYRN,
- KC_3DRN,
- KC_AUTODC,
- KC_EMAIL,
- KC_EMAIL2
-};
-
-const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
-{
- if (!eeconfig_is_enabled()) {
- eeconfig_init();
- }
-
- switch (id) {
- //my login macros
- case KC_CITRIX:
- if (record->event.pressed){
- return MACRO (I(1), T(1), END);
- }
- case KC_MPASS:
- if (record->event.pressed){
- return MACRO (I(1), T(1), END);
- }
- case KC_META:
- if (record->event.pressed){
- return MACRO (I(1), T(1), END);
- }
- //my work macros
- case KC_RTQ6H:
- if (record->event.pressed){
- return MACRO (I(1), T(TAB), T(0), T (3), T(0), T(0), T(TAB), T(DOWN), T(TAB), T(0), T (9), T(0), T(0), T(TAB), T(DOWN), T(TAB), T(1), T (5), T(0), T(0), T(TAB), T(DOWN), T(TAB), T(2), T (1), T(0), T(0), T(TAB), D(LALT), T(O), U(LALT), END);
- }
- case KC_AUTODC:
- if (record->event.pressed){
- return MACRO (I(1), D(LALT), T(V), U(LALT), T(TAB), T(TAB), T(TAB), T(TAB), T(TAB), T(TAB), T(TAB), T(TAB), T(TAB), T(T), T(TAB),T(N), D(LALT), T(S), U(LALT), END);
- }
- case KC_DAYRN:
- if (record->event.pressed){
- return MACRO (I(1), T(TAB), T(TAB), T(TAB), T(TAB), T(TAB), T(1), D(LALT), T(S), U(LALT), END);
- }
- //Ops macros
- case KC_EMAIL:
- if (record->event.pressed){
- return MACRO (I(1), T(1), END); }
- case KC_EMAIL2:
- if (record->event.pressed){
- return MACRO (I(1), T(1), END);
- }
- }
-
- return MACRO_NONE;
-} \ No newline at end of file