summaryrefslogtreecommitdiff
path: root/keyboards/tominabox1/le_chiffre/rev1
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/tominabox1/le_chiffre/rev1')
-rw-r--r--keyboards/tominabox1/le_chiffre/rev1/info.json30
-rw-r--r--keyboards/tominabox1/le_chiffre/rev1/rev1.c33
-rw-r--r--keyboards/tominabox1/le_chiffre/rev1/rules.mk17
3 files changed, 13 insertions, 67 deletions
diff --git a/keyboards/tominabox1/le_chiffre/rev1/info.json b/keyboards/tominabox1/le_chiffre/rev1/info.json
index 5222f4ea51..44982ecdf5 100644
--- a/keyboards/tominabox1/le_chiffre/rev1/info.json
+++ b/keyboards/tominabox1/le_chiffre/rev1/info.json
@@ -1,13 +1,7 @@
{
- "usb": {
- "device_version": "0.0.1"
- },
- "ws2812": {
- "pin": "F0"
- },
- "matrix_pins": {
- "cols": ["F4", "F5", "B0", "B2", "B1", "B4", "D7", "C7", "D2", "F7"],
- "rows": ["B3", "D4", "F1", "C6"]
+ "bootloader": "atmel-dfu",
+ "build": {
+ "lto": true
},
"diode_direction": "ROW2COL",
"encoder": {
@@ -15,11 +9,17 @@
{"pin_a": "D5", "pin_b": "D3"}
]
},
- "rgb_matrix": {
- "driver": "WS2812"
+ "matrix_pins": {
+ "cols": ["F4", "F5", "B0", "B2", "B1", "B4", "D7", "C7", "D2", "F7"],
+ "rows": ["B3", "D4", "F1", "C6"]
},
"processor": "atmega32u4",
- "bootloader": "atmel-dfu",
+ "usb": {
+ "device_version": "0.0.1"
+ },
+ "ws2812": {
+ "pin": "F0"
+ },
"layouts": {
"LAYOUT": {
"layout": [
@@ -34,34 +34,28 @@
{"matrix": [0, 7], "x": 8, "y": 0},
{"matrix": [0, 8], "x": 9, "y": 0},
{"matrix": [0, 9], "x": 10, "y": 0},
-
{"matrix": [1, 0], "x": 0, "y": 1},
{"matrix": [1, 1], "x": 1, "y": 1},
{"matrix": [1, 2], "x": 2, "y": 1},
{"matrix": [1, 3], "x": 3, "y": 1},
{"matrix": [1, 4], "x": 4, "y": 1},
-
{"matrix": [1, 5], "x": 6, "y": 1},
{"matrix": [1, 6], "x": 7, "y": 1},
{"matrix": [1, 7], "x": 8, "y": 1},
{"matrix": [1, 8], "x": 9, "y": 1},
{"matrix": [1, 9], "x": 10, "y": 1},
-
{"matrix": [2, 0], "x": 0, "y": 2},
{"matrix": [2, 1], "x": 1, "y": 2},
{"matrix": [2, 2], "x": 2, "y": 2},
{"matrix": [2, 3], "x": 3, "y": 2},
{"matrix": [2, 4], "x": 4, "y": 2},
-
{"matrix": [2, 5], "x": 6, "y": 2},
{"matrix": [2, 6], "x": 7, "y": 2},
{"matrix": [2, 7], "x": 8, "y": 2},
{"matrix": [2, 8], "x": 9, "y": 2},
{"matrix": [2, 9], "x": 10, "y": 2},
-
{"matrix": [3, 2], "x": 1.75, "y": 3, "w": 1.25},
{"matrix": [3, 4], "x": 3, "y": 3, "w": 2},
-
{"matrix": [3, 5], "x": 6, "y": 3, "w": 2},
{"matrix": [3, 7], "x": 8, "y": 3, "w": 1.25}
]
diff --git a/keyboards/tominabox1/le_chiffre/rev1/rev1.c b/keyboards/tominabox1/le_chiffre/rev1/rev1.c
deleted file mode 100644
index 66b0eb2f08..0000000000
--- a/keyboards/tominabox1/le_chiffre/rev1/rev1.c
+++ /dev/null
@@ -1,33 +0,0 @@
-/* Copyright 2020 tominabox1
- *
- * 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/>.
- */
-#include "quantum.h"
-
-#ifdef RGB_MATRIX_ENABLE
-led_config_t g_led_config = { {
- // Key Matrix to LED Index
- { 3, 4, NO_LED, 5, 6 },
- { NO_LED, NO_LED, 10, NO_LED, NO_LED },
- { NO_LED, NO_LED, 9, NO_LED, NO_LED },
- { 2, 1, 0, 8, 7 }
-}, {
-
- // LED Index to Physical Position
- { 128, 64 }, { 77, 64 }, { 0, 48 }, { 0, 0 }, { 115, 0 }, { 166, 0 }, { 255, 0 }, { 255, 48 }, { 178, 64 }, { 128, 40 }, { 128, 30 }
-}, {
-
- 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2
-} };
-#endif
diff --git a/keyboards/tominabox1/le_chiffre/rev1/rules.mk b/keyboards/tominabox1/le_chiffre/rev1/rules.mk
index 7d791dd396..6e7633bfe0 100644
--- a/keyboards/tominabox1/le_chiffre/rev1/rules.mk
+++ b/keyboards/tominabox1/le_chiffre/rev1/rules.mk
@@ -1,16 +1 @@
-# 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 = yes # Enable N-Key Rollover
-BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
-RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
-AUDIO_ENABLE = no # Audio output
-ENCODER_ENABLE = yes
-RGB_MATRIX_ENABLE = yes
-LTO_ENABLE = yes
-
+# This file intentionally left blank