diff options
Diffstat (limited to 'keyboards/teleport')
-rw-r--r-- | keyboards/teleport/native/ansi/ansi.c | 24 | ||||
-rw-r--r-- | keyboards/teleport/native/config.h | 1 | ||||
-rw-r--r-- | keyboards/teleport/native/info.json | 1 | ||||
-rw-r--r-- | keyboards/teleport/native/iso/iso.c | 24 | ||||
-rw-r--r-- | keyboards/teleport/numpad/config.h | 4 | ||||
-rw-r--r-- | keyboards/teleport/numpad/info.json | 3 | ||||
-rw-r--r-- | keyboards/teleport/numpad/rules.mk | 8 |
7 files changed, 27 insertions, 38 deletions
diff --git a/keyboards/teleport/native/ansi/ansi.c b/keyboards/teleport/native/ansi/ansi.c index d053ed88eb..8b243d8a07 100644 --- a/keyboards/teleport/native/ansi/ansi.c +++ b/keyboards/teleport/native/ansi/ansi.c @@ -19,18 +19,18 @@ #ifdef RGB_MATRIX_ENABLE led_config_t g_led_config = { { // Key Matrix to LED Index, LED 61 omitted on ANSI - { 0, 2, 4, 6, 8, 10, 12, 14 }, \ - { 1, 3, 5, 7, 9, 11, 13, 15 }, \ - { 16, 18, 20, 22, 24, 26, 28, NO_LED }, \ - { 17, 19, 21, 23, 25, 27, 29, 30 }, \ - { 31, 32, 34, 36, 38, 40, 42, 44 }, \ - { NO_LED, 33, 35, 37, 39, 41, 43, 45 }, \ - { 46, 48, 50, 52, 54, 56, NO_LED, 58 }, \ - { 47, 49, 51, 53, 55, 57, NO_LED, 59 }, \ - { 60, 62, 64, 66, 68, 70, NO_LED, 73 }, \ - { NO_LED, 63, 65, 67, 69, 71, 72, 74 }, \ - { 75, 78, NO_LED, NO_LED, NO_LED, 79, 81, 83 }, \ - { 76, 77, NO_LED, NO_LED, NO_LED, 80, 82, 84 } \ + { 0, 2, 4, 6, 8, 10, 12, 14 }, + { 1, 3, 5, 7, 9, 11, 13, 15 }, + { 16, 18, 20, 22, 24, 26, 28, NO_LED }, + { 17, 19, 21, 23, 25, 27, 29, 30 }, + { 31, 32, 34, 36, 38, 40, 42, 44 }, + { NO_LED, 33, 35, 37, 39, 41, 43, 45 }, + { 46, 48, 50, 52, 54, 56, NO_LED, 58 }, + { 47, 49, 51, 53, 55, 57, NO_LED, 59 }, + { 60, 62, 64, 66, 68, 70, NO_LED, 73 }, + { NO_LED, 63, 65, 67, 69, 71, 72, 74 }, + { 75, 78, NO_LED, NO_LED, NO_LED, 79, 81, 83 }, + { 76, 77, NO_LED, NO_LED, NO_LED, 80, 82, 84 } }, { // LED Index to Physical Position, the LED at { 0,0 } in row 5 is there to catch a non-existing LED on ANSI { 0,0 }, { 15,0 }, { 30,0 }, { 45,0 }, { 60,0 }, { 75,0 }, { 90,0 }, {105,0 }, {119,0 }, {134,0 }, {149,0 }, {164,0 }, {179,0 }, {194,0 }, {209,0 }, {224,0 }, diff --git a/keyboards/teleport/native/config.h b/keyboards/teleport/native/config.h index 681b9e8001..70b09da4f1 100644 --- a/keyboards/teleport/native/config.h +++ b/keyboards/teleport/native/config.h @@ -14,7 +14,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#include "config_common.h" /* Enable NKRO by default*/ #define FORCE_NKRO diff --git a/keyboards/teleport/native/info.json b/keyboards/teleport/native/info.json index cc21b22e02..9cd26aa690 100644 --- a/keyboards/teleport/native/info.json +++ b/keyboards/teleport/native/info.json @@ -18,7 +18,6 @@ "mousekey": false, "nkro": true }, - "debounce": 5, "diode_direction": "ROW2COL", "matrix_pins": { "cols": [ "A5", "A4", "B12", "B14", "B8", "B3", "B4", "B5" ], diff --git a/keyboards/teleport/native/iso/iso.c b/keyboards/teleport/native/iso/iso.c index a30f3c3b53..f3bfbfb3a1 100644 --- a/keyboards/teleport/native/iso/iso.c +++ b/keyboards/teleport/native/iso/iso.c @@ -19,18 +19,18 @@ #ifdef RGB_MATRIX_ENABLE led_config_t g_led_config = { { // Key Matrix to LED Index - { 0, 2, 4, 6, 8, 10, 12, 14 }, \ - { 1, 3, 5, 7, 9, 11, 13, 15 }, \ - { 16, 18, 20, 22, 24, 26, 28, NO_LED }, \ - { 17, 19, 21, 23, 25, 27, 29, 30 }, \ - { 31, 32, 34, 36, 38, 40, 42, 44 }, \ - { NO_LED, 33, 35, 37, 39, 41, 43, 45 }, \ - { 46, 48, 50, 52, 54, 56, NO_LED, 58 }, \ - { 47, 49, 51, 53, 55, 57, NO_LED, 59 }, \ - { 60, 62, 64, 66, 68, 70, NO_LED, 73 }, \ - { 61, 63, 65, 67, 69, 71, 72, 74 }, \ - { 75, 78, NO_LED, NO_LED, NO_LED, 79, 81, 83 }, \ - { 76, 77, NO_LED, NO_LED, NO_LED, 80, 82, 84 } \ + { 0, 2, 4, 6, 8, 10, 12, 14 }, + { 1, 3, 5, 7, 9, 11, 13, 15 }, + { 16, 18, 20, 22, 24, 26, 28, NO_LED }, + { 17, 19, 21, 23, 25, 27, 29, 30 }, + { 31, 32, 34, 36, 38, 40, 42, 44 }, + { NO_LED, 33, 35, 37, 39, 41, 43, 45 }, + { 46, 48, 50, 52, 54, 56, NO_LED, 58 }, + { 47, 49, 51, 53, 55, 57, NO_LED, 59 }, + { 60, 62, 64, 66, 68, 70, NO_LED, 73 }, + { 61, 63, 65, 67, 69, 71, 72, 74 }, + { 75, 78, NO_LED, NO_LED, NO_LED, 79, 81, 83 }, + { 76, 77, NO_LED, NO_LED, NO_LED, 80, 82, 84 } }, { // LED Index to Physical Position { 0,0 }, { 15,0 }, { 30,0 }, { 45,0 }, { 60,0 }, { 75,0 }, { 90,0 }, {105,0 }, {119,0 }, {134,0 }, {149,0 }, {164,0 }, {179,0 }, {194,0 }, {209,0 }, {224,0 }, diff --git a/keyboards/teleport/numpad/config.h b/keyboards/teleport/numpad/config.h index 6294ac7e5f..a257c6e9a5 100644 --- a/keyboards/teleport/numpad/config.h +++ b/keyboards/teleport/numpad/config.h @@ -14,7 +14,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#include "config_common.h" /* key matrix size */ #define MATRIX_ROWS 5 @@ -26,6 +25,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* COL2ROW, ROW2COL*/ #define DIODE_DIRECTION COL2ROW - -/* Debounce reduces chatter (unintended double-presses) - set 0 if debouncing is not needed */ -#define DEBOUNCE 5 diff --git a/keyboards/teleport/numpad/info.json b/keyboards/teleport/numpad/info.json index 8e26aa7789..a600c0f44b 100644 --- a/keyboards/teleport/numpad/info.json +++ b/keyboards/teleport/numpad/info.json @@ -7,6 +7,9 @@ "pid": "0x0001", "device_version": "0.0.1" }, + "processor": "atmega32u4", + "bootloader": "atmel-dfu", + "community_layouts": ["numpad_5x4"], "layouts": { "LAYOUT_numpad_5x4": { "layout": [ diff --git a/keyboards/teleport/numpad/rules.mk b/keyboards/teleport/numpad/rules.mk index 2d44d1885c..1304f50391 100644 --- a/keyboards/teleport/numpad/rules.mk +++ b/keyboards/teleport/numpad/rules.mk @@ -1,9 +1,3 @@ -# MCU name -MCU = atmega32u4 - -# Bootloader selection -BOOTLOADER = atmel-dfu - # Build Options # change yes to no to disable # @@ -15,5 +9,3 @@ 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 - -LAYOUTS = numpad_5x4 |