aboutsummaryrefslogtreecommitdiff
path: root/keyboards/duck/jetfire
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/duck/jetfire')
-rw-r--r--keyboards/duck/jetfire/indicator_leds.c5
-rw-r--r--keyboards/duck/jetfire/indicator_leds.h2
-rw-r--r--keyboards/duck/jetfire/keyboard.json (renamed from keyboards/duck/jetfire/info.json)9
-rw-r--r--keyboards/duck/jetfire/rules.mk13
4 files changed, 12 insertions, 17 deletions
diff --git a/keyboards/duck/jetfire/indicator_leds.c b/keyboards/duck/jetfire/indicator_leds.c
index 7dbdb1ff79..200a9ce6ff 100644
--- a/keyboards/duck/jetfire/indicator_leds.c
+++ b/keyboards/duck/jetfire/indicator_leds.c
@@ -12,13 +12,10 @@ You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#include "indicator_leds.h"
#include <avr/interrupt.h>
#include <avr/io.h>
-#include <stdbool.h>
#include <util/delay.h>
-#include <stdint.h>
-#include "indicator_leds.h"
-#include "quantum.h"
#define LED_T1H 900
#define LED_T1L 600
diff --git a/keyboards/duck/jetfire/indicator_leds.h b/keyboards/duck/jetfire/indicator_leds.h
index 36dda632fb..27dcc1535b 100644
--- a/keyboards/duck/jetfire/indicator_leds.h
+++ b/keyboards/duck/jetfire/indicator_leds.h
@@ -1,5 +1,7 @@
#pragma once
+#include <stdint.h>
+#include <stdbool.h>
#include "duck_led/duck_led.h"
void backlight_init_ports(void);
diff --git a/keyboards/duck/jetfire/info.json b/keyboards/duck/jetfire/keyboard.json
index fbd5d8cb14..a97ff193a8 100644
--- a/keyboards/duck/jetfire/info.json
+++ b/keyboards/duck/jetfire/keyboard.json
@@ -35,6 +35,15 @@
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
+ "features": {
+ "bootmagic": true,
+ "mousekey": false,
+ "extrakey": false,
+ "console": true,
+ "command": true,
+ "backlight": true,
+ "rgblight": true
+ },
"layouts": {
"LAYOUT_all": {
"layout": [
diff --git a/keyboards/duck/jetfire/rules.mk b/keyboards/duck/jetfire/rules.mk
index 2689836623..8d6e39eef1 100644
--- a/keyboards/duck/jetfire/rules.mk
+++ b/keyboards/duck/jetfire/rules.mk
@@ -1,16 +1,3 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = no # Mouse keys
-EXTRAKEY_ENABLE = no # Audio control and System control
-CONSOLE_ENABLE = yes # Console for debug
-COMMAND_ENABLE = yes # Commands for debug and configuration
-NKRO_ENABLE = no # Enable N-Key Rollover
-BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-
CUSTOM_MATRIX = yes
SRC += indicator_leds.c \
matrix.c duck_led/duck_led.c