summaryrefslogtreecommitdiff
path: root/keyboards/dotmod
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/dotmod')
-rw-r--r--keyboards/dotmod/dymium65/config.h4
-rw-r--r--keyboards/dotmod/dymium65/info.json114
-rw-r--r--keyboards/dotmod/dymium65/keymaps/default/keymap.c2
-rw-r--r--keyboards/dotmod/dymium65/keymaps/via/keymap.c2
4 files changed, 61 insertions, 61 deletions
diff --git a/keyboards/dotmod/dymium65/config.h b/keyboards/dotmod/dymium65/config.h
index 46d442fc87..fa5999ca48 100644
--- a/keyboards/dotmod/dymium65/config.h
+++ b/keyboards/dotmod/dymium65/config.h
@@ -22,10 +22,6 @@
/* Locking resynchronize hack */
#define LOCKING_RESYNC_ENABLE
-#define FORCE_NKRO
-
-// The pin connected to the data pin of the LEDs
-#define RGB_DI_PIN D7
// The number of LEDs connected
#define RGB_MATRIX_LED_COUNT 66
#define RGB_MATRIX_KEYPRESSES
diff --git a/keyboards/dotmod/dymium65/info.json b/keyboards/dotmod/dymium65/info.json
index 31f516507f..5149dd897f 100644
--- a/keyboards/dotmod/dymium65/info.json
+++ b/keyboards/dotmod/dymium65/info.json
@@ -6,23 +6,24 @@
"usb": {
"vid": "0x5678",
"pid": "0x5058",
- "device_version": "0.0.1"
+ "device_version": "0.0.1",
+ "force_nkro": true
},
"diode_direction": "ROW2COL",
"matrix_pins": {
- "cols": ["E6", "B0", "B1", "B2", "B3", "B7", "D2", "D3", "D5", "D4", "D6", "C6", "B4", "B5", "B6","E2"],
- "rows": ["F7", "F6", "F5", "F4", "F1","F0"]
+ "cols": ["E6", "B0", "B1", "B2", "B3", "B7", "D2", "D3", "D5", "D4", "D6", "C6", "B4", "B5", "B6", "E2"],
+ "rows": ["F7", "F6", "F5", "F4", "F1", "F0"]
},
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"features": {
- "bootmagic": true,
- "extrakey": true,
- "console": false,
- "command": false,
- "nkro": true,
- "mousekey": true,
- "rgb_matrix": true
+ "bootmagic": true,
+ "extrakey": true,
+ "console": false,
+ "command": false,
+ "nkro": true,
+ "mousekey": true,
+ "rgb_matrix": true
},
"build": {
"lto": true
@@ -33,6 +34,9 @@
{"pin_a": "C7", "pin_b": "D1"}
]
},
+ "ws2812": {
+ "pin": "D7"
+ },
"rgb_matrix": {
"driver": "WS2812",
"animations": {
@@ -56,76 +60,76 @@
"solid_reactive_nexus": true,
"splash": true
}
- },
+ },
"layouts": {
"LAYOUT": {
"layout": [
- {"matrix": [0, 0 ], "x": 0, "y": 0},
- {"matrix": [1, 1 ], "x": 1, "y": 0},
- {"matrix": [1, 2 ], "x": 2, "y": 0},
- {"matrix": [1, 3 ], "x": 3, "y": 0},
- {"matrix": [1, 4 ], "x": 4, "y": 0},
- {"matrix": [1, 5 ], "x": 5, "y": 0},
- {"matrix": [1, 6 ], "x": 6, "y": 0},
- {"matrix": [1, 7 ], "x": 7, "y": 0},
- {"matrix": [1, 8 ], "x": 8, "y": 0},
- {"matrix": [1, 9 ], "x": 9, "y": 0},
+ {"matrix": [0, 0], "x": 0, "y": 0},
+ {"matrix": [1, 1], "x": 1, "y": 0},
+ {"matrix": [1, 2], "x": 2, "y": 0},
+ {"matrix": [1, 3], "x": 3, "y": 0},
+ {"matrix": [1, 4], "x": 4, "y": 0},
+ {"matrix": [1, 5], "x": 5, "y": 0},
+ {"matrix": [1, 6], "x": 6, "y": 0},
+ {"matrix": [1, 7], "x": 7, "y": 0},
+ {"matrix": [1, 8], "x": 8, "y": 0},
+ {"matrix": [1, 9], "x": 9, "y": 0},
{"matrix": [1, 10], "x": 10, "y": 0},
{"matrix": [1, 11], "x": 11, "y": 0},
{"matrix": [1, 12], "x": 12, "y": 0},
{"matrix": [1, 13], "w": 2, "x": 13, "y": 0},
{"matrix": [4, 15], "x": 16, "y": 0},
- {"matrix": [2, 0 ], "w": 1.5, "x": 0, "y": 1},
- {"matrix": [2, 1 ], "x": 1.5, "y": 1},
- {"matrix": [2, 2 ], "x": 2.5, "y": 1},
- {"matrix": [2, 3 ], "x": 3.5, "y": 1},
- {"matrix": [2, 4 ], "x": 4.5, "y": 1},
- {"matrix": [2, 5 ], "x": 5.5, "y": 1},
- {"matrix": [2, 6 ], "x": 6.5, "y": 1},
- {"matrix": [2, 7 ], "x": 7.5, "y": 1},
- {"matrix": [2, 8 ], "x": 8.5, "y": 1},
- {"matrix": [2, 9 ], "x": 9.5, "y": 1},
+ {"matrix": [2, 0], "w": 1.5, "x": 0, "y": 1},
+ {"matrix": [2, 1], "x": 1.5, "y": 1},
+ {"matrix": [2, 2], "x": 2.5, "y": 1},
+ {"matrix": [2, 3], "x": 3.5, "y": 1},
+ {"matrix": [2, 4], "x": 4.5, "y": 1},
+ {"matrix": [2, 5], "x": 5.5, "y": 1},
+ {"matrix": [2, 6], "x": 6.5, "y": 1},
+ {"matrix": [2, 7], "x": 7.5, "y": 1},
+ {"matrix": [2, 8], "x": 8.5, "y": 1},
+ {"matrix": [2, 9], "x": 9.5, "y": 1},
{"matrix": [2, 10], "x": 10.5, "y": 1},
{"matrix": [2, 11], "x": 11.5, "y": 1},
{"matrix": [2, 12], "x": 12.5, "y": 1},
{"matrix": [2, 13], "w": 1.5, "x": 13.5, "y": 1},
{"matrix": [3, 14], "x": 16, "y": 1},
- {"matrix": [3, 0 ], "w": 1.75, "x": 0, "y": 2},
- {"matrix": [3, 1 ], "x": 1.75, "y": 2},
- {"matrix": [3, 2 ], "x": 2.75, "y": 2},
- {"matrix": [3, 3 ], "x": 3.75, "y": 2},
- {"matrix": [3, 4 ], "x": 4.75, "y": 2},
- {"matrix": [3, 5 ], "x": 5.75, "y": 2},
- {"matrix": [3, 6 ], "x": 6.75, "y": 2},
- {"matrix": [3, 7 ], "x": 7.75, "y": 2},
- {"matrix": [3, 8 ], "x": 8.75, "y": 2},
- {"matrix": [3, 9 ], "x": 9.75, "y": 2},
+ {"matrix": [3, 0], "w": 1.75, "x": 0, "y": 2},
+ {"matrix": [3, 1], "x": 1.75, "y": 2},
+ {"matrix": [3, 2], "x": 2.75, "y": 2},
+ {"matrix": [3, 3], "x": 3.75, "y": 2},
+ {"matrix": [3, 4], "x": 4.75, "y": 2},
+ {"matrix": [3, 5], "x": 5.75, "y": 2},
+ {"matrix": [3, 6], "x": 6.75, "y": 2},
+ {"matrix": [3, 7], "x": 7.75, "y": 2},
+ {"matrix": [3, 8], "x": 8.75, "y": 2},
+ {"matrix": [3, 9], "x": 9.75, "y": 2},
{"matrix": [3, 10], "x": 10.75, "y": 2},
{"matrix": [3, 11], "x": 11.75, "y": 2},
{"matrix": [3, 13], "w": 2.25, "x": 12.75, "y": 2},
{"matrix": [3, 15], "x": 16, "y": 2},
- {"matrix": [4, 0 ], "w": 2.25, "x": 0, "y": 3},
- {"matrix": [4, 2 ], "x": 2.25, "y": 3},
- {"matrix": [4, 3 ], "x": 3.25, "y": 3},
- {"matrix": [4, 4 ], "x": 4.25, "y": 3},
- {"matrix": [4, 5 ], "x": 5.25, "y": 3},
- {"matrix": [4, 6 ], "x": 6.25, "y": 3},
- {"matrix": [4, 7 ], "x": 7.25, "y": 3},
- {"matrix": [4, 8 ], "x": 8.25, "y": 3},
- {"matrix": [4, 9 ], "x": 9.25, "y": 3},
+ {"matrix": [4, 0], "w": 2.25, "x": 0, "y": 3},
+ {"matrix": [4, 2], "x": 2.25, "y": 3},
+ {"matrix": [4, 3], "x": 3.25, "y": 3},
+ {"matrix": [4, 4], "x": 4.25, "y": 3},
+ {"matrix": [4, 5], "x": 5.25, "y": 3},
+ {"matrix": [4, 6], "x": 6.25, "y": 3},
+ {"matrix": [4, 7], "x": 7.25, "y": 3},
+ {"matrix": [4, 8], "x": 8.25, "y": 3},
+ {"matrix": [4, 9], "x": 9.25, "y": 3},
{"matrix": [4, 10], "x": 10.25, "y": 3},
{"matrix": [4, 11], "x": 11.25, "y": 3},
{"matrix": [4, 13], "w": 1.75, "x": 12.25, "y": 3},
{"matrix": [4, 14], "x": 15.25, "y": 3},
- {"matrix": [5, 0 ], "w": 1.25, "x": 0, "y": 4},
- {"matrix": [5, 1 ], "w": 1.25, "x": 1.25, "y": 4},
- {"matrix": [5, 2 ], "w": 1.25, "x": 2.5, "y": 4},
- {"matrix": [5, 6 ], "w": 6.25, "x": 3.75, "y": 4},
- {"matrix": [5, 9 ], "x": 10, "y": 4},
+ {"matrix": [5, 0], "w": 1.25, "x": 0, "y": 4},
+ {"matrix": [5, 1], "w": 1.25, "x": 1.25, "y": 4},
+ {"matrix": [5, 2], "w": 1.25, "x": 2.5, "y": 4},
+ {"matrix": [5, 6], "w": 6.25, "x": 3.75, "y": 4},
+ {"matrix": [5, 9], "x": 10, "y": 4},
{"matrix": [5, 10], "x": 11, "y": 4},
{"matrix": [5, 12], "x": 12, "y": 4},
{"matrix": [5, 13], "x": 14.25, "y": 4},
diff --git a/keyboards/dotmod/dymium65/keymaps/default/keymap.c b/keyboards/dotmod/dymium65/keymaps/default/keymap.c
index 483746b53f..e18c3b5b23 100644
--- a/keyboards/dotmod/dymium65/keymaps/default/keymap.c
+++ b/keyboards/dotmod/dymium65/keymaps/default/keymap.c
@@ -62,7 +62,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
#if defined(ENCODER_MAP_ENABLE)
-const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
+const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[_BASE] = { ENCODER_CCW_CW(KC_AUDIO_VOL_DOWN, KC_AUDIO_VOL_UP) },
[_FN] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI) },
[_LN] = { ENCODER_CCW_CW(RGB_SAD, RGB_SAI) },
diff --git a/keyboards/dotmod/dymium65/keymaps/via/keymap.c b/keyboards/dotmod/dymium65/keymaps/via/keymap.c
index 483746b53f..e18c3b5b23 100644
--- a/keyboards/dotmod/dymium65/keymaps/via/keymap.c
+++ b/keyboards/dotmod/dymium65/keymaps/via/keymap.c
@@ -62,7 +62,7 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
#if defined(ENCODER_MAP_ENABLE)
-const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][2] = {
+const uint16_t PROGMEM encoder_map[][NUM_ENCODERS][NUM_DIRECTIONS] = {
[_BASE] = { ENCODER_CCW_CW(KC_AUDIO_VOL_DOWN, KC_AUDIO_VOL_UP) },
[_FN] = { ENCODER_CCW_CW(RGB_VAD, RGB_VAI) },
[_LN] = { ENCODER_CCW_CW(RGB_SAD, RGB_SAI) },