]> git.donarmstrong.com Git - qmk_firmware.git/blobdiff - keyboards/scarletbandana/scarletbandana.h
Add user-overridable callback for cancelling UCIS input (#5564)
[qmk_firmware.git] / keyboards / scarletbandana / scarletbandana.h
index 77b6afa7a50e0ee53417a22356bd663cf0d9d0c2..8178e8c8dcf87b7fa9170cc9389bda0f256ccb9b 100644 (file)
@@ -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
  * 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
-