-
-
Notifications
You must be signed in to change notification settings - Fork 40.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding Split Space support for Mechmini 1 #4052
Conversation
along with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
#include "mechmini.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please replace Lines 14-15 with #include QMK_KEYBOARD_H
.
#define _MOUSE 3 | ||
#define _FUNCT 4 | ||
|
||
#define _____ KC_TRNS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
QMK defines a built-in keycode for this automatically.
qmk_firmware/quantum/quantum_keycodes.h
Lines 29 to 31 in 76f0b3c
// Fillers to make layering more clear | |
#define _______ KC_TRNS | |
#define XXXXXXX KC_NO |
It's much preferred to use the built-in keycode, rather than defining a different one here. Simply delete Line 23 and change all instances of _____
to _______
.
#define _____ KC_TRNS | ||
|
||
const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = { | ||
[_QWERTY] = SPLITSPACE_KEYMAP( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change all instances of SPLITSPACE_KEYMAP
to LAYOUT_split_space
. (Lines 26, 32, 38, 44, and 50.)
The desired terminology changed a while back and this usage is outdated.
keyboards/mechmini/v1/v1.h
Outdated
@@ -40,4 +40,21 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
{ KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO, KC_NO } \ | |||
} | |||
|
|||
#define SPLITSPACE_KEYMAP( \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change SPLITSPACE_KEYMAP
to LAYOUT_split_space
.
@noroadsleft, this look good? |
LGTM. I need to hit this with an |
Thanks! |
* 'master' of https://github.com/qmk/qmk_firmware: (69 commits) rgb_matrix: continue calling rgb_matrix_indicators() when toggled off Keymap: Added personal userspace and keymaps. (qmk#4073) Add mousekey_send to (un)register_code rn42 compilation error fix (qmk#4050) process_ucis: Add a callback for success (qmk#4067) Keyboard: add info.json for qmk configurator (qmk#4063) Keyboard: Adding Split Space support for Mechmini 1 (qmk#4052) Keyboard: Added dactyl-manuform 4x6 and keymap. (qmk#4058) Keyboard: Add handwired/pteron config and keymaps (qmk#4060) Keyboard: Added split backspace layout for the b.mini (qmk#4051) Keyboard: Add namecard keyboard (qmk#4044) handwired/ibm122m: refactor and Configurator support (qmk#4054) Keyboard: Added JN68M keyboard to handwired (qmk#4053) Keymap: Add RGB matrix keypress effects and reduce firmware size. (qmk#4055) Keyboard: KBD4x: corrected info.json file (qmk#4056) Keyboard: Mint60: Configurator support and readme cleanup (qmk#4057) Add missing F-keys to ergodox_infinity input_club Enable support for Linux Mint 18 with linux_install.sh (qmk#4042) add JP keycode for MacOSX (qmk#4033) New keyboard: Baguette (qmk#4047) ...
* 'master' of git://github.com/qmk/qmk_firmware: (302 commits) Keymap: Added Planck keymap: jcorrado (qmk#4083) Keyboard: Helix five_rows keymap reduced size (qmk#4082) E6V2 LE HHKB love (qmk#4079) Keymap: Add french iso layout for dz60 (thomasviaud) (qmk#4080) ARM SWD guide Keyboard: set SAFE_RANGE (qmk#4078) Keyboard: DZ60: add Plate B layouts (qmk#4076) rgb_matrix: continue calling rgb_matrix_indicators() when toggled off Keymap: Added personal userspace and keymaps. (qmk#4073) Add mousekey_send to (un)register_code rn42 compilation error fix (qmk#4050) process_ucis: Add a callback for success (qmk#4067) Keyboard: add info.json for qmk configurator (qmk#4063) Keyboard: Adding Split Space support for Mechmini 1 (qmk#4052) Keyboard: Added dactyl-manuform 4x6 and keymap. (qmk#4058) Keyboard: Add handwired/pteron config and keymaps (qmk#4060) Keyboard: Added split backspace layout for the b.mini (qmk#4051) Keyboard: Add namecard keyboard (qmk#4044) handwired/ibm122m: refactor and Configurator support (qmk#4054) Keyboard: Added JN68M keyboard to handwired (qmk#4053) ...
* Adding Split Space support * Adding my keymap * update * Made the requested updates * Made the requested update
* Adding Split Space support * Adding my keymap * update * Made the requested updates * Made the requested update
* Adding Split Space support * Adding my keymap * update * Made the requested updates * Made the requested update
Also adding my own keymap using the Split Space layout.