mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-07-28 03:51:15 +00:00
Merge remote-tracking branch 'origin/toril940mariorion_v25' into toril940mariorion_v25
This commit is contained in:
commit
d792055ba9
@ -18,29 +18,19 @@
|
|||||||
// Optional override functions below.
|
// Optional override functions below.
|
||||||
// You can leave any or all of these undefined.
|
// You can leave any or all of these undefined.
|
||||||
// These are only required if you want to perform custom actions.
|
// These are only required if you want to perform custom actions.
|
||||||
#define CAPS_LOCK_LED A5
|
|
||||||
#define SCROLL_LOCK_LED A15
|
|
||||||
|
|
||||||
#define LAYER_1_PIN C8
|
|
||||||
#define LAYER_2_PIN C7
|
|
||||||
#define LAYER_3_PIN C6
|
|
||||||
|
|
||||||
void matrix_init_kb(void) {
|
void matrix_init_kb(void) {
|
||||||
// put your keyboard start-up code here
|
// put your keyboard start-up code here
|
||||||
// runs once when the firmware starts up
|
// runs once when the firmware starts up
|
||||||
|
|
||||||
setPinOutput(A5);
|
|
||||||
setPinOutput(A15);
|
|
||||||
setPinOutput(C8);
|
|
||||||
setPinOutput(C7);
|
setPinOutput(C7);
|
||||||
setPinOutput(C6);
|
|
||||||
matrix_init_user();
|
matrix_init_user();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool led_update_kb(led_t led_state) {
|
bool led_update_kb(led_t led_state) {
|
||||||
if(led_update_user(led_state)) {
|
if(led_update_user(led_state)) {
|
||||||
writePin(CAPS_LOCK_LED, !led_state.caps_lock);
|
writePin(C7, !led_state.caps_lock);
|
||||||
writePin(SCROLL_LOCK_LED, !led_state.num_lock);
|
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
# mariorion_v25
|
# mariorion_v25
|
||||||
|
|
||||||

|

|
||||||
|

|
||||||
|
|
||||||
*A short description of the keyboard/project*
|
*A short description of the keyboard/project*
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user