summaryrefslogtreecommitdiffstats
path: root/keyboards/subatomic
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/subatomic
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/subatomic')
-rw-r--r--keyboards/subatomic/keymaps/default/config.h7
-rw-r--r--keyboards/subatomic/keymaps/default/keymap.c7
2 files changed, 3 insertions, 11 deletions
diff --git a/keyboards/subatomic/keymaps/default/config.h b/keyboards/subatomic/keymaps/default/config.h
index 4c6158199..5352ef06c 100644
--- a/keyboards/subatomic/keymaps/default/config.h
+++ b/keyboards/subatomic/keymaps/default/config.h
@@ -1,7 +1,6 @@
-#ifndef CONFIG_USER_H
-#define CONFIG_USER_H
+#pragma once
-#include "../../config.h"
+// place overrides here
/*
* MIDI options
@@ -25,5 +24,3 @@
/* override number of MIDI tone keycodes (each octave adds 12 keycodes and allocates 12 bytes) */
//#define MIDI_TONE_KEYCODE_OCTAVES 2
-
-#endif \ No newline at end of file
diff --git a/keyboards/subatomic/keymaps/default/keymap.c b/keyboards/subatomic/keymaps/default/keymap.c
index 184df24d5..8def46961 100644
--- a/keyboards/subatomic/keymaps/default/keymap.c
+++ b/keyboards/subatomic/keymaps/default/keymap.c
@@ -1,9 +1,4 @@
-#include "subatomic.h"
-#include "action_layer.h"
-#include "eeconfig.h"
-#ifdef AUDIO_ENABLE
- #include "audio.h"
-#endif
+#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.