diff options
author | James Young <18669334+noroadsleft@users.noreply.github.com> | 2021-08-04 14:32:27 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-04 22:32:27 +0100 |
commit | f4c55db8dde8fb1590bff7661dae8718a29208b4 (patch) | |
tree | a8a3edd7fe3561c922906c2795f1033b04be56be /keyboards/ckeys/handwire_101/handwire_101.c | |
parent | 4445455c1fbbdc960e7b8ae5cfc6559712d0323a (diff) |
cKeys Handwire 101 Refactor (#13879)
* update info.json
- use human-friendly formatting
- remove `key_count` key
* rename LAYOUT to LAYOUT_ortho_4x4
* refactor default keymap
- add license header
- qmk cformat pass
- keycode grid alignment
* remove empty config.h file from default keymap
* update Manufacturer and Product strings
* tidy up handwire_101.c
- add license header
- remove boilerplate functions
* tidy up handwire_101.h
- add license header
- remove instructive comment
* minor rules.mk tidy-up
- remove Bootloader selection sample comments
* rewrite SEND_STRING() statements per fauxpark
Co-authored-by: Ryan <fauxpark@gmail.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'keyboards/ckeys/handwire_101/handwire_101.c')
-rwxr-xr-x | keyboards/ckeys/handwire_101/handwire_101.c | 43 |
1 files changed, 16 insertions, 27 deletions
diff --git a/keyboards/ckeys/handwire_101/handwire_101.c b/keyboards/ckeys/handwire_101/handwire_101.c index a6ff8f0e3d..7d251ddce6 100755 --- a/keyboards/ckeys/handwire_101/handwire_101.c +++ b/keyboards/ckeys/handwire_101/handwire_101.c @@ -1,28 +1,17 @@ -#include "handwire_101.h" - -void matrix_init_kb(void) { - // put your keyboard start-up code here - // runs once when the firmware starts up - // Turn status LED on - //DDRD |= (1<<6); - //PORTD |= (1<<6); - - matrix_init_user(); -} +/* Copyright 2019 Branden Byers + * + * 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 + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ -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); -} +#include "handwire_101.h" |