aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/xd75/keymaps/dyn_macro_tap_dance
diff options
context:
space:
mode:
authornoroadsleft <18669334+noroadsleft@users.noreply.github.com>2019-03-17 10:04:50 -0700
committerDrashna Jaelre <drashna@live.com>2019-03-17 10:04:50 -0700
commite30c993d75b2edd78c185a5d5f33f2fe10635eb5 (patch)
tree99cd471fa193325963919ddf2a7ff27adac49fc9 /keyboards/xd75/keymaps/dyn_macro_tap_dance
parente9ace1487887c1f8b4a7e8e6d87c322988bec9ce (diff)
downloadfirmware-e30c993d75b2edd78c185a5d5f33f2fe10635eb5.tar.gz
firmware-e30c993d75b2edd78c185a5d5f33f2fe10635eb5.tar.bz2
firmware-e30c993d75b2edd78c185a5d5f33f2fe10635eb5.zip
[Keyboard] XD75 refactor (#5420)
* Refactor layout macro names Update the names of the layout macros to reflect QMK's desired usage. - KEYMAP renamed to LAYOUT - colinta keymap updated accordingly - KC_KEYMAP renamed to LAYOUT_kc - mtdjr keymap updated accordingly * Update xd75.h to use #pragma once include guard * Update keymaps to use QMK_KEYBOARD_H * Refactor default keymap - updated to use layout macro - remove deprecated action_get_macro function - add functions from QMK keymap.c template - process_record_user - matrix_init_user - matrix_scan_user - led_set_user * Update supporting files - updated config.h files to use #pragma once include guard - remove errant QUANTUM_DIR code block * Rename readme files to fully lowercase filenames * Restructure keyboard readme Updated the readme to better align with the current QMK template. * Bugfixes to supporting files
Diffstat (limited to 'keyboards/xd75/keymaps/dyn_macro_tap_dance')
-rw-r--r--keyboards/xd75/keymaps/dyn_macro_tap_dance/config.h7
-rw-r--r--keyboards/xd75/keymaps/dyn_macro_tap_dance/keymap.c2
2 files changed, 2 insertions, 7 deletions
diff --git a/keyboards/xd75/keymaps/dyn_macro_tap_dance/config.h b/keyboards/xd75/keymaps/dyn_macro_tap_dance/config.h
index 015377b5f..e6975da8a 100644
--- a/keyboards/xd75/keymaps/dyn_macro_tap_dance/config.h
+++ b/keyboards/xd75/keymaps/dyn_macro_tap_dance/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/xd75/keymaps/dyn_macro_tap_dance/keymap.c b/keyboards/xd75/keymaps/dyn_macro_tap_dance/keymap.c
index 594e5c41c..cf4bfb4dc 100644
--- a/keyboards/xd75/keymaps/dyn_macro_tap_dance/keymap.c
+++ b/keyboards/xd75/keymaps/dyn_macro_tap_dance/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 "xd75.h"
+#include QMK_KEYBOARD_H
enum planck_keycodes {
DUMMY = SAFE_RANGE,