summaryrefslogtreecommitdiff
path: root/keyboards/mt980/mt980.c
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2019-04-09 08:58:11 -0700
committerDrashna Jaelre <drashna@live.com>2019-04-09 08:58:11 -0700
commitb6850bc043b1d129042f47501f0a1dc1e196f962 (patch)
treea0a772f278c3c494db3bc69103955af5561e1cae /keyboards/mt980/mt980.c
parent19ed62114a1f5d20aacb9cbe83105e977b9a2971 (diff)
remove all keyboards but ergodox and planck
Diffstat (limited to 'keyboards/mt980/mt980.c')
-rw-r--r--keyboards/mt980/mt980.c65
1 files changed, 0 insertions, 65 deletions
diff --git a/keyboards/mt980/mt980.c b/keyboards/mt980/mt980.c
deleted file mode 100644
index 5461a3b21f..0000000000
--- a/keyboards/mt980/mt980.c
+++ /dev/null
@@ -1,65 +0,0 @@
-#include "mt980.h"
-
-__attribute__ ((weak))
-void matrix_init_keymap(void) {}
-
-__attribute__ ((weak))
-void matrix_scan_keymap(void) {}
-
-__attribute__ ((weak))
-bool process_record_keymap(uint16_t keycode, keyrecord_t *record) {
- return true;
-}
-__attribute__ ((weak))
-uint32_t layer_state_set_keymap (uint32_t state) {
- return state;
-}
-__attribute__ ((weak))
-void led_set_keymap(uint8_t usb_led) {}
-
-void matrix_init_user(void) {
- matrix_init_keymap();
-}
-
-void matrix_scan_user(void) {
- matrix_scan_keymap();
-}
-
-void keyboard_pre_init_user(void) {
- /* Set NUMLOCK indicator pin as output */
- setPinOutput(C6);
- /* Set CAPSLOCK indicator pin as output */
- setPinOutput(C7);
- /* Set SCROLLOCK indicator pin as output */
- setPinOutput(B5);
-}
-
-bool process_record_user(uint16_t keycode, keyrecord_t *record) {
- return process_record_keymap(keycode, record);
-}
-
-void led_set_user(uint8_t usb_led) {
-
- if (IS_LED_ON(usb_led, USB_LED_NUM_LOCK)) {
- writePinLow(C6);
- }
- else {
- writePinHigh(C6);
- }
-
- if (IS_LED_ON(usb_led, USB_LED_CAPS_LOCK)) {
- writePinLow(C7);
- }
- else {
- writePinHigh(C7);
- }
-
- if (IS_LED_ON(usb_led, USB_LED_SCROLL_LOCK)) {
- writePinLow(B5);
- }
- else {
- writePinHigh(B5);
- }
-
- led_set_keymap(usb_led);
-}