diff options
| -rw-r--r-- | keyboards/kbdfans/kbd19x/kbd19x.c | 9 | ||||
| -rw-r--r-- | keyboards/kbdfans/kbd19x/kbd19x.h | 4 | ||||
| -rw-r--r-- | keyboards/kbdfans/kbd19x/readme.md | 2 | ||||
| -rw-r--r-- | keyboards/kbdfans/kbd19x/rules.mk | 4 |
4 files changed, 14 insertions, 5 deletions
diff --git a/keyboards/kbdfans/kbd19x/kbd19x.c b/keyboards/kbdfans/kbd19x/kbd19x.c index 360345600..e6cd77d65 100644 --- a/keyboards/kbdfans/kbd19x/kbd19x.c +++ b/keyboards/kbdfans/kbd19x/kbd19x.c | |||
| @@ -17,6 +17,15 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. | |||
| 17 | 17 | ||
| 18 | #include "kbd19x.h" | 18 | #include "kbd19x.h" |
| 19 | 19 | ||
| 20 | extern inline void kbd19x_caps_led_on(void); | ||
| 21 | extern inline void kbd19x_caps_led_off(void); | ||
| 22 | |||
| 23 | extern inline void kbd19x_sclk_led_on(void); | ||
| 24 | extern inline void kbd19x_sclk_led_off(void); | ||
| 25 | |||
| 26 | extern inline void kbd19x_nmlk_led_on(void); | ||
| 27 | extern inline void kbd19x_nmlk_led_off(void); | ||
| 28 | |||
| 20 | void matrix_init_kb(void) { | 29 | void matrix_init_kb(void) { |
| 21 | // put your keyboard start-up code here | 30 | // put your keyboard start-up code here |
| 22 | // runs once when the firmware starts up | 31 | // runs once when the firmware starts up |
diff --git a/keyboards/kbdfans/kbd19x/kbd19x.h b/keyboards/kbdfans/kbd19x/kbd19x.h index 728c7ca5c..73f3cbe16 100644 --- a/keyboards/kbdfans/kbd19x/kbd19x.h +++ b/keyboards/kbdfans/kbd19x/kbd19x.h | |||
| @@ -15,8 +15,7 @@ You should have received a copy of the GNU General Public License | |||
| 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | */ | 16 | */ |
| 17 | 17 | ||
| 18 | #ifndef KBD19X_H | 18 | #pragma once |
| 19 | #define KBD19X_H | ||
| 20 | 19 | ||
| 21 | #include "quantum.h" | 20 | #include "quantum.h" |
| 22 | #include "led.h" | 21 | #include "led.h" |
| @@ -100,4 +99,3 @@ inline void kbd19x_nmlk_led_off(void) { DDRB &= ~(1<<2); PORTB &= ~(1<<2); } | |||
| 100 | {k05, k06, k07, k08, k15, k16, k17, k18, k25, k26, k27, k28, k36},\ | 99 | {k05, k06, k07, k08, k15, k16, k17, k18, k25, k26, k27, k28, k36},\ |
| 101 | {XXX, k1e, k0e, k2e, k4e, k37, k38, k39, k45, k46, k47, k48, XXX},\ | 100 | {XXX, k1e, k0e, k2e, k4e, k37, k38, k39, k45, k46, k47, k48, XXX},\ |
| 102 | } | 101 | } |
| 103 | #endif | ||
diff --git a/keyboards/kbdfans/kbd19x/readme.md b/keyboards/kbdfans/kbd19x/readme.md index 80b84b5f7..50adfb77f 100644 --- a/keyboards/kbdfans/kbd19x/readme.md +++ b/keyboards/kbdfans/kbd19x/readme.md | |||
| @@ -8,6 +8,8 @@ | |||
| 8 | 8 | ||
| 9 | The KBD19x is a compact-1800 keyboard kit produced by KBDfans, offering a number of layout options. | 9 | The KBD19x is a compact-1800 keyboard kit produced by KBDfans, offering a number of layout options. |
| 10 | 10 | ||
| 11 | **Reset Sequence:** Using this firmware sets `BOOTLOADER_ENABLE` to `lite`. While plugging in, hold the top left key, commonly programmed as `Esc` to put your board into bootloader mode. | ||
| 12 | |||
| 11 | Keyboard Maintainer: [jshuf](https://github.com/jshuf) | 13 | Keyboard Maintainer: [jshuf](https://github.com/jshuf) |
| 12 | Hardware Supported: KBD19x PCB | 14 | Hardware Supported: KBD19x PCB |
| 13 | Hardware Availability: [KBDfans](https://kbdfans.cn) | 15 | Hardware Availability: [KBDfans](https://kbdfans.cn) |
diff --git a/keyboards/kbdfans/kbd19x/rules.mk b/keyboards/kbdfans/kbd19x/rules.mk index 8e50962af..b7a08f241 100644 --- a/keyboards/kbdfans/kbd19x/rules.mk +++ b/keyboards/kbdfans/kbd19x/rules.mk | |||
| @@ -61,8 +61,8 @@ BOOTLOADER = atmel-dfu | |||
| 61 | # Build Options | 61 | # Build Options |
| 62 | # change yes to no to disable | 62 | # change yes to no to disable |
| 63 | # | 63 | # |
| 64 | BOOTMAGIC_ENABLE = no # Virtual DIP switch configuration(+1000) | 64 | BOOTMAGIC_ENABLE = lite # Virtual DIP switch configuration(+1000) |
| 65 | MOUSEKEY_ENABLE = no # Mouse keys(+4700) | 65 | MOUSEKEY_ENABLE = yes # Mouse keys(+4700) |
| 66 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) | 66 | EXTRAKEY_ENABLE = yes # Audio control and System control(+450) |
| 67 | CONSOLE_ENABLE = no # Console for debug(+400) | 67 | CONSOLE_ENABLE = no # Console for debug(+400) |
| 68 | COMMAND_ENABLE = no # Commands for debug and configuration | 68 | COMMAND_ENABLE = no # Commands for debug and configuration |
