From 2a34026c8f1cee83732933e1588864b7d6d060f4 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Fri, 24 Jul 2026 20:18:55 +0200 Subject: [PATCH] feat: add USB and Bluetooth output controls --- config/cradio.keymap | 13 +++++++------ config/splitkb_aurora_corne.keymap | 7 ++++--- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/config/cradio.keymap b/config/cradio.keymap index 413ac6deb29fb1cb5b0a260ffe8978fd3cdce67a..4ae6f886d1fbaae1f94ac1dff868224d65dbf723 100644 --- a/config/cradio.keymap +++ b/config/cradio.keymap @@ -4,6 +4,7 @@ #include #include #include +#include // Home row mods macro #define HRML(k1,k2,k3,k4) &hltl SYM k1 &hml LALT k2 &hml LSHFT k3 &hml LCTRL k4 @@ -299,14 +300,14 @@ CZECH_CARET_MACRO(R) ctrl_layer { bindings = < //╭──────────┬──────────┬──────────┬──────────┬──────────╮ ╭──────────┬──────────┬──────────┬──────────┬──────────╮ - //│ RESET │ │ │ │PROFILE 0 │ │ │ │ │ │ RESET │ - &sys_reset &trans &trans &bt BT_SEL 3 &bt BT_SEL 0 &trans &trans &trans &trans &sys_reset + //│ RESET │ USB │ │ │PROFILE 0 │ │ │ │ │ │ RESET │ + &sys_reset &out OUT_USB &trans &bt BT_SEL 3 &bt BT_SEL 0 &trans &trans &trans &trans &sys_reset //├──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┤ - //│BOOTLOADER│ │ │ │PROFILE 1 │ │ │ │ │ │BOOTLOADER│ - &bootloader &trans &trans &bt BT_SEL 4 &bt BT_SEL 1 &trans &trans &trans &trans &bootloader + //│BOOTLOADER│ BLE │ │ │PROFILE 1 │ │ │ │ │ │BOOTLOADER│ + &bootloader &out OUT_BLE &trans &bt BT_SEL 4 &bt BT_SEL 1 &trans &trans &trans &trans &bootloader //├──────────┼──────────┼──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┼──────────┼──────────┤ - //│ │ │ │ CLEAR BT │PROFILE 2 │ │ │ │ │ │ │ - &bt BT_CLR &trans &trans &trans &bt BT_SEL 2 &trans &trans &trans &trans &trans + //│ │OUT TOGGLE│ │ CLEAR BT │PROFILE 2 │ │ │ │ │ │ │ + &bt BT_CLR &out OUT_TOG &trans &trans &bt BT_SEL 2 &trans &trans &trans &trans &trans //╰──────────┴──────────┴──────────┼──────────┼──────────┤ ├──────────┼──────────┼──────────┴──────────┴──────────╯ &trans &trans &trans &trans // ╰──────────┴──────────╯ ╰──────────┴──────────╯ diff --git a/config/splitkb_aurora_corne.keymap b/config/splitkb_aurora_corne.keymap index b884a9f98015424eaefb0e80a0981fbdea54a71e..8f610c1ee5a7585a092decf7cce2ad4505cd14de 100644 --- a/config/splitkb_aurora_corne.keymap +++ b/config/splitkb_aurora_corne.keymap @@ -4,6 +4,7 @@ #include #include #include +#include #define RIGHT_KEYS 6 7 8 9 10 11 18 19 20 21 22 23 30 31 32 33 34 35 39 40 41 #define LEFT_KEYS 0 1 2 3 4 5 12 13 14 15 16 17 24 25 26 27 28 29 36 37 38 @@ -319,11 +320,11 @@ CZECH_CARET_MACRO(Z) control { bindings = < //╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ ╭─────────────┬─────────────┬─────────────┬─────────────┬─────────────┬─────────────╮ - &trans &sys_reset &trans &trans &bt BT_SEL 3 &bt BT_SEL 0 &trans &trans &trans &trans &trans &sys_reset + &trans &sys_reset &out OUT_USB &trans &bt BT_SEL 3 &bt BT_SEL 0 &trans &trans &trans &trans &trans &sys_reset //├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ - &trans &bootloader &trans &trans &bt BT_SEL 4 &bt BT_SEL 1 &trans &trans &trans &trans &trans &bootloader + &trans &bootloader &out OUT_BLE &trans &bt BT_SEL 4 &bt BT_SEL 1 &trans &trans &trans &trans &trans &bootloader //├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┼─────────────┼─────────────┼─────────────┤ - &trans &bt BT_CLR &trans &trans &trans &bt BT_SEL 2 &trans &trans &trans &trans &trans &trans + &trans &bt BT_CLR &out OUT_TOG &trans &trans &bt BT_SEL 2 &trans &trans &trans &trans &trans &trans //╰─────────────┴─────────────┴─────────────┴─────────────┼─────────────┼─────────────┤ ├─────────────┼─────────────┼─────────────┴─────────────┴─────────────┴─────────────╯ &trans &trans &trans &to BASE &to NOHOMODS &to GAMES // ╰─────────────┴─────────────┴─────────────╯ ╰─────────────┴─────────────┴─────────────╯