summaryrefslogtreecommitdiff
path: root/keyboards/crypt_macro
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/crypt_macro')
-rw-r--r--keyboards/crypt_macro/config.h1
-rw-r--r--keyboards/crypt_macro/info.json12
-rw-r--r--keyboards/crypt_macro/rules.mk1
3 files changed, 8 insertions, 6 deletions
diff --git a/keyboards/crypt_macro/config.h b/keyboards/crypt_macro/config.h
index 665340e7af..bc7cf57dcf 100644
--- a/keyboards/crypt_macro/config.h
+++ b/keyboards/crypt_macro/config.h
@@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_DMA_CHANNEL 3
#define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB
-#define RGB_DI_PIN B4
#define RGBLED_NUM 11
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
diff --git a/keyboards/crypt_macro/info.json b/keyboards/crypt_macro/info.json
index c26bf041fa..8dcd2e264e 100644
--- a/keyboards/crypt_macro/info.json
+++ b/keyboards/crypt_macro/info.json
@@ -8,6 +8,10 @@
"pid": "0x434D",
"device_version": "0.0.1"
},
+ "ws2812": {
+ "pin": "B4",
+ "driver": "pwm"
+ },
"processor": "STM32F072",
"bootloader": "stm32-dfu",
"matrix_pins": {
@@ -19,10 +23,10 @@
"layouts": {
"LAYOUT": {
"layout": [
- {"x":0, "y":0, "matrix": [0, 0]},
- {"x":1, "y":0, "matrix": [0, 1]},
- {"x":2, "y":0, "matrix": [0, 2]},
- {"x":0.5, "y":1, "w":2, "matrix": [1, 1]}
+ {"x": 0, "y": 0, "matrix": [0, 0]},
+ {"x": 1, "y": 0, "matrix": [0, 1]},
+ {"x": 2, "y": 0, "matrix": [0, 2]},
+ {"x": 0.5, "y": 1, "w": 2, "matrix": [1, 1]}
]
}
}
diff --git a/keyboards/crypt_macro/rules.mk b/keyboards/crypt_macro/rules.mk
index f430af42f4..000ee78e21 100644
--- a/keyboards/crypt_macro/rules.mk
+++ b/keyboards/crypt_macro/rules.mk
@@ -17,5 +17,4 @@ COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
-WS2812_DRIVER = pwm # Driver for RGB uderglow
AUDIO_ENABLE = no # Audio output