summaryrefslogtreecommitdiffstats
path: root/keyboards/handwired/woodpad
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-03-19 20:57:40 +0100
committerMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-03-19 20:57:40 +0100
commit0072fdd799ffe61bf64f12c23335da3adeb083e5 (patch)
tree7f30d26e4542c5ff3f6da38a75c329f5d0235938 /keyboards/handwired/woodpad
parent29bfd634e16e196c86b0a5f63e179af1f9a52902 (diff)
downloadqmk_firmware-0072fdd799ffe61bf64f12c23335da3adeb083e5.tar.gz
qmk_firmware-0072fdd799ffe61bf64f12c23335da3adeb083e5.tar.xz
Cleanup Default Keymaps (#5442)
* Cleanup Default Keymaps to conform to QMK Firmware standards * Minor fixes * Revert some changes
Diffstat (limited to 'keyboards/handwired/woodpad')
-rw-r--r--keyboards/handwired/woodpad/keymaps/default/config.h7
-rw-r--r--keyboards/handwired/woodpad/keymaps/default/keymap.c4
2 files changed, 3 insertions, 8 deletions
diff --git a/keyboards/handwired/woodpad/keymaps/default/config.h b/keyboards/handwired/woodpad/keymaps/default/config.h
index f52a97bbc..a72596783 100644
--- a/keyboards/handwired/woodpad/keymaps/default/config.h
+++ b/keyboards/handwired/woodpad/keymaps/default/config.h
@@ -14,11 +14,6 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef CONFIG_USER_H
-#define CONFIG_USER_H
-
-#include "../../config.h"
+#pragma once
// place overrides here
-
-#endif
diff --git a/keyboards/handwired/woodpad/keymaps/default/keymap.c b/keyboards/handwired/woodpad/keymaps/default/keymap.c
index 724230e45..838c14ead 100644
--- a/keyboards/handwired/woodpad/keymaps/default/keymap.c
+++ b/keyboards/handwired/woodpad/keymaps/default/keymap.c
@@ -13,7 +13,7 @@
* 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 "woodpad.h"
+#include QMK_KEYBOARD_H
// Each layer gets a name for readability, which is then used in the keymap matrix below.
// The underscores don't mean anything - you can have a layer called STUFF or any other name.
@@ -86,7 +86,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
layer_off(_ADJUST);
}
numlock_down = false;
- }
+ }
return false;
break;
case KC_LALT: