aboutsummaryrefslogtreecommitdiff
path: root/keyboards/molecule
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/molecule')
-rw-r--r--keyboards/molecule/adns.c2
-rw-r--r--keyboards/molecule/adns.h2
-rwxr-xr-xkeyboards/molecule/keyboard.json (renamed from keyboards/molecule/info.json)6
-rwxr-xr-xkeyboards/molecule/rules.mk14
4 files changed, 9 insertions, 15 deletions
diff --git a/keyboards/molecule/adns.c b/keyboards/molecule/adns.c
index 96fc83ee0b..0648193557 100644
--- a/keyboards/molecule/adns.c
+++ b/keyboards/molecule/adns.c
@@ -16,7 +16,7 @@
#include "spi_master.h"
#include "adns.h"
#include "debug.h"
-#include "quantum.h"
+#include "wait.h"
#include "pointing_device.h"
#include "adns9800_srom_A6.h"
diff --git a/keyboards/molecule/adns.h b/keyboards/molecule/adns.h
index d684d3cbcb..e557aeb2ec 100644
--- a/keyboards/molecule/adns.h
+++ b/keyboards/molecule/adns.h
@@ -15,6 +15,8 @@
*/
#pragma once
+#include <stdint.h>
+
void adns_begin(void);
void adns_end(void);
diff --git a/keyboards/molecule/info.json b/keyboards/molecule/keyboard.json
index 51ca67c282..f3bd818122 100755
--- a/keyboards/molecule/info.json
+++ b/keyboards/molecule/keyboard.json
@@ -8,6 +8,12 @@
"pid": "0x0000",
"device_version": "0.0.1"
},
+ "features": {
+ "bootmagic": true,
+ "mousekey": true,
+ "extrakey": true,
+ "pointing_device": true
+ },
"matrix_pins": {
"cols": ["D3", "D2", "D1", "D0", "D4", "C6", "D7", "E6", "B4", "B5"],
"rows": ["F4", "F5", "F6", "B6"]
diff --git a/keyboards/molecule/rules.mk b/keyboards/molecule/rules.mk
index 06a8f490ee..3272be5a9b 100755
--- a/keyboards/molecule/rules.mk
+++ b/keyboards/molecule/rules.mk
@@ -1,18 +1,4 @@
-# Build Options
-# change yes to no to disable
-#
-BOOTMAGIC_ENABLE = yes # Enable Bootmagic Lite
-MOUSEKEY_ENABLE = yes # Mouse keys
-EXTRAKEY_ENABLE = yes # Audio control and System control
-CONSOLE_ENABLE = no # Console for debug
-COMMAND_ENABLE = no # Commands for debug and configuration
-NKRO_ENABLE = no # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-
# Add trackball support
-POINTING_DEVICE_ENABLE = yes
POINTING_DEVICE_DRIVER = custom
SRC += adns.c
SPI_DRIVER_REQUIRED = yes