summaryrefslogtreecommitdiffstats
path: root/users/dhertz/dhertz.h
diff options
context:
space:
mode:
authorDan Hertz <daniel@dhertz.com>2018-06-02 16:50:01 +0100
committerDrashna Jaelre <drashna@live.com>2018-06-02 08:50:01 -0700
commitd8478351d74d378dd7abd90f7ac0770ad3827d27 (patch)
tree9209d056bad3286735cd5134637d87541ccba2f5 /users/dhertz/dhertz.h
parent2196dc9f868334beabd8c3585127a74bf42ce6b7 (diff)
Dhertz' keymaps (#3094)
* Port my keymap to QMK * Add Percent Canoe keyboard * Fix row of nonus backslash * Update info.json to be correct for canoe * fix alignment * Use qmk shortcuts rather than tmk functions * Move over first macro * Move rest of macros over * clean up unused functions * Move files to userspace for HHKB * Add keymaps for hhkb * Change LAYOUT_ISO to LAYOUT_iso * Remove bootloader key in info.json * Remove tilde remap from Karabiner * Add country_iso_alpha2_code to macros * Add my keymap for canoe * Add layer colour indicator * Fix bad rebase * Fix naming of keymap from rebase * Add GRV to function layer * Fix keymap to use new LAYOUT_JP * Update keymaps to use process_record_* rather than action functions * Update hhkb imports to be just what is needed * Update whitefox to use LAYOUT macro instead of KEYMAP * Remove redundant imports from user definition * Move TAPPING_TERM to config.h * Use layer change events to change RGB LED colour * temp * Fix layer switching to iPad on HHKB * Fix Canoe pictures
Diffstat (limited to 'users/dhertz/dhertz.h')
-rw-r--r--users/dhertz/dhertz.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/users/dhertz/dhertz.h b/users/dhertz/dhertz.h
new file mode 100644
index 0000000000..aef613f55d
--- /dev/null
+++ b/users/dhertz/dhertz.h
@@ -0,0 +1,23 @@
+#ifndef USERSPACE
+#define USERSPACE
+
+#include "quantum.h"
+
+#define SRCH_CTL CTL_T(KC_F19)
+#define LYR_SPC LT(1, KC_SPC)
+#define NC_CTL CTL_T(KC_F18)
+
+enum custom_keycodes {
+ HSH_TLD = SAFE_RANGE,
+ CTRL_A,
+ CMD_ALT_C,
+ CMD_SFT_L,
+ ISO_COUNTRY_CODE,
+ CMD_TAB_CMD,
+ CMD_GRV_CMD,
+ NEW_SAFE_RANGE,
+};
+
+void mod_or_mod_with_macro(keyrecord_t *record, uint16_t kc_mod, char* cmd_or_macro);
+
+#endif