summaryrefslogtreecommitdiff
path: root/keyboards/lazydesigners/dimple
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/lazydesigners/dimple')
-rw-r--r--keyboards/lazydesigners/dimple/config.h8
-rw-r--r--keyboards/lazydesigners/dimple/ortho/info.json2
-rw-r--r--keyboards/lazydesigners/dimple/rules.mk6
-rw-r--r--keyboards/lazydesigners/dimple/staggered/info.json4
-rw-r--r--keyboards/lazydesigners/dimple/staggered/rev1/config.h20
-rw-r--r--keyboards/lazydesigners/dimple/staggered/rev1/info.json4
-rw-r--r--keyboards/lazydesigners/dimple/staggered/rev3/config.h22
-rw-r--r--keyboards/lazydesigners/dimple/staggered/rev3/info.json3
-rw-r--r--keyboards/lazydesigners/dimple/staggered/staggered.c4
9 files changed, 14 insertions, 59 deletions
diff --git a/keyboards/lazydesigners/dimple/config.h b/keyboards/lazydesigners/dimple/config.h
index 87e9167712..1f625bafb8 100644
--- a/keyboards/lazydesigners/dimple/config.h
+++ b/keyboards/lazydesigners/dimple/config.h
@@ -17,11 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-#include "config_common.h"
-
-/* key matrix size */
-#define MATRIX_ROWS 4
-#define MATRIX_COLS 12
/* key matrix pins */
#define MATRIX_ROW_PINS { D0, D1, D2, D3 }
@@ -30,9 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-/* Set 0 if debouncing isn't needed */
-#define DEBOUNCE 5
-
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboards/lazydesigners/dimple/ortho/info.json b/keyboards/lazydesigners/dimple/ortho/info.json
index 752f8293d4..5bd57ed1b7 100644
--- a/keyboards/lazydesigners/dimple/ortho/info.json
+++ b/keyboards/lazydesigners/dimple/ortho/info.json
@@ -8,6 +8,8 @@
"pid": "0x0040",
"device_version": "0.0.1"
},
+ "processor": "atmega32u4",
+ "bootloader": "atmel-dfu",
"layouts": {
"LAYOUT_ortho_2u": {
"layout": [
diff --git a/keyboards/lazydesigners/dimple/rules.mk b/keyboards/lazydesigners/dimple/rules.mk
index ee586a38e1..5316d1bc7e 100644
--- a/keyboards/lazydesigners/dimple/rules.mk
+++ b/keyboards/lazydesigners/dimple/rules.mk
@@ -1,9 +1,3 @@
-# MCU name
-MCU = atmega32u4
-
-# Bootloader selection
-BOOTLOADER = atmel-dfu
-
# Build Options
# change yes to no to disable
#
diff --git a/keyboards/lazydesigners/dimple/staggered/info.json b/keyboards/lazydesigners/dimple/staggered/info.json
index cdce3c767c..1161789c1e 100644
--- a/keyboards/lazydesigners/dimple/staggered/info.json
+++ b/keyboards/lazydesigners/dimple/staggered/info.json
@@ -7,5 +7,7 @@
"vid": "0x4C44",
"pid": "0x0040",
"device_version": "0.0.1"
- }
+ },
+ "processor": "atmega32u4",
+ "bootloader": "atmel-dfu"
}
diff --git a/keyboards/lazydesigners/dimple/staggered/rev1/config.h b/keyboards/lazydesigners/dimple/staggered/rev1/config.h
deleted file mode 100644
index b62f3c4195..0000000000
--- a/keyboards/lazydesigners/dimple/staggered/rev1/config.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/* Copyright 2021 LAZYDESIGNERS
- *
- * 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
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#pragma once
-
-#define LED_CAPS_LOCK_PIN E6
-#define LED_PIN_ON_STATE 0
diff --git a/keyboards/lazydesigners/dimple/staggered/rev1/info.json b/keyboards/lazydesigners/dimple/staggered/rev1/info.json
index 7fe8c59ccb..ed2219805a 100644
--- a/keyboards/lazydesigners/dimple/staggered/rev1/info.json
+++ b/keyboards/lazydesigners/dimple/staggered/rev1/info.json
@@ -1,4 +1,8 @@
{
+ "indicators": {
+ "caps_lock": "E6",
+ "on_state": 0
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/lazydesigners/dimple/staggered/rev3/config.h b/keyboards/lazydesigners/dimple/staggered/rev3/config.h
deleted file mode 100644
index cc32223f3a..0000000000
--- a/keyboards/lazydesigners/dimple/staggered/rev3/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Copyright 2021 LAZYDESIGNERS
- *
- * 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
- * the Free Software Foundation, either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-
-#pragma once
-
-#define BACKLIGHT_PIN B7
-// #define BACKLIGHT_BREATHING
-#define BACKLIGHT_LEVELS 3
-
diff --git a/keyboards/lazydesigners/dimple/staggered/rev3/info.json b/keyboards/lazydesigners/dimple/staggered/rev3/info.json
index d1e1568035..f703059bd5 100644
--- a/keyboards/lazydesigners/dimple/staggered/rev3/info.json
+++ b/keyboards/lazydesigners/dimple/staggered/rev3/info.json
@@ -1,4 +1,7 @@
{
+ "backlight": {
+ "pin": "B7"
+ },
"layouts": {
"LAYOUT_all": {
"layout": [
diff --git a/keyboards/lazydesigners/dimple/staggered/staggered.c b/keyboards/lazydesigners/dimple/staggered/staggered.c
index 2cd8c018db..b871868afa 100644
--- a/keyboards/lazydesigners/dimple/staggered/staggered.c
+++ b/keyboards/lazydesigners/dimple/staggered/staggered.c
@@ -14,10 +14,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "staggered.h"
-void dimple_led_on() {
+void dimple_led_on(void) {
writePinLow(E6);
}
- void dimple_led_off() {
+ void dimple_led_off(void) {
writePinHigh(E6);
}