summaryrefslogtreecommitdiffstats
path: root/keyboards/scarletbandana/scarletbandana.h
diff options
context:
space:
mode:
authorMechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-02-06 21:41:14 +0100
committerDrashna Jaelre <drashna@live.com>2019-02-06 21:41:14 +0100
commitafa4763ef55abcf122c07700e1c1fd012973fea2 (patch)
treeaece17e09efc265f78d15e240f8edeabb55b15d2 /keyboards/scarletbandana/scarletbandana.h
parent80e733798a808ba1cf0d5371360c152fbb933717 (diff)
downloadqmk_firmware-afa4763ef55abcf122c07700e1c1fd012973fea2.tar.gz
qmk_firmware-afa4763ef55abcf122c07700e1c1fd012973fea2.tar.xz
[Keyboard] Update the Scarlet Bandana (#5058)
* remove unneeded file * make an appropriate readme * amend the LAYOUT macro to adhere to new QMK standards and create an appropriate keymap * add QMK Configurator support * a bunch of changes lol * delete unneeded routines * update date to modern times * remove a useless prototype * add in drashna's suggestions on PR
Diffstat (limited to 'keyboards/scarletbandana/scarletbandana.h')
-rw-r--r--keyboards/scarletbandana/scarletbandana.h17
1 files changed, 6 insertions, 11 deletions
diff --git a/keyboards/scarletbandana/scarletbandana.h b/keyboards/scarletbandana/scarletbandana.h
index 77b6afa7a..8178e8c8d 100644
--- a/keyboards/scarletbandana/scarletbandana.h
+++ b/keyboards/scarletbandana/scarletbandana.h
@@ -1,4 +1,4 @@
-/* Copyright 2017 Cole Markham
+/* Copyright 2019 Cole Markham
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -13,23 +13,20 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifndef SCARLETBANDANA_H
-#define SCARLETBANDANA_H
+#pragma once
#include "quantum.h"
-void reset_keyboard_kb(void);
-
// This a shortcut to help you visually see your layout.
// The following is an example using the Planck MIT layout
// The first section contains all of the arguments
// The second converts the arguments into a two-dimensional array
-#define KEYMAP( \
- k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f, k0g, \
+#define LAYOUT_all( \
+ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f, k2f, k0g, \
k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k1a, k1b, k1c, k1d, k1e, k1f, k1g, \
- k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2f, k2g, \
+ k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2a, k2b, k2c, k2d, k2e, k2g, \
k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k3a, k3b, k3c, k3e, k3f, k3g, \
- k40, k41, k42, k43, k44, k45, k47, k49, k4a, k4b, k4c, k4e, k4f, k4g \
+ k40, k41, k42, k43, k44, k45, k47, k49, k4a, k4b, k4c, k4e, k4f, k4g \
) \
{ \
{ k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0a, k0b, k0c, k0d, k0e, k0f, k0g }, \
@@ -39,5 +36,3 @@ void reset_keyboard_kb(void);
{ k40, k41, k42, k43, k44, k45, KC_NO, k47, KC_NO, k49, k4a, k4b, k4c, KC_NO, k4e, k4f, k4g } \
}
-#endif
-