aboutsummaryrefslogtreecommitdiff
path: root/quantum/visualizer/example_integration/callbacks.c
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2017-04-05 07:48:51 +0300
committerFred Sundvik <fsundvik@gmail.com>2017-04-09 18:34:59 +0300
commit05530b193f4d4476b01c2e7f882619a81194888a (patch)
tree59e7eef02ead459c4850f181f7a1c9549d0e48d7 /quantum/visualizer/example_integration/callbacks.c
parent05bc4880ddc9e904cfa1773caff1ae81977d2a76 (diff)
downloadqmk_firmware-05530b193f4d4476b01c2e7f882619a81194888a.tar.gz
qmk_firmware-05530b193f4d4476b01c2e7f882619a81194888a.zip
Delete visualizer example integration
It's much better to refer to the actual code than to to try to keep some examples up to date.
Diffstat (limited to 'quantum/visualizer/example_integration/callbacks.c')
-rw-r--r--quantum/visualizer/example_integration/callbacks.c36
1 files changed, 0 insertions, 36 deletions
diff --git a/quantum/visualizer/example_integration/callbacks.c b/quantum/visualizer/example_integration/callbacks.c
deleted file mode 100644
index 2539615d6..000000000
--- a/quantum/visualizer/example_integration/callbacks.c
+++ /dev/null
@@ -1,36 +0,0 @@
1/*
2The MIT License (MIT)
3
4Copyright (c) 2016 Fred Sundvik
5
6Permission is hereby granted, free of charge, to any person obtaining a copy
7of this software and associated documentation files (the "Software"), to deal
8in the Software without restriction, including without limitation the rights
9to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10copies of the Software, and to permit persons to whom the Software is
11furnished to do so, subject to the following conditions:
12
13The above copyright notice and this permission notice shall be included in all
14copies or substantial portions of the Software.
15
16THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22SOFTWARE.
23*/
24
25#include "keyboard.h"
26#include "action_layer.h"
27#include "visualizer.h"
28#include "host.h"
29
30void post_keyboard_init(void) {
31 visualizer_init();
32}
33
34void post_keyboard_task() {
35 visualizer_set_state(default_layer_state, layer_state, host_keyboard_leds());
36}