1
0
Fork 0

Migrate content where only parent info.json exists (#22895)

This commit is contained in:
Joel Challis 2024-03-14 10:21:33 +00:00 committed by GitHub
parent f1a279810f
commit aea414fd82
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
43 changed files with 171 additions and 247 deletions

View file

@ -1,24 +0,0 @@
#include "quantum.h"
void keyboard_pre_init_kb(void) {
setPinOutput(B7); // caps lock
writePinHigh(B7);
setPinOutput(C5); // num lock
writePinHigh(C7);
setPinOutput(C6); // scroll lock
writePinHigh(C6);
keyboard_pre_init_user();
}
bool led_update_kb(led_t usb_led) {
// user requests no further processing
if (!led_update_user(usb_led))
return true;
writePin(C5, !usb_led.num_lock);
writePin(B7, !usb_led.caps_lock);
writePin(C6, !usb_led.scroll_lock);
return true;
}

View file

@ -0,0 +1,16 @@
{
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": false
},
"indicators": {
"caps_lock": "B7",
"num_lock": "C5",
"scroll_lock": "C6",
"on_state": 0
}
}

View file

@ -1,14 +1,2 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
AUDIO_ENABLE = no # Audio output
CUSTOM_MATRIX = lite
SRC += 20130602/matrix.c

View file

@ -1,24 +0,0 @@
#include "quantum.h"
void keyboard_pre_init_kb(void) {
setPinOutput(B7); // num lock
writePinHigh(B7);
setPinOutput(C5); // caps lock
writePinHigh(C7);
setPinOutput(C6); // scroll lock
writePinHigh(C6);
keyboard_pre_init_user();
}
bool led_update_kb(led_t usb_led) {
// user requests no further processing
if (!led_update_user(usb_led))
return true;
writePin(C5, !usb_led.caps_lock);
writePin(B7, !usb_led.num_lock);
writePin(C6, !usb_led.scroll_lock);
return true;
}

View file

@ -0,0 +1,16 @@
{
"features": {
"bootmagic": true,
"command": false,
"console": false,
"extrakey": true,
"mousekey": true,
"nkro": false
},
"indicators": {
"caps_lock": "C5",
"num_lock": "B7",
"scroll_lock": "C6",
"on_state": 0
}
}

View file

@ -1,14 +1,2 @@
# Build Options
# change yes to no to disable
#
BOOTMAGIC_ENABLE = no # Enable Bootmagic Lite
MOUSEKEY_ENABLE = yes # Mouse keys
EXTRAKEY_ENABLE = yes # Audio control and System control
CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = no # Enable N-Key Rollover
BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
AUDIO_ENABLE = no # Audio output
CUSTOM_MATRIX = lite
SRC += 20140521/matrix.c