diff options
author | Rozakiin <6567067+Rozakiin@users.noreply.github.com> | 2020-06-18 21:14:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-18 13:14:09 -0700 |
commit | 7be65f2cd04c90ee5146139509762baa3f286520 (patch) | |
tree | db8607731a92a74a30663163b96a8c4b54c6ba29 /keyboards/noxary/220/220.c | |
parent | 016b4be7515797e28b586fca731c092814339f7d (diff) | |
download | qmk_firmware-7be65f2cd04c90ee5146139509762baa3f286520.tar.gz |
Add VIA support to Noxary 220 and Update Noxary 280 for readability (#9348)
* Update noxary 220 readme.md
* Update Noxary 280 readme.md
add heading and spelling
* Update spelling of Noxary 280 keymap copyright
* Update Noxary 280 config.h
change product ID and product name, remove commented code
* Change MCU name and disable Mousekey
* Update Noxary 220 config.h
Change vendor ID, Product ID, Product name and desc, remove commented code
* Update 220.h
change LAYOUT_ortho_6x4 to LAYOUT, change copyrght to Rozakiin
* Change LED indicator function
update copyright to Rozakiin
* Add via keymap
* Update Noxary 220 default keymap for readability and numpad codes
* Update all Noxary 220 readme.md to conform to QMK templates
* Update Noxary 280 readme.md to conform to QMK template
* Disable console and command, and enable link time optimisation for VIA
* Update Noxary 280 keymaps for better readability
* Update keyboards/noxary/220/keymaps/default/keymap.c
* Update keyboards/noxary/220/220.h
* Update keyboards/noxary/220/keymaps/default/keymap.c
* Update keyboards/noxary/220/keymaps/default/keymap.c
* Update keyboards/noxary/220/keymaps/via/rules.mk
* Update keyboards/noxary/280/keymaps/default/keymap.c
* Update keyboards/noxary/280/keymaps/via/rules.mk
* Update keyboards/noxary/220/rules.mk
* Update keyboards/noxary/280/keymaps/via/keymap.c
* Update keyboards/noxary/220/keymaps/default/keymap.c
* Update keyboards/noxary/220/keymaps/default/keymap.c
* Update keyboards/noxary/220/keymaps/via/keymap.c
* Update keyboards/noxary/220/keymaps/via/keymap.c
* Update keyboards/noxary/220/keymaps/via/keymap.c
* Update keyboards/noxary/220/keymaps/via/keymap.c
* Update keyboards/noxary/220/keymaps/via/keymap.c
* Update keyboards/noxary/280/config.h
* Update keyboards/noxary/220/rules.mk
* Update keyboards/noxary/220/config.h
* Update keyboards/noxary/280/readme.md
Change layout links to ones with background removed
Diffstat (limited to 'keyboards/noxary/220/220.c')
-rw-r--r-- | keyboards/noxary/220/220.c | 40 |
1 files changed, 6 insertions, 34 deletions
diff --git a/keyboards/noxary/220/220.c b/keyboards/noxary/220/220.c index e671e15a4..0af57ff36 100644 --- a/keyboards/noxary/220/220.c +++ b/keyboards/noxary/220/220.c @@ -1,4 +1,4 @@ -/* Copyright 2019 MechMerlin +/* Copyright 2020 Rozakiin * * 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 @@ -26,37 +26,9 @@ void matrix_init_kb(void) { matrix_init_user(); } - -/* - -void matrix_scan_kb(void) { - // put your looping keyboard code here - // runs every cycle (a lot) - - matrix_scan_user(); -} - -bool process_record_kb(uint16_t keycode, keyrecord_t *record) { - // put your per-action keyboard code here - // runs for every action, just before processing by the firmware - - return process_record_user(keycode, record); -} - -void led_set_kb(uint8_t usb_led) { - // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here - - led_set_user(usb_led); -} - -*/ - -void led_set_kb(uint8_t usb_led) { - // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here - if (IS_LED_ON(usb_led, USB_LED_NUM_LOCK)) { - writePinLow(C6); - } else { - writePinHigh(C6); - } - led_set_user(usb_led); +bool led_update_kb(led_t led_state) { + if(led_update_user(led_state)) { + writePin(C6, led_state.num_lock); + } + return true; }
\ No newline at end of file |