Skip to content

QMK Configurator update for the Pearl 40%#2810

Merged
drashna merged 8 commits intoqmk:masterfrom
noroadsleft:master
Apr 26, 2018
Merged

QMK Configurator update for the Pearl 40%#2810
drashna merged 8 commits intoqmk:masterfrom
noroadsleft:master

Conversation

@noroadsleft
Copy link
Member

My attempt to get the physical layout as displayed in the Configurator more true-to-life. Intend to do more of these once I get more comfortable with QMK source. Having to familiarize myself with keymap.cs and keyboard.hs. Just a small update to see if I've done this properly.

keyboards/pearl/pearl.h was also updated to change KEYMAP to LAYOUT per instructions received from /u/merlin36 (MechMerlin) on reddit, who stated in a PM that KEYMAP is deprecated.

Attempt to get the physical layout as displayed in the Configurator more true-to-life.
QMK Configurator update for the Pearl 40%
@mechmerlin
Copy link
Contributor

By changing KEYMAP to LAYOUT in the .h file, all the keymaps who rely on KEYMAP are now broken. You need to go into the keymap directory and fix all the keymaps affected by this change. Should just be an issue of renaming KEYMAP to LAYOUT.

"By changing KEYMAP to LAYOUT in the .h file, all the keymaps who rely on KEYMAP are now broken. You need to go into the keymap directory and fix all the keymaps affected by this change. Should just be an issue of renaming KEYMAP to LAYOUT."
@drashna
Copy link
Member

drashna commented Apr 26, 2018

Also, if you're editing the keymap.c files, could you switch the #include "pearl.h" to #include QMK_KEYBOARD_H, as well?

This does the same thing, but it makes the keymap more "universal", which is part of the point of switching to LAYOUT over keymap.

-#include "pearl.h"
+#QMK_KEYBOARD_H
@drashna
Copy link
Member

drashna commented Apr 26, 2018

Awesome, thanks!

@drashna drashna merged commit 80ccbc7 into qmk:master Apr 26, 2018
carlpehrson pushed a commit to carlpehrson/qmk_firmware that referenced this pull request May 7, 2018
* QMK Configurator updates for the Pearl 40%

Attempt to get the physical layout as displayed in the Configurator more true-to-life.

* Bugfixes per mechmerlin

"By changing KEYMAP to LAYOUT in the .h file, all the keymaps who rely on KEYMAP are now broken. You need to go into the keymap directory and fix all the keymaps affected by this change. Should just be an issue of renaming KEYMAP to LAYOUT."

* Merge pull request qmk#2 from noroadsleft/noroadsleft-patch-20180425

Bugfixes per mechmerlin

* keymap.c updates for Pearl

-#include "pearl.h"
+#QMK_KEYBOARD_H
hauleth pushed a commit to hauleth/qmk_firmware that referenced this pull request Jan 24, 2019
* QMK Configurator updates for the Pearl 40%

Attempt to get the physical layout as displayed in the Configurator more true-to-life.

* Bugfixes per mechmerlin

"By changing KEYMAP to LAYOUT in the .h file, all the keymaps who rely on KEYMAP are now broken. You need to go into the keymap directory and fix all the keymaps affected by this change. Should just be an issue of renaming KEYMAP to LAYOUT."

* Merge pull request qmk#2 from noroadsleft/noroadsleft-patch-20180425

Bugfixes per mechmerlin

* keymap.c updates for Pearl

-#include "pearl.h"
+#QMK_KEYBOARD_H
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants