summaryrefslogtreecommitdiff
path: root/keyboards/laptreus
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/laptreus')
-rw-r--r--keyboards/laptreus/laptreus.h33
-rw-r--r--keyboards/laptreus/rules.mk4
2 files changed, 15 insertions, 22 deletions
diff --git a/keyboards/laptreus/laptreus.h b/keyboards/laptreus/laptreus.h
index f367c13dc3..2e7932e494 100644
--- a/keyboards/laptreus/laptreus.h
+++ b/keyboards/laptreus/laptreus.h
@@ -1,26 +1,19 @@
-#ifndef LAPTREUS_H
-#define LAPTREUS_H
+#pragma once
#include "quantum.h"
#include "outputselect.h"
-/*
-// This a shortcut to help you visually see your layout.
-// The first section contains all of the arguments
-// The second converts the arguments into a two-dimensional array
-*/
+#define XXX KC_NO
+
#define LAYOUT( \
- A1, A2, A3, A4, A5, A6, A7, A8, A9, A10, A11, A12, \
- B1, B2, B3, B4, B5, B6, B7, B8, B9, B10, B11, B12, \
- C1, C2, C3, C4, C5, C6, C7, C8, C9, C10, C11, C12, \
- D1, D2, D3, D4, D5, D6, D7, D8, D9, D10, D11, D12 \
-) \
-{ \
- {A2, A3, A4, A5, A6, A7, A8, A9, A10, A11}, \
- {B2, B3, B4, B5, B6, B7, B8, B9, B10, B11}, \
- {C2, C3, C4, C5, C6, C7, C8, C9, C10, C11}, \
- {D2, D3, D4, D5, D6, D7, D8, D9, D10, D11}, \
- {A1, B1, C1, D1, KC_NO, KC_NO, D12, C12, B12, A12} \
+ k40, k00, k01, k02, k03, k04, k05, k06, k07, k08, k09, k49, \
+ k41, k10, k11, k12, k13, k14, k15, k16, k17, k18, k19, k48, \
+ k42, k20, k21, k22, k23, k24, k25, k26, k27, k28, k29, k47, \
+ k43, k30, k31, k32, k33, k34, k35, k36, k37, k38, k39, k46 \
+) { \
+ { k00, k01, k02, k03, k04, k05, k06, k07, k08, k09 }, \
+ { k10, k11, k12, k13, k14, k15, k16, k17, k18, k19 }, \
+ { k20, k21, k22, k23, k24, k25, k26, k27, k28, k29 }, \
+ { k30, k31, k32, k33, k34, k35, k36, k37, k38, k39 }, \
+ { k40, k41, k42, k43, XXX, XXX, k46, k47, k48, k49 } \
}
-
-#endif
diff --git a/keyboards/laptreus/rules.mk b/keyboards/laptreus/rules.mk
index f71fa588b3..017af30220 100644
--- a/keyboards/laptreus/rules.mk
+++ b/keyboards/laptreus/rules.mk
@@ -24,5 +24,5 @@ KEY_LOCK_ENABLE = no
# Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE
SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend
-BLUETOOTH_ENABLE = no # Legacy bluetooth support
-BLUETOOTH = AdafruitBLE
+BLUETOOTH_ENABLE = yes
+BLUETOOTH_DRIVER = AdafruitBLE