aboutsummaryrefslogtreecommitdiffstats
path: root/users/art/art.h
diff options
context:
space:
mode:
authorGravatar artjomsR <artjomsR@users.noreply.github.com>2020-05-19 22:05:32 +0100
committerGravatar GitHub <noreply@github.com>2020-05-19 22:05:32 +0100
commit209942366b7da264d349c37ac6f4f69a3484b526 (patch)
tree03be56be116ef5fde2a82c1da70efb09dccf5cb7 /users/art/art.h
parent494b34b63f84617ddc56ff6dc0395505a33eb24e (diff)
downloadqmk_firmware-209942366b7da264d349c37ac6f4f69a3484b526.tar.gz
Art userspace (#9068)
* added git codes * started git layer * finished structure for git layer. MOD: replaced mouse with mod keys on right hand * layout changing layer * mod enter. default qwerty layer. removed mods on number layer * workman layout. git log, show. blank enter and bsspace * config layer. toggleable ctrl/alt for OS * removed keymap comments * strings and combos layers. sarcasm and ctrl_ctv. RGB configs * reintroduced enter and bspace. delete backspace as a function. git push -u and checkout -b * string macros * OS specific home/end * OS mac & win keys. N delete global backspace * refactored backspace functions * ctrl lctv macro * base layer toggle fix * whitespace * BS + L for FF and chrome * replaced 1 keycode with userspace * added userspace config * remove comments * add another keycode with a variable * moved all keymaps and codes to common file * ctrl z mod * removed ctrl z * sipmlified OS functions * moved is_win to keyboard level * added mac alt tab * added ctrl tab in mac + clean up variables in art.h * tild string macro. added mac left/right + home/end * mac ctrl backspace * enum layers for default layout * added ergodone keymap * ergodone compiles * clean up * clean up * removed obsolete OS_HOME/END * removed var * added ctrl nav to split75 * ergodone clean up + caps lock fix 75 * fix mac ctrl alt on right handside. added mac alt tab left right * fix ergodone config override * fixed alt left right not working on mac * added OS ctr_alt * mac ctrl del. fix tild * simplified tild macro * git stash apply * send_string_remembering_lenght * shifted strings print * restored KC_BSPACE functionality * moved KC_BSPC * numpad layer on Fn * media lights * ergodone final clean up * ergodone GIT AND MEDIA layers * ergodone GIT LAYER switch * default behaviour for all modified keys on BASE layer * refactored logic for default keycodes * ergodone final layers * ctrl_cav for translation and ctrl_l fix * toggleable layer with numpad * comments * numpad layer * Update users/art/config.h Co-authored-by: Joel Challis <git@zvecr.com> * enable dynamic macros for split75 * git branch and develop/master * removed esc from Nav * ergodone: ctrl alt for shift layer * macros and right alt for ergodone * fix ergodone N_backspace not working on git layers * mac language switch with alt+shift * Update users/art/art.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update users/art/art.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update users/art/art.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update keyboards/ergodone/keymaps/art/keymap.c Co-authored-by: Ryan <fauxpark@gmail.com> * Update users/art/art.h Co-authored-by: Ryan <fauxpark@gmail.com> * flashing leds to indicate current os * using rshift on shifted layers Co-authored-by: Joel Challis <git@zvecr.com> Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'users/art/art.h')
-rw-r--r--users/art/art.h69
1 files changed, 69 insertions, 0 deletions
diff --git a/users/art/art.h b/users/art/art.h
new file mode 100644
index 000000000..58b005b93
--- /dev/null
+++ b/users/art/art.h
@@ -0,0 +1,69 @@
+#pragma once
+#include QMK_KEYBOARD_H
+
+#define CTL_ALT(kc) (CTL_ALT_START + ((kc) & 0xff))
+
+extern bool is_win;
+
+enum layer_names {
+ QWERTY,
+ WORKMAN,
+ BASE, //only specific for split75
+#if defined(KEYBOARD_wheatfield_split75)
+ QWERTY_MOD,
+ LAYOUT_CHG,
+#elif defined(KEYBOARD_ergodone)
+ FKEYS,
+ CTRL_NAV,
+ SHIFT_NAV,
+#endif
+
+ MEDIA,
+ COMBOS,
+ STRINGS,
+ CONFIG,
+ NAV,
+ NUMPAD,
+ GIT,
+ GIT_C,
+ GIT_S
+};
+
+enum custom_keycodes_art {
+ CTRL_CTV = SAFE_RANGE,
+ CTRL_LCTV,
+ CTRL_CAV,
+ SARCASM,
+
+ TOG_OS,
+ CTR_ALT,
+ OS_CTRL,
+ OS_WIN,
+
+ TILD_BLOCK,
+ ADMINS,
+ PRESCRIPTION,
+ FOURS,
+
+ G_ADD,
+ G_BRCH,
+ G_C,
+ G_CHEC,
+ G_COMM,
+ G_DEV,
+ G_DIFF,
+ G_FTCH,
+ G_LOG,
+ G_MERG,
+ G_P,
+ G_RST,
+ G_S,
+ G_STAT,
+ G_STSH,
+ G_SHOW,
+
+ CTL_ALT_START,
+ CTL_ALT_END = CTL_ALT_START + 0xff,
+
+ NEW_SAFE_RANGE //for keymap specific codes
+};