diff options
author | Fred Sundvik <fsundvik@gmail.com> | 2017-04-05 07:48:51 +0300 |
---|---|---|
committer | Fred Sundvik <fsundvik@gmail.com> | 2017-04-09 18:34:59 +0300 |
commit | 05530b193f4d4476b01c2e7f882619a81194888a (patch) | |
tree | 59e7eef02ead459c4850f181f7a1c9549d0e48d7 /quantum/visualizer/example_integration/callbacks.c | |
parent | 05bc4880ddc9e904cfa1773caff1ae81977d2a76 (diff) | |
download | qmk_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.c | 36 |
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 | /* | ||
2 | The MIT License (MIT) | ||
3 | |||
4 | Copyright (c) 2016 Fred Sundvik | ||
5 | |||
6 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
7 | of this software and associated documentation files (the "Software"), to deal | ||
8 | in the Software without restriction, including without limitation the rights | ||
9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
10 | copies of the Software, and to permit persons to whom the Software is | ||
11 | furnished to do so, subject to the following conditions: | ||
12 | |||
13 | The above copyright notice and this permission notice shall be included in all | ||
14 | copies or substantial portions of the Software. | ||
15 | |||
16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
22 | SOFTWARE. | ||
23 | */ | ||
24 | |||
25 | #include "keyboard.h" | ||
26 | #include "action_layer.h" | ||
27 | #include "visualizer.h" | ||
28 | #include "host.h" | ||
29 | |||
30 | void post_keyboard_init(void) { | ||
31 | visualizer_init(); | ||
32 | } | ||
33 | |||
34 | void post_keyboard_task() { | ||
35 | visualizer_set_state(default_layer_state, layer_state, host_keyboard_leds()); | ||
36 | } | ||