diff options
author | Alexander Kagno <cwre@protonmail.com> | 2018-09-22 09:43:28 -0600 |
---|---|---|
committer | Drashna Jaelre <drashna@live.com> | 2018-09-22 08:43:28 -0700 |
commit | 35e76539e7257a1932ec76882892b999e21c9d4f (patch) | |
tree | 5c363a2d7eb8f8d0c5d85394064f5219fa469f03 /keyboards/mechmini | |
parent | 747cf78b5da17969fe057d77512e276fa6c59fd9 (diff) | |
download | qmk_firmware-35e76539e7257a1932ec76882892b999e21c9d4f.tar.gz qmk_firmware-35e76539e7257a1932ec76882892b999e21c9d4f.zip |
Keymap: Arkag Userspace and MechMini2 Layout (#3958)
* deleting arkag branch, forcibly moving changes over to master
* fade_color function added, not tested
* added half functions some stuff
* surround_type function implemented and working.
* added flashing function and removed fading, flashing supports infinite flashing along with controlled number flashes
* added a fade state machine and functionality
* build optimizations, changed fade to bounce between bounds rather than roll over, added a HALMAK layout
* changes to sleep breath function, changed how I will switch to HALMAK
* support for halmak added
* support for activity detection added, condensed fading and flashing state machines, removed support for HALMAK and COLEMAK because arkag is stupid
* changed sleep and inactive behaviors, now the color shifting reverses on state change, yay! save_color and reset_color are made to enable layer color changing to look cooler.
* reformatted some if statements in state detection
* changes to force fade to pause on boot, or plug in.
* Attempting to move over to userspace, pushing to repository for help
* userspace stuff....
* userspace stuff....
* layout changes, working userspace,
Removed left side shift and replaced it with a MT() for LSFT and SPC. Userspace seems to be working properly now! HURRAY
* Layout change
Removed space/shift and reset modifiers to what they were originally. Added homerow modifiers.
* Removed excessive tabs in files
* Moved mods on homerow around...
* changes recommended by @drashna
Diffstat (limited to 'keyboards/mechmini')
-rw-r--r-- | keyboards/mechmini/v2/keymaps/arkag/config.h | 7 | ||||
-rw-r--r-- | keyboards/mechmini/v2/keymaps/arkag/keymap.c | 40 | ||||
-rw-r--r-- | keyboards/mechmini/v2/keymaps/arkag/rules.mk | 16 |
3 files changed, 63 insertions, 0 deletions
diff --git a/keyboards/mechmini/v2/keymaps/arkag/config.h b/keyboards/mechmini/v2/keymaps/arkag/config.h new file mode 100644 index 000000000..f5f3a90fa --- /dev/null +++ b/keyboards/mechmini/v2/keymaps/arkag/config.h | |||
@@ -0,0 +1,7 @@ | |||
1 | #pragma once | ||
2 | |||
3 | // save me space! | ||
4 | #define NO_ACTION_MACRO | ||
5 | #define NO_ACTION_FUNCTION | ||
6 | #define DISABLE_LEADER | ||
7 | #define NO_MUSIC_MODE | ||
diff --git a/keyboards/mechmini/v2/keymaps/arkag/keymap.c b/keyboards/mechmini/v2/keymaps/arkag/keymap.c new file mode 100644 index 000000000..10502a5b6 --- /dev/null +++ b/keyboards/mechmini/v2/keymaps/arkag/keymap.c | |||
@@ -0,0 +1,40 @@ | |||
1 | #include QMK_KEYBOARD_H | ||
2 | #include "arkag.h" | ||
3 | |||
4 | const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
5 | [_QWERTY] = LAYOUT_2u_space_ortho( | ||
6 | KC_ESC, KC_Q, KC_W, KC_E, KC_R, KC_T, KC_Y, KC_U, KC_I, KC_O, KC_P, KC_BSPC, | ||
7 | KC_TAB, TAP_A, TAP_S, TAP_D, TAP_F, KC_G, KC_H, TAP_J, TAP_K, TAP_L, TAP_SCN, QUOTE, | ||
8 | XXXXXXX, KC_Z, KC_X, KC_C, KC_V, KC_B, KC_N, KC_M, KC_COMM, KC_DOT, KC_UP, KC_ENT, | ||
9 | M_PMOD, LRALT, M_SMOD, LOWER, RAISE, KC_SPC, KC_SLSH, LAZY, KC_LEFT, KC_DOWN, KC_RGHT), | ||
10 | |||
11 | [_RAISE] = LAYOUT_2u_space_ortho( | ||
12 | GRAVE, KC_1, KC_2, THREE, KC_4, KC_5, KC_6, KC_7, KC_8, KC_9, KC_0, _______, | ||
13 | _______, OBRACK, CBRACK, TAP_EQ, HYPHEN, _______, _______, KC_4, TAP_5, KC_6, _______, KC_NLCK, | ||
14 | _______, _______, _______, CEDILLA, _______, KC_COMM, KC_PDOT, KC_1, KC_2, KC_3, KC_PPLS, KC_PENT, | ||
15 | _______, _______, _______, KEEB, _______, _______, _______, M_OS, KC_PSLS, KC_PMNS, KC_PAST), | ||
16 | |||
17 | [_LOWER] = LAYOUT_2u_space_ortho( | ||
18 | _______, _______, _______, _______, _______, _______, _______, M_ULIN, M_ITAL, _______, M_P_B, M_C_A_D, | ||
19 | _______, _______, STRIKE, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
20 | KC_CAPS, KC_DEL, _______, _______, _______, M_BOLD, _______, _______, _______, _______, KC_PGUP, _______, | ||
21 | _______, _______, _______, _______, _______, MEDIA, KC_BSLS, M_CALC, KC_HOME, KC_PGDN, KC_END), | ||
22 | |||
23 | [_KEEB] = LAYOUT_2u_space_ortho( | ||
24 | KC_F1, KC_F2, KC_F3, KC_F4, KC_F5, KC_F6, KC_F7, KC_F8, KC_F9, KC_F10, KC_F11, KC_F12, | ||
25 | _______, BL_TOGG, BL_STEP, BL_INC, BL_DEC, BL_BRTG, _______, _______, _______, _______, _______, _______, | ||
26 | RGB_M_P, RGB_TOG, RGB_MOD, RGB_VAI, RGB_VAD, RGB_HUI, RGB_HUD, RGB_SAI, RGB_SAD, _______, _______, _______, | ||
27 | RESET, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), | ||
28 | |||
29 | [_MEDIA] = LAYOUT_2u_space_ortho( | ||
30 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
31 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, | ||
32 | _______, _______, _______, _______, _______, _______, _______, _______, _______, KC_MPLY, KC_VOLU, KC_MUTE, | ||
33 | _______, _______, _______, _______, _______, _______, _______, _______, KC_MPRV, KC_VOLD, KC_MNXT), | ||
34 | |||
35 | [_LAZY] = LAYOUT_2u_space_ortho( | ||
36 | _______, _______, _______, _______, _______, M_TM, _______, M_SNIPT, M_SHRUG, _______, _______, _______, | ||
37 | _______, _______, _______, _______, _______, M_GGT, _______, M_UF, M_LOD, M_REPO, _______, _______, | ||
38 | _______, _______, _______, _______, _______, _______, _______, M_TF, M_LENNY, _______, _______, _______, | ||
39 | _______, _______, _______, _______, _______, _______, _______, _______, _______, _______, _______), | ||
40 | }; | ||
diff --git a/keyboards/mechmini/v2/keymaps/arkag/rules.mk b/keyboards/mechmini/v2/keymaps/arkag/rules.mk new file mode 100644 index 000000000..d6c210e9e --- /dev/null +++ b/keyboards/mechmini/v2/keymaps/arkag/rules.mk | |||
@@ -0,0 +1,16 @@ | |||
1 | BOOTMAGIC_ENABLE = no | ||
2 | MOUSEKEY_ENABLE = no | ||
3 | STENO_ENABLE = no | ||
4 | EXTRAKEY_ENABLE = yes | ||
5 | CONSOLE_ENABLE = no | ||
6 | COMMAND_ENABLE = no | ||
7 | SLEEP_LED_ENABLE = no | ||
8 | NKRO_ENABLE = yes | ||
9 | BACKLIGHT_ENABLE = yes | ||
10 | AUDIO_ENABLE = no | ||
11 | RGBLIGHT_ENABLE = yes | ||
12 | TAP_DANCE_ENABLE = yes | ||
13 | UNICODE_ENABLE = yes | ||
14 | |||
15 | # save me space! | ||
16 | EXTRAFLAGS += -flto | ||