aboutsummaryrefslogtreecommitdiffstats
path: root/keyboards/bigseries/2key/2key.c
diff options
context:
space:
mode:
authorAlex Ong <the.onga@gmail.com>2019-01-04 19:39:14 +1100
committerAlex Ong <the.onga@gmail.com>2019-01-04 19:39:14 +1100
commit47c91fc7f75ae0a477e55b687aa0fc30da0a283c (patch)
tree65ad39452748ff2e6d4a83ce54ede6ca22c9ada9 /keyboards/bigseries/2key/2key.c
parentac9b88e8ccbbf38762871504cd827ff0d941c426 (diff)
parent563ce3f225d981ce460c12ca5130dfe47af41df0 (diff)
downloadfirmware-47c91fc7f75ae0a477e55b687aa0fc30da0a283c.tar.gz
firmware-47c91fc7f75ae0a477e55b687aa0fc30da0a283c.tar.bz2
firmware-47c91fc7f75ae0a477e55b687aa0fc30da0a283c.zip
Merge branch 'master' of https://github.com/qmk/qmk_firmware
Diffstat (limited to 'keyboards/bigseries/2key/2key.c')
-rwxr-xr-xkeyboards/bigseries/2key/2key.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/keyboards/bigseries/2key/2key.c b/keyboards/bigseries/2key/2key.c
new file mode 100755
index 000000000..cffb71907
--- /dev/null
+++ b/keyboards/bigseries/2key/2key.c
@@ -0,0 +1,26 @@
+/*
+Copyright 2018 Cole Markham
+
+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/>.
+*/
+#include "2key.h"
+
+void matrix_scan_kb(void) {
+ // Looping keyboard code goes here
+ // This runs every cycle (a lot)
+ matrix_scan_user();
+#ifdef BACKLIGHT_ENABLE
+ backlight_task();
+#endif
+};