summaryrefslogtreecommitdiff
path: root/keyboards/ckeys/handwire_101/handwire_101.h
diff options
context:
space:
mode:
authorJames Young <18669334+noroadsleft@users.noreply.github.com>2021-08-04 14:32:27 -0700
committerGitHub <noreply@github.com>2021-08-04 22:32:27 +0100
commitf4c55db8dde8fb1590bff7661dae8718a29208b4 (patch)
treea8a3edd7fe3561c922906c2795f1033b04be56be /keyboards/ckeys/handwire_101/handwire_101.h
parent4445455c1fbbdc960e7b8ae5cfc6559712d0323a (diff)
downloadqmk_firmware-f4c55db8dde8fb1590bff7661dae8718a29208b4.tar.gz
qmk_firmware-f4c55db8dde8fb1590bff7661dae8718a29208b4.zip
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.h')
-rwxr-xr-xkeyboards/ckeys/handwire_101/handwire_101.h23
1 files changed, 17 insertions, 6 deletions
diff --git a/keyboards/ckeys/handwire_101/handwire_101.h b/keyboards/ckeys/handwire_101/handwire_101.h
index 0f0309c324..5d6ef6ff09 100755
--- a/keyboards/ckeys/handwire_101/handwire_101.h
+++ b/keyboards/ckeys/handwire_101/handwire_101.h
@@ -1,12 +1,24 @@
+/* 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/>.
+ */
+
#pragma once
#include "quantum.h"
-// This a shortcut to help you visually see your layout.
-// The following is an example using the Planck MIT layout
-// The first section contains all of the arguements
-// The second converts the arguments into a two-dimensional array
-#define LAYOUT( \
+#define LAYOUT_ortho_4x4( \
k00, k01, k02, k03, \
k10, k11, k12, k13, \
k20, k21, k22, k23, \
@@ -18,4 +30,3 @@
{ k20, k21, k22, k23 }, \
{ k30, k31, k32, k33 } \
}
-