summaryrefslogtreecommitdiffstats
path: root/users/greatwizard
diff options
context:
space:
mode:
authorGuillaume Gérard <1322081+GreatWizard@users.noreply.github.com>2020-10-28 18:20:06 +0100
committerGitHub <noreply@github.com>2020-10-28 10:20:06 -0700
commitc745cbb77a66a44549ee1ab3b1998c495c1a1ca5 (patch)
treea947f2215dcda13fac95b2620b70bc095b8d2d14 /users/greatwizard
parent6b1ae7e6aa7180b00759b5692d2ea5bd0303c566 (diff)
[Keymap] greatwizard userspace and ortho 4x12 and 5x12 keymaps (#9584)
Diffstat (limited to 'users/greatwizard')
-rw-r--r--users/greatwizard/config.h31
-rw-r--r--users/greatwizard/fn.h21
-rw-r--r--users/greatwizard/game.c27
-rw-r--r--users/greatwizard/game.h21
-rw-r--r--users/greatwizard/git.c127
-rw-r--r--users/greatwizard/git.h39
-rw-r--r--users/greatwizard/greatwizard.c112
-rw-r--r--users/greatwizard/greatwizard.h135
-rw-r--r--users/greatwizard/keymap_helpers.h61
-rw-r--r--users/greatwizard/ortho.c21
-rw-r--r--users/greatwizard/ortho.h24
-rw-r--r--users/greatwizard/programmer.c174
-rw-r--r--users/greatwizard/programmer.h31
-rw-r--r--users/greatwizard/readme.md32
-rw-r--r--users/greatwizard/rules.mk31
-rw-r--r--users/greatwizard/tap_dances.c105
-rw-r--r--users/greatwizard/tap_dances.h65
-rw-r--r--users/greatwizard/underglow.c109
-rw-r--r--users/greatwizard/underglow.h24
19 files changed, 1190 insertions, 0 deletions
diff --git a/users/greatwizard/config.h b/users/greatwizard/config.h
new file mode 100644
index 0000000000..2ee9e50900
--- /dev/null
+++ b/users/greatwizard/config.h
@@ -0,0 +1,31 @@
+/* Copyright 2020 Guillaume Gérard
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#pragma once
+
+#define TAP_CODE_DELAY 5
+
+#define RGBLIGHT_ANIMATIONS
+
+#ifdef TAP_DANCE_ENABLE
+# define TAPPING_TERM 175
+# define PERMISSIVE_HOLD
+#endif
+
+#ifdef AUTO_SHIFT_ENABLE
+# define AUTO_SHIFT_TIMEOUT 135
+# define NO_AUTO_SHIFT_SPECIAL
+# define NO_AUTO_SHIFT_NUMERIC
+#endif
diff --git a/users/greatwizard/fn.h b/users/greatwizard/fn.h
new file mode 100644
index 0000000000..f842bf04b7
--- /dev/null
+++ b/users/greatwizard/fn.h
@@ -0,0 +1,21 @@
+/* Copyright 2020 Guillaume Gérard
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#pragma once
+
+#include QMK_KEYBOARD_H
+#include "greatwizard.h"
+
+#define FN MO(_FN)
diff --git a/users/greatwizard/game.c b/users/greatwizard/game.c
new file mode 100644
index 0000000000..eecabfa403
--- /dev/null
+++ b/users/greatwizard/game.c
@@ -0,0 +1,27 @@
+/* Copyright 2020 Guillaume Gérard
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#include "game.h"
+
+bool process_record_game(uint16_t keycode, keyrecord_t *record) {
+ switch (keycode) {
+ case GAME:
+ if (record->event.pressed) {
+ set_single_persistent_default_layer(_GAME);
+ }
+ return false;
+ }
+ return true;
+}
diff --git a/users/greatwizard/game.h b/users/greatwizard/game.h
new file mode 100644
index 0000000000..504129b400
--- /dev/null
+++ b/users/greatwizard/game.h
@@ -0,0 +1,21 @@
+/* Copyright 2020 Guillaume Gérard
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#pragma once
+
+#include QMK_KEYBOARD_H
+#include "greatwizard.h"
+
+bool process_record_game(uint16_t keycode, keyrecord_t *record);
diff --git a/users/greatwizard/git.c b/users/greatwizard/git.c
new file mode 100644
index 0000000000..4bf68fe690
--- /dev/null
+++ b/users/greatwizard/git.c
@@ -0,0 +1,127 @@
+/* Copyright 2020 Guillaume Gérard
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#include "git.h"
+
+bool process_record_git(uint16_t keycode, keyrecord_t *record) {
+ switch (keycode) {
+ case GIT_ADD:
+ if (record->event.pressed) {
+ SEND_STRING("git add ");
+ }
+ return false;
+ case GIT_BRANCH:
+ if (record->event.pressed) {
+ SEND_STRING("git branch ");
+ }
+ return false;
+ case GIT_CHECKOUT:
+ if (record->event.pressed) {
+ SEND_STRING("git checkout ");
+ }
+ return false;
+ case GIT_CHERRYPICK:
+ if (record->event.pressed) {
+ SEND_STRING("git cherry-pick ");
+ }
+ return false;
+ case GIT_COMMIT:
+ if (record->event.pressed) {
+ SEND_STRING("git commit -m \"\""SS_TAP(X_LEFT));
+ }
+ return false;
+ case GIT_DIFF:
+ if (record->event.pressed) {
+ SEND_STRING("git diff ");
+ }
+ return false;
+ case GIT_FETCH:
+ if (record->event.pressed) {
+ SEND_STRING("git fetch ");
+ }
+ return false;
+ case GIT_GREP:
+ if (record->event.pressed) {
+ SEND_STRING("git grep ");
+ }
+ return false;
+ case GIT_LOG:
+ if (record->event.pressed) {
+ SEND_STRING("git log --decorate --oneline --graph ");
+ }
+ return false;
+ case GIT_INIT:
+ if (record->event.pressed) {
+ SEND_STRING("git init ");
+ }
+ return false;
+ case GIT_MV:
+ if (record->event.pressed) {
+ SEND_STRING("git mv ");
+ }
+ return false;
+ case GIT_MERGE:
+ if (record->event.pressed) {
+ SEND_STRING("git merge ");
+ }
+ return false;
+ case GIT_PUSH:
+ if (record->event.pressed) {
+ SEND_STRING("git push ");
+ }
+ return false;
+ case GIT_PULL:
+ if (record->event.pressed) {
+ SEND_STRING("git pull ");
+ }
+ return false;
+ case GIT_REBASE:
+ if (record->event.pressed) {
+ SEND_STRING("git rebase ");
+ }
+ return false;
+ case GIT_REMOTE:
+ if (record->event.pressed) {
+ SEND_STRING("git remote ");
+ }
+ return false;
+ case GIT_RESET:
+ if (record->event.pressed) {
+ SEND_STRING("git reset ");
+ }
+ return false;
+ case GIT_SHOW:
+ if (record->event.pressed) {
+ SEND_STRING("git show ");
+ }
+ return false;
+ case GIT_STASH:
+ if (record->event.pressed) {
+ SEND_STRING("git stash ");
+ }
+ return false;
+ case GIT_STATUS:
+ if (record->event.pressed) {
+ SEND_STRING("git status ");
+ }
+ return false;
+ case GIT_TAG:
+ if (record->event.pressed) {
+ SEND_STRING("git tag ");
+ }
+ return false;
+ }
+ return true;
+}
diff --git a/users/greatwizard/git.h b/users/greatwizard/git.h
new file mode 100644
index 0000000000..c3b4a617d0
--- /dev/null
+++ b/users/greatwizard/git.h
@@ -0,0 +1,39 @@
+/* Copyright 2020 Guillaume Gérard
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#pragma once
+
+#include QMK_KEYBOARD_H
+#include "greatwizard.h"
+
+bool process_record_git(uint16_t keycode, keyrecord_t *record);
+
+#define GIT_BRC GIT_BRANCH
+#define GIT_CKT GIT_CHECKOUT
+#define GIT_CPK GIT_CHERRYPICK
+#define GIT_CMT GIT_COMMIT
+#define GIT_DIF GIT_DIFF
+#define GIT_FTC GIT_FETCH
+#define GIT_GRP GIT_GREP
+#define GIT_INI GIT_INIT
+#define GIT_MRG GIT_MERGE
+#define GIT_PUS GIT_PUSH
+#define GIT_PUL GIT_PULL
+#define GIT_RBS GIT_REBASE
+#define GIT_RMT GIT_REMOTE
+#define GIT_RST GIT_RESET
+#define GIT_SHW GIT_SHOW
+#define GIT_STS GIT_STASH
+#define GIT_STT GIT_STATUS
diff --git a/users/greatwizard/greatwizard.c b/users/greatwizard/greatwizard.c
new file mode 100644
index 0000000000..46ee414361
--- /dev/null
+++ b/users/greatwizard/greatwizard.c
@@ -0,0 +1,112 @@
+/* Copyright 2020 Guillaume Gérard
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#include "greatwizard.h"
+
+void eeconfig_init_user(void) {
+ user_config_t user_config;
+ user_config.raw = 0;
+#ifdef RGBLIGHT_ENABLE
+ user_config.rgb_layer_change = true;
+#endif
+ eeconfig_update_user(user_config.raw);
+ keyboard_init();
+}
+
+void keyboard_post_init_user(void) {
+#ifdef RGBLIGHT_ENABLE
+ keyboard_post_init_rgb();
+#endif
+}
+
+bool process_record_user(uint16_t keycode, keyrecord_t *record) {
+#ifdef RGBLIGHT_ENABLE
+ process_record_rgb(keycode, record);
+#endif
+#ifdef LAYER_GAME
+ process_record_game(keycode, record);
+#endif
+#ifdef LAYER_GIT
+ process_record_git(keycode, record);
+#endif
+#ifdef LAYERS_PROGRAMMER
+ process_record_pg(keycode, record);
+#endif
+ switch (keycode) {
+ case QWERTY:
+ if (record->event.pressed) {
+ set_single_persistent_default_layer(_QWERTY);
+ }
+ return false;
+ case WORKMAN:
+ if (record->event.pressed) {
+ set_single_persistent_default_layer(_WORKMAN);
+ }
+ return false;
+ case COLEMAK:
+ if (record->event.pressed) {
+ set_single_persistent_default_layer(_COLEMAK);
+ }
+ return false;
+ case DVORAK:
+ if (record->event.pressed) {
+ set_single_persistent_default_layer(_DVORAK);
+ }
+ return false;
+ }
+ return true;
+}
+
+#ifdef ENCODER_ENABLE
+void encoder_update_user(uint8_t index, bool clockwise) {
+ switch (get_highest_layer(layer_state)) {
+ case _QWERTY:
+#ifdef LAYERS_PROGRAMMER
+ case _PROGRAMMER_SHIFTED:
+#endif
+ if (clockwise) {
+ tap_code(KC_AUDIO_VOL_UP);
+ } else {
+ tap_code(KC_AUDIO_VOL_DOWN);
+ }
+ break;
+ default:
+ if (clockwise) {
+ tap_code(KC_MEDIA_NEXT_TRACK);
+ } else {
+ tap_code(KC_MEDIA_PREV_TRACK);
+ }
+ break;
+ }
+}
+#endif
+
+layer_state_t layer_state_set_user(layer_state_t state) {
+ state = update_tri_layer_state(state, _RAISE, _LOWER, _ADJUST);
+#ifdef RGBLIGHT_ENABLE
+ state = layer_state_set_rgb(state);
+#endif
+#ifdef LAYERS_ORTHO
+ state = layer_state_set_ortho(state);
+#endif
+ return state;
+}
+
+bool led_update_user(led_t led_state) {
+#ifdef RGBLIGHT_ENABLE
+ led_update_rgb(led_state);
+#endif
+ return true;
+}
diff --git a/users/greatwizard/greatwizard.h b/users/greatwizard/greatwizard.h
new file mode 100644
index 0000000000..d2e15854a3
--- /dev/null
+++ b/users/greatwizard/greatwizard.h
@@ -0,0 +1,135 @@
+/* Copyright 2020 Guillaume Gérard
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#pragma once
+
+#include QMK_KEYBOARD_H
+#include "keymap_helpers.h"
+#ifdef TAP_DANCE_ENABLE
+# include "tap_dances.h"
+#endif
+#ifdef RGBLIGHT_ENABLE
+# include "underglow.h"
+#endif
+#ifdef LAYER_FN
+# include "fn.h"
+#endif
+#ifdef LAYER_GAME
+# include "game.h"
+#endif
+#ifdef LAYER_GIT
+# include "git.h"
+#endif
+#ifdef LAYERS_ORTHO
+# include "ortho.h"
+#endif
+#ifdef LAYERS_PROGRAMMER
+# include "programmer.h"
+#endif
+
+typedef union {
+ uint32_t raw;
+ struct {
+#ifdef RGBLIGHT_ENABLE
+ bool rgb_layer_change : 1;
+#endif
+ };
+} user_config_t;
+
+enum layers {
+ _QWERTY,
+ _WORKMAN,
+ _COLEMAK,
+ _DVORAK,
+#ifdef LAYER_GAME
+ _GAME,
+#endif
+#ifdef LAYERS_PROGRAMMER
+ _QWERTY_PROGRAMMER,
+ _WORKMAN_PROGRAMMER,
+ _COLEMAK_PROGRAMMER,
+ _DVORAK_PROGRAMMER,
+ _PROGRAMMER_SHIFTED,
+#endif
+#ifdef LAYERS_ORTHO
+ _LOWER,
+ _RAISE,
+ _ADJUST,
+#endif
+#ifdef LAYER_FN
+ _FN,
+#endif
+#ifdef LAYER_GIT
+ _GIT,
+#endif
+};
+
+enum keycodes {
+ // Persistent layers switcher keys
+ QWERTY = SAFE_RANGE,
+ WORKMAN,
+ COLEMAK,
+ DVORAK,
+#ifdef LAYER_GAME
+ GAME,
+#endif
+#ifdef LAYERS_PROGRAMMER
+ // Workman Programmer
+ QWERTY_PROGRAMMER,
+ WORKMAN_PROGRAMMER,
+ COLEMAK_PROGRAMMER,
+ DVORAK_PROGRAMMER,
+ PROGRAMMER_SHIFTED,
+ PG_GRV,
+ PG_1,
+ PG_2,
+ PG_3,
+ PG_4,
+ PG_5,
+ PG_6,
+ PG_7,
+ PG_8,
+ PG_9,
+ PG_0,
+#endif
+ // RGB Underglow lights based on the layer key
+ RGB_LAYER,
+#ifdef LAYER_GIT
+ // GIT commands
+ GIT_ADD,
+ GIT_BRANCH,
+ GIT_CHECKOUT,
+ GIT_CHERRYPICK,
+ GIT_COMMIT,
+ GIT_DIFF,
+ GIT_FETCH,
+ GIT_GREP,
+ GIT_LOG,
+ GIT_INIT,
+ GIT_MV,
+ GIT_MERGE,
+ GIT_PUSH,
+ GIT_PULL,
+ GIT_REBASE,
+ GIT_REMOTE,
+ GIT_RESET,
+ GIT_SHOW,
+ GIT_STASH,
+ GIT_STATUS,
+ GIT_TAG
+#endif
+};
+
+#define RGB_LYR RGB_LAYER
diff --git a/users/greatwizard/keymap_helpers.h b/users/greatwizard/keymap_helpers.h
new file mode 100644
index 0000000000..af9f4dfaad
--- /dev/null
+++ b/users/greatwizard/keymap_helpers.h
@@ -0,0 +1,61 @@
+/* Copyright 2020 Guillaume Gérard
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#pragma once
+
+#include QMK_KEYBOARD_H
+
+#define _______________QWERTY_LEFT1________________ KC_Q, KC_W, KC_E, KC_R, KC_T
+#define _______________QWERTY_LEFT2________________ KC_A, KC_S, KC_D, KC_F, KC_G
+#define _______________QWERTY_LEFT3________________ KC_Z, KC_X, KC_C, KC_V, KC_B
+
+#define _______________QWERTY_RIGHT1_______________ KC_Y, KC_U, KC_I, KC_O, KC_P
+#define _______________QWERTY_RIGHT2_______________ KC_H, KC_J, KC_K, KC_L, KC_SCLN
+#define _______________QWERTY_RIGHT3_______________ KC_N, KC_M, KC_COMM, KC_DOT, KC_SLSH
+
+#define _______________WORKMAN_LEFT1_______________ KC_Q, KC_D, KC_R, KC_W, KC_B
+#define _______________WORKMAN_LEFT2_______________ KC_A, KC_S, KC_H, KC_T, KC_G
+#define _______________WORKMAN_LEFT3_______________ KC_Z, KC_X, KC_M, KC_C, KC_V
+
+#define _______________WORKMAN_RIGHT1______________ KC_J, KC_F, KC_U, KC_P, KC_SCLN
+#define _______________WORKMAN_RIGHT2______________ KC_Y, KC_N, KC_E, KC_O, KC_I
+#define _______________WORKMAN_RIGHT3______________ KC_K, KC_L, KC_COMM, KC_DOT, KC_SLSH
+
+#define _______________COLEMAK_LEFT1_______________ KC_Q, KC_W, KC_F, KC_P, KC_G
+#define _______________COLEMAK_LEFT2_______________ KC_A, KC_R, KC_S, KC_T, KC_D
+#define _______________COLEMAK_LEFT3_______________ KC_Z, KC_X, KC_C, KC_V, KC_B
+
+#define _______________COLEMAK_RIGHT1______________ KC_J, KC_L, KC_U, KC_Y, KC_SCLN
+#define _______________COLEMAK_RIGHT2______________ KC_H, KC_N, KC_E, KC_I, KC_O
+#define _______________COLEMAK_RIGHT3______________ KC_K, KC_M, KC_COMM, KC_DOT, KC_SLSH
+
+#define _______________DVORAK_LEFT1________________ KC_QUOT, KC_COMM, KC_DOT, KC_P, KC_Y
+#define _______________DVORAK_LEFT2________________ KC_A, KC_O, KC_E, KC_U, KC_I
+#define _______________DVORAK_LEFT3________________ KC_SCLN, KC_Q, KC_J, KC_K, KC_X
+
+#define _______________DVORAK_RIGHT1_______________ KC_F, KC_G, KC_C, KC_R, KC_L
+#define _______________DVORAK_RIGHT2_______________ KC_D, KC_H, KC_T, KC_N, KC_S
+#define _______________DVORAK_RIGHT3_______________ KC_B, KC_M, KC_W, KC_V, KC_Z
+
+#define _______________NUMBER_LEFT_________________ KC_1, KC_2, KC_3, KC_4, KC_5
+#define _______________NUMBER_RIGHT________________ KC_6, KC_7, KC_8, KC_9, KC_0
+
+#define _________________GIT_LEFT1_________________ GIT_CPK, GIT_SHW, GIT_RBS, GIT_RST, GIT_TAG
+#define _________________GIT_LEFT2_________________ GIT_ADD, GIT_STT, GIT_DIF, GIT_FTC, GIT_GRP
+#define _________________GIT_LEFT3_________________ _______, _______, GIT_CMT, GIT_MV, GIT_BRC
+
+#define _________________GIT_RIGHT1________________ _______, GIT_PUL, GIT_INI, GIT_RMT, GIT_PUS
+#define _________________GIT_RIGHT2________________ GIT_STS, _______, GIT_CKT, GIT_LOG, _______
+#define _________________GIT_RIGHT3________________ _______, GIT_MRG, _______, _______, _______
diff --git a/users/greatwizard/ortho.c b/users/greatwizard/ortho.c
new file mode 100644
index 0000000000..90b25b930f
--- /dev/null
+++ b/users/greatwizard/ortho.c
@@ -0,0 +1,21 @@
+/* Copyright 2020 Guillaume Gérard
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#include "ortho.h"
+
+layer_state_t layer_state_set_ortho(layer_state_t state) {
+ state = update_tri_layer_state(state, _RAISE, _LOWER, _ADJUST);
+ return state;
+}
diff --git a/users/greatwizard/ortho.h b/users/greatwizard/ortho.h
new file mode 100644
index 0000000000..7fb5d5e6c8
--- /dev/null
+++ b/users/greatwizard/ortho.h
@@ -0,0 +1,24 @@
+/* Copyright 2020 Guillaume Gérard
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#pragma once
+
+#include QMK_KEYBOARD_H
+#include "greatwizard.h"
+
+layer_state_t layer_state_set_ortho(layer_state_t state);
+
+#define LOWER MO(_LOWER)
+#define RAISE MO(_RAISE)
diff --git a/users/greatwizard/programmer.c b/users/greatwizard/programmer.c
new file mode 100644
index 0000000000..e0f71ea066
--- /dev/null
+++ b/users/greatwizard/programmer.c
@@ -0,0 +1,174 @@
+/* Copyright 2020 Guillaume Gérard
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#include "programmer.h"
+
+bool process_record_pg(uint16_t keycode, keyrecord_t *record) {
+ switch (keycode) {
+ case QWERTY_PROGRAMMER:
+ if (record->event.pressed) {
+ set_single_persistent_default_layer(_QWERTY_PROGRAMMER);
+ }
+ return false;
+ case WORKMAN_PROGRAMMER:
+ if (record->event.pressed) {
+ set_single_persistent_default_layer(_WORKMAN_PROGRAMMER);
+ }
+ return false;
+ case COLEMAK_PROGRAMMER:
+ if (record->event.pressed) {
+ set_single_persistent_default_layer(_COLEMAK_PROGRAMMER);
+ }
+ return false;
+ case DVORAK_PROGRAMMER:
+ if (record->event.pressed) {
+ set_single_persistent_default_layer(_DVORAK_PROGRAMMER);
+ }
+ return false;
+ case PG_GRV:
+ if (record->event.pressed) {
+ uint8_t current_mods = get_mods();
+ if (current_mods & MOD_MASK_SHIFT) {
+ clear_mods();
+ SEND_STRING("`");
+ set_mods(current_mods);
+ } else {
+ SEND_STRING("~");
+ }
+ }
+ return false;
+ case PG_1:
+ if (record->event.pressed) {
+ uint8_t current_mods = get_mods();
+ if (current_mods & MOD_MASK_SHIFT) {
+ clear_mods();
+ SEND_STRING("1");
+ set_mods(current_mods);
+ } else {
+ SEND_STRING("!");
+ }
+ }
+ return false;
+ case PG_2:
+ if (record->event.pressed) {
+ uint8_t current_mods = get_mods();
+ if (current_mods & MOD_MASK_SHIFT) {
+ clear_mods();
+ SEND_STRING("2");
+ set_mods(current_mods);
+ } else {
+ SEND_STRING("@");
+ }
+ }
+ return false;
+ case PG_3:
+ if (record->event.pressed) {
+ uint8_t current_mods = get_mods();
+ if (current_mods & MOD_MASK_SHIFT) {
+ clear_mods();
+ SEND_STRING("3");
+ set_mods(current_mods);
+ } else {
+ SEND_STRING("#");
+ }
+ }
+ return false;
+ case PG_4:
+ if (record->event.pressed) {
+ uint8_t current_mods = get_mods();
+ if (current_mods & MOD_MASK_SHIFT) {
+ clear_mods();
+ SEND_STRING("4");
+ set_mods(current_mods);
+ } else {
+ SEND_STRING("$");
+ }
+ }
+ return false;
+ case PG_5:
+ if (record->event.pressed) {
+ uint8_t current_mods = get_mods();
+ if (current_mods & MOD_MASK_SHIFT) {
+ clear_mods();
+ SEND_STRING("5");
+ set_mods(current_mods);
+ } else {
+ SEND_STRING("%");
+ }
+ }
+ return false;
+ case PG_6:
+ if (record->event.pressed) {
+ uint8_t current_mods = get_mods();
+ if (current_mods & MOD_MASK_SHIFT) {
+ clear_mods();
+ SEND_STRING("6");
+ set_mods(current_mods);
+ } else {
+ SEND_STRING("^");
+ }
+ }
+ return false;
+ case PG_7:
+ if (record->event.pressed) {
+ uint8_t current_mods = get_mods();
+ if (current_mods & MOD_MASK_SHIFT) {
+ clear_mods();
+ SEND_STRING("7");
+ set_mods(current_mods);
+ } else {
+ SEND_STRING("&");
+ }
+ }
+ return false;
+ case PG_8:
+ if (record->event.pressed) {
+ uint8_t current_mods = get_mods();
+ if (current_mods & MOD_MASK_SHIFT) {
+ clear_mods();
+ SEND_STRING("8");
+ set_mods(current_mods);
+ } else {
+ SEND_STRING("*");
+ }
+ }
+ return false;
+ case PG_9:
+ if (record->event.pressed) {
+ uint8_t current_mods = get_mods();
+ if (current_mods & MOD_MASK_SHIFT) {
+ clear_mods();
+ SEND_STRING("9");
+ set_mods(current_mods);
+ } else {
+ SEND_STRING("(");
+ }
+ }
+ return false;
+ case PG_0:
+ if (record->event.pressed) {
+ uint8_t current_mods = get_mods();
+ if (current_mods & MOD_MASK_SHIFT) {
+ clear_mods();
+ SEND_STRING("0");
+ set_mods(current_mods);
+ } else {
+ SEND_STRING(")");
+ }
+ }
+ return false;
+ }
+ return true;
+}
diff --git a/users/greatwizard/programmer.h b/users/greatwizard/programmer.h
new file mode 100644
index 0000000000..a79aada247
--- /dev/null
+++ b/users/greatwizard/programmer.h
@@ -0,0 +1,31 @@
+/* Copyright 2020 Guillaume Gérard
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+#pragma once
+
+#include QMK_KEYBOARD_H
+#include "greatwizard.h"
+
+bool process_record_pg(uint16_t keycode, keyrecord_t *record);
+
+#define QWERTYP QWERTY_PROGRAMMER
+#define WORKMNP WORKMAN_PROGRAMMER
+#define COLEMKP COLEMAK_PROGRAMMER
+#define DVORAKP DVORAK_PROGRAMMER
+#ifdef TAP_DANCE_LSFT_CAPS
+# define PG_LSCP TD(TD_PG_LSFT_CAPS)
+#else
+# define PG_LSCP LM(_PROGRAMMER_SHIFTED, MOD_LSFT)
+#endif
diff --git a/users/greatwizard/readme.md b/users/greatwizard/readme.md
new file mode 100644
index 0000000000..bc2df7f9bf
--- /dev/null
+++ b/users/greatwizard/readme.md
@@ -0