diff options
Diffstat (limited to 'keyboards/fc980c')
-rw-r--r-- | keyboards/fc980c/config.h | 22 | ||||
-rw-r--r-- | keyboards/fc980c/info.json | 8 | ||||
-rw-r--r-- | keyboards/fc980c/keymaps/actuation-point-example/config.h | 1 | ||||
-rw-r--r-- | keyboards/fc980c/keymaps/coloneljesus/config.h | 1 | ||||
-rw-r--r-- | keyboards/fc980c/matrix.c | 4 | ||||
-rw-r--r-- | keyboards/fc980c/rules.mk | 6 |
6 files changed, 10 insertions, 32 deletions
diff --git a/keyboards/fc980c/config.h b/keyboards/fc980c/config.h index 68c14ea61c..6356dd64ee 100644 --- a/keyboards/fc980c/config.h +++ b/keyboards/fc980c/config.h @@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #pragma once -#include "config_common.h" /* Maximum dynamic keymap layers (constrained by EEPROM space) */ #define DYNAMIC_KEYMAP_LAYER_COUNT 3 @@ -31,27 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. //#define DIODE_DIRECTION -/* define if matrix has ghost */ -//#define MATRIX_HAS_GHOST - -/* number of backlight levels */ -// #define BACKLIGHT_LEVELS 1 - -/* mapping backlight LEDs to correct Pin */ -// #define BACKLIGHT_PIN B7 - -/* Set 0 if debouncing isn't needed */ -#define DEBOUNCE 0 - -#define LED_NUM_LOCK_PIN B4 -#define LED_CAPS_LOCK_PIN B5 -#define LED_SCROLL_LOCK_PIN B6 - -/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ -// #define LOCKING_SUPPORT_ENABLE -/* Locking resynchronize hack */ -// #define LOCKING_RESYNC_ENABLE - /* * Feature disable options * These options are also useful to firmware size reduction. diff --git a/keyboards/fc980c/info.json b/keyboards/fc980c/info.json index 043df7a944..50cd3b9b27 100644 --- a/keyboards/fc980c/info.json +++ b/keyboards/fc980c/info.json @@ -8,6 +8,14 @@ "pid": "0x980C", "device_version": "1.0.0" }, + "indicators": { + "caps_lock": "B5", + "num_lock": "B4", + "scroll_lock": "B6" + }, + "processor": "atmega32u4", + "bootloader": "atmel-dfu", + "debounce": 0, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/fc980c/keymaps/actuation-point-example/config.h b/keyboards/fc980c/keymaps/actuation-point-example/config.h index 6c9893f422..c2a538b6ae 100644 --- a/keyboards/fc980c/keymaps/actuation-point-example/config.h +++ b/keyboards/fc980c/keymaps/actuation-point-example/config.h @@ -17,7 +17,6 @@ #ifndef CONFIG_USER_H #define CONFIG_USER_H -#include "config_common.h" // place overrides here diff --git a/keyboards/fc980c/keymaps/coloneljesus/config.h b/keyboards/fc980c/keymaps/coloneljesus/config.h index da86595b3d..9d47e9b3e5 100644 --- a/keyboards/fc980c/keymaps/coloneljesus/config.h +++ b/keyboards/fc980c/keymaps/coloneljesus/config.h @@ -17,7 +17,6 @@ #ifndef CONFIG_USER_H #define CONFIG_USER_H -#include "config_common.h" // place overrides here diff --git a/keyboards/fc980c/matrix.c b/keyboards/fc980c/matrix.c index 6cdd9cf42e..f5c3ec08c7 100644 --- a/keyboards/fc980c/matrix.c +++ b/keyboards/fc980c/matrix.c @@ -122,7 +122,7 @@ void matrix_init(void) for (uint8_t i=0; i < MATRIX_ROWS; i++) _matrix1[i] = 0x00; matrix = _matrix0; matrix_prev = _matrix1; - matrix_init_quantum(); + matrix_init_kb(); } uint8_t matrix_scan(void) @@ -182,7 +182,7 @@ uint8_t matrix_scan(void) matrix_last_modified = timer_read32(); } } - matrix_scan_quantum(); + matrix_scan_kb(); return 1; } diff --git a/keyboards/fc980c/rules.mk b/keyboards/fc980c/rules.mk index b1b11676bb..ed4a7ca66d 100644 --- a/keyboards/fc980c/rules.mk +++ b/keyboards/fc980c/rules.mk @@ -1,9 +1,3 @@ -# MCU name -MCU = atmega32u4 - -# Bootloader selection -BOOTLOADER = atmel-dfu - # Build Options # change yes to no to disable # |