aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/mt980/mt980.c
diff options
context:
space:
mode:
authorGravatar walkerstop <walkerstop@gmail.com>2019-03-14 08:21:41 -0700
committerGravatar MechMerlin <30334081+mechmerlin@users.noreply.github.com>2019-03-14 08:21:41 -0700
commitc3b4f65c640c217a0c9bf99d6b30982f966e585c (patch)
tree19dc526906daf8eedc4494e96a813c4a538f6d8e /keyboards/mt980/mt980.c
parentf9c5b80aedc1ef43baeff6a197dc1c3772e69618 (diff)
downloadqmk_firmware-c3b4f65c640c217a0c9bf99d6b30982f966e585c.tar.gz
Added info.json for mt980 keyboard and fixes to walker keymap (#5391)
* Added info.json and minor fixes to walker keymap * Fix url * Update keyboards/mt980/info.json Co-Authored-By: walkerstop <walkerstop@gmail.com> * Update keyboards/mt980/info.json Co-Authored-By: walkerstop <walkerstop@gmail.com> * Update keyboards/mt980/info.json Co-Authored-By: walkerstop <walkerstop@gmail.com> * Update keyboards/mt980/info.json Co-Authored-By: walkerstop <walkerstop@gmail.com> * Update keyboards/mt980/info.json Co-Authored-By: walkerstop <walkerstop@gmail.com> * Update keyboards/mt980/info.json Co-Authored-By: walkerstop <walkerstop@gmail.com> * Update keyboards/mt980/info.json Co-Authored-By: walkerstop <walkerstop@gmail.com> * Fix user calling keymap functions * cancel oneshot layer on KC_TRNS * Fix to oneshot layer handling * Fix oneshot handling of reset * Move bootmagic key to Esc where it normally resides * Remove deprecated function * Treat shift-numlock as shift-insert in Walker layer
Diffstat (limited to 'keyboards/mt980/mt980.c')
-rw-r--r--keyboards/mt980/mt980.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/keyboards/mt980/mt980.c b/keyboards/mt980/mt980.c
index 1b03d1aed..5461a3b21 100644
--- a/keyboards/mt980/mt980.c
+++ b/keyboards/mt980/mt980.c
@@ -17,8 +17,13 @@ uint32_t layer_state_set_keymap (uint32_t state) {
__attribute__ ((weak))
void led_set_keymap(uint8_t usb_led) {}
-__attribute__ ((weak))
-void action_function_keymap(keyrecord_t *record, uint8_t id, uint8_t opt) {}
+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 */