aboutsummaryrefslogtreecommitdiff
path: root/keyboards/dp60/matrix.c
diff options
context:
space:
mode:
authoryulei <yuleiz@gmail.com>2020-11-06 13:36:04 +0800
committerGitHub <noreply@github.com>2020-11-05 21:36:04 -0800
commitd7c90d805f414198a44d1b714363721df38950d6 (patch)
tree59272ae6712596bd5fb81d7d79e343681456a512 /keyboards/dp60/matrix.c
parent5f2c4349543e06821d3c0b724f36e12767a04e54 (diff)
downloadqmk_firmware-d7c90d805f414198a44d1b714363721df38950d6.tar.gz
qmk_firmware-d7c90d805f414198a44d1b714363721df38950d6.zip
add dp60 indicator mode (#8801)
* add dp60 indicator mode * update according to #7720 * added license header and move the ws2812 codes to a seperate c file * fixed conflict with master
Diffstat (limited to 'keyboards/dp60/matrix.c')
-rw-r--r--keyboards/dp60/matrix.c17
1 files changed, 16 insertions, 1 deletions
diff --git a/keyboards/dp60/matrix.c b/keyboards/dp60/matrix.c
index 3aa5925fe..a9974757d 100644
--- a/keyboards/dp60/matrix.c
+++ b/keyboards/dp60/matrix.c
@@ -1,3 +1,18 @@
1/**
2 * matrix.c
3 *
4 Copyright 2020 astro <yuleiz@gmail.com>
5 This program is free software: you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation, either version 2 of the License, or
8 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13 You should have received a copy of the GNU General Public License
14 along with this program. If not, see <http://www.gnu.org/licenses/>.
15*/
1#include "quantum.h" 16#include "quantum.h"
2 17
3static uint8_t debouncing = DEBOUNCE; 18static uint8_t debouncing = DEBOUNCE;
@@ -242,4 +257,4 @@ static void select_col(uint8_t col) {
242 writePinHigh(D5); 257 writePinHigh(D5);
243 break; 258 break;
244 } 259 }
245} \ No newline at end of file 260}