summaryrefslogtreecommitdiff
path: root/keyboards/bfake
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-09-01 19:03:14 +1000
committerGitHub <noreply@github.com>2021-09-01 19:03:14 +1000
commit41c50bb653b840c595fb31541729d892f68666e6 (patch)
treeba05c7c9654f7be1104b20f3195dd2cf288e004e /keyboards/bfake
parent971d36bb9ea37962c57733e5f7c0c24e5a6cebeb (diff)
Change keyboard level include guards to `pragma once` (#14248)
* Change keyboard level include guards to `pragma once` And clean up a lot of layout macros * Oops * Remove dangling endif
Diffstat (limited to 'keyboards/bfake')
-rw-r--r--keyboards/bfake/bfake.h63
1 files changed, 31 insertions, 32 deletions
diff --git a/keyboards/bfake/bfake.h b/keyboards/bfake/bfake.h
index 599ea0f870..59a40de2f8 100644
--- a/keyboards/bfake/bfake.h
+++ b/keyboards/bfake/bfake.h
@@ -15,43 +15,42 @@ 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 BFAKE_H
-#define BFAKE_H
+#pragma once
#include "quantum.h"
+#define XXX KC_NO
+
#define LAYOUT_all( \
- K61, K71, K72, K73, K74, K64, K65, K75, K76, K77, K78, K68, K66, K10, K60,\
- K11, K01, K02, K03, K04, K14, K15, K05, K06, K07, K08, K18, K16, K20, \
- K12, K21, K22, K23, K24, K34, K35, K25, K26, K27, K28, K38, K40, \
- K19, K13, K41, K42, K43, K44, K54, K55, K45, K46, K47, K58, K49, K50,\
- K09, K00, K39, K30, K59, K69, K57, K29\
-){ \
- { KC_NO, K01, K02, K03, K04, K05, K06, K07, K08, K09, K00}, \
- { KC_NO, K11, K12, K13, K14, K15, K16, KC_NO, K18, K19, K10}, \
- { KC_NO, K21, K22, K23, K24, K25, K26, K27, K28, K29, K20}, \
- { KC_NO, KC_NO, KC_NO, KC_NO, K34, K35, KC_NO, KC_NO, K38, K39, K30}, \
- { KC_NO, K41, K42, K43, K44, K45, K46, K47, KC_NO, K49, K40}, \
- { KC_NO, KC_NO, KC_NO, KC_NO, K54, K55, KC_NO, K57, K58, K59, K50}, \
- { KC_NO, K61, KC_NO, KC_NO, K64, K65, K66, KC_NO, K68, K69, K60}, \
- { KC_NO, K71, K72, K73, K74, K75, K76, K77, K78, KC_NO, KC_NO}, \
+ k61, k71, k72, k73, k74, k64, k65, k75, k76, k77, k78, k68, k66, k1A, k6A,\
+ k11, k01, k02, k03, k04, k14, k15, k05, k06, k07, k08, k18, k16, k2A, \
+ k12, k21, k22, k23, k24, k34, k35, k25, k26, k27, k28, k38, k4A, \
+ k19, k13, k41, k42, k43, k44, k54, k55, k45, k46, k47, k58, k49, k5A, \
+ k09, k0A, k39, k3A, k59, k69, k57, k29 \
+) { \
+ { XXX, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A }, \
+ { XXX, k11, k12, k13, k14, k15, k16, XXX, k18, k19, k1A }, \
+ { XXX, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A }, \
+ { XXX, XXX, XXX, XXX, k34, k35, XXX, XXX, k38, k39, k3A }, \
+ { XXX, k41, k42, k43, k44, k45, k46, k47, XXX, k49, k4A }, \
+ { XXX, XXX, XXX, XXX, k54, k55, XXX, k57, k58, k59, k5A }, \
+ { XXX, k61, XXX, XXX, k64, k65, k66, XXX, k68, k69, k6A }, \
+ { XXX, k71, k72, k73, k74, k75, k76, k77, k78, XXX, XXX } \
}
#define LAYOUT_60_ansi( \
- K61, K71, K72, K73, K74, K64, K65, K75, K76, K77, K78, K68, K66, K60,\
- K11, K01, K02, K03, K04, K14, K15, K05, K06, K07, K08, K18, K16, K20, \
- K12, K21, K22, K23, K24, K34, K35, K25, K26, K27, K28, K38, K40, \
- K19, K41, K42, K43, K44, K54, K55, K45, K46, K47, K58, K49, \
- K09, K00, K39, K30, K59, K69, K57, K29\
-){ \
- { KC_NO, K01, K02, K03, K04, K05, K06, K07, K08, K09, K00}, \
- { KC_NO, K11, K12, KC_NO, K14, K15, K16, KC_NO, K18, K19, KC_NO}, \
- { KC_NO, K21, K22, K23, K24, K25, K26, K27, K28, K29, K20}, \
- { KC_NO, KC_NO, KC_NO, KC_NO, K34, K35, KC_NO, KC_NO, K38, K39, K30}, \
- { KC_NO, K41, K42, K43, K44, K45, K46, K47, KC_NO, K49, K40}, \
- { KC_NO, KC_NO, KC_NO, KC_NO, K54, K55, KC_NO, K57, K58, K59, KC_NO}, \
- { KC_NO, K61, KC_NO, KC_NO, K64, K65, K66, KC_NO, K68, K69, K60}, \
- { KC_NO, K71, K72, K73, K74, K75, K76, K77, K78, KC_NO, KC_NO}, \
+ k61, k71, k72, k73, k74, k64, k65, k75, k76, k77, k78, k68, k66, k6A, \
+ k11, k01, k02, k03, k04, k14, k15, k05, k06, k07, k08, k18, k16, k2A, \
+ k12, k21, k22, k23, k24, k34, k35, k25, k26, k27, k28, k38, k4A, \
+ k19, k41, k42, k43, k44, k54, k55, k45, k46, k47, k58, k49, \
+ k09, k0A, k39, k3A, k59, k69, k57, k29 \
+) { \
+ { XXX, k01, k02, k03, k04, k05, k06, k07, k08, k09, k0A }, \
+ { XXX, k11, k12, XXX, k14, k15, k16, XXX, k18, k19, XXX }, \
+ { XXX, k21, k22, k23, k24, k25, k26, k27, k28, k29, k2A }, \
+ { XXX, XXX, XXX, XXX, k34, k35, XXX, XXX, k38, k39, k3A }, \
+ { XXX, k41, k42, k43, k44, k45, k46, k47, XXX, k49, k4A }, \
+ { XXX, XXX, XXX, XXX, k54, k55, XXX, k57, k58, k59, XXX }, \
+ { XXX, k61, XXX, XXX, k64, k65, k66, XXX, k68, k69, k6A }, \
+ { XXX, k71, k72, k73, k74, k75, k76, k77, k78, XXX, XXX } \
}
-
-#endif