aboutsummaryrefslogtreecommitdiff
path: root/quantum/template/ps2avrgb
diff options
context:
space:
mode:
Diffstat (limited to 'quantum/template/ps2avrgb')
-rw-r--r--quantum/template/ps2avrgb/keyboard.c52
-rw-r--r--quantum/template/ps2avrgb/readme.md6
-rw-r--r--quantum/template/ps2avrgb/rules.mk18
3 files changed, 13 insertions, 63 deletions
diff --git a/quantum/template/ps2avrgb/keyboard.c b/quantum/template/ps2avrgb/keyboard.c
deleted file mode 100644
index 73cd668f8..000000000
--- a/quantum/template/ps2avrgb/keyboard.c
+++ /dev/null
@@ -1,52 +0,0 @@
1/* Copyright %YEAR% %YOUR_NAME%
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
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 */
16
17#include "%KEYBOARD%.h"
18
19// Optional override functions below.
20// You can leave any or all of these undefined.
21// These are only required if you want to perform custom actions.
22
23/*
24
25void matrix_init_kb(void) {
26 // put your keyboard start-up code here
27 // runs once when the firmware starts up
28
29 matrix_init_user();
30}
31
32void matrix_scan_kb(void) {
33 // put your looping keyboard code here
34 // runs every cycle (a lot)
35
36 matrix_scan_user();
37}
38
39bool process_record_kb(uint16_t keycode, keyrecord_t *record) {
40 // put your per-action keyboard code here
41 // runs for every action, just before processing by the firmware
42
43 return process_record_user(keycode, record);
44}
45
46void led_set_kb(uint8_t usb_led) {
47 // put your keyboard LED indicator (ex: Caps Lock LED) toggling code here
48
49 led_set_user(usb_led);
50}
51
52*/
diff --git a/quantum/template/ps2avrgb/readme.md b/quantum/template/ps2avrgb/readme.md
index 3dce0e950..b45ef91c9 100644
--- a/quantum/template/ps2avrgb/readme.md
+++ b/quantum/template/ps2avrgb/readme.md
@@ -4,9 +4,9 @@
4 4
5A short description of the keyboard/project 5A short description of the keyboard/project
6 6
7Keyboard Maintainer: [%YOUR_NAME%](https://github.com/yourusername) 7* Keyboard Maintainer: [%YOUR_NAME%](https://github.com/yourusername)
8Hardware Supported: The PCBs, controllers supported 8* Hardware Supported: The PCBs, controllers supported
9Hardware Availability: links to where you can find this hardware 9* Hardware Availability: links to where you can find this hardware
10 10
11Make example for this keyboard (after setting up your build environment): 11Make example for this keyboard (after setting up your build environment):
12 12
diff --git a/quantum/template/ps2avrgb/rules.mk b/quantum/template/ps2avrgb/rules.mk
index ec57b03dc..b9b81a675 100644
--- a/quantum/template/ps2avrgb/rules.mk
+++ b/quantum/template/ps2avrgb/rules.mk
@@ -11,14 +11,16 @@ MCU = atmega32a
11# ATmega328P USBasp 11# ATmega328P USBasp
12BOOTLOADER = bootloadHID 12BOOTLOADER = bootloadHID
13 13
14# build options 14# Build Options
15BOOTMAGIC_ENABLE = no 15# change yes to no to disable
16MOUSEKEY_ENABLE = no 16#
17EXTRAKEY_ENABLE = yes 17BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration
18CONSOLE_ENABLE = yes 18MOUSEKEY_ENABLE = no # Mouse keys
19COMMAND_ENABLE = yes 19EXTRAKEY_ENABLE = yes # Audio control and System control
20BACKLIGHT_ENABLE = no 20CONSOLE_ENABLE = yes # Console for debug
21RGBLIGHT_ENABLE = yes 21COMMAND_ENABLE = yes # Commands for debug and configuration
22BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
23RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
22WS2812_DRIVER = i2c 24WS2812_DRIVER = i2c
23 25
24OPT_DEFS = -DDEBUG_LEVEL=0 26OPT_DEFS = -DDEBUG_LEVEL=0