Skip to content

Commit

Permalink
Merge pull request #8 from vladisnik/output_selection
Browse files Browse the repository at this point in the history
Output selection behavior
  • Loading branch information
vladisnik authored Jun 9, 2023
2 parents b873fb4 + ba90bd9 commit ce85846
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions config/corne.keymap
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include <behaviors.dtsi>
#include <dt-bindings/zmk/keys.h>
#include <dt-bindings/zmk/bt.h>
#include <dt-bindings/zmk/outputs.h>

#define DEFAULT 0
#define LOWER 1
Expand Down Expand Up @@ -107,15 +108,15 @@

adjust_layer {
// -----------------------------------------------------------------------------------------
// | RST | | | | | BTLDR |----| | | | | | RST |
// | BTCLR | BT1 | BT2 | BT3 | | |----| | | | | | |
// | | | | | | |----| | | | | | |
// | | | |----| | | |
// | RST | | | | | BTLDR |----| | OUT_USB | | | | RST |
// | BTCLR | BT1 | BT2 | BT3 | | |----| | | | | | |
// | | | | | | OUT_BLE |----| | | | | | |
// | | | |----| | | |
bindings = <
&sys_reset &none &none &none &none &bootloader &none &none &none &none &none &sys_reset
&bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &none &none &none &none &none &none &none &none
&none &none &none &none &none &none &none &none &none &none &none &none
&none &none &none &none &none &none
&sys_reset &none &none &none &none &bootloader &none &out OUT_USB &none &none &none &sys_reset
&bt BT_CLR &bt BT_SEL 0 &bt BT_SEL 1 &bt BT_SEL 2 &none &none &none &none &none &none &none &none
&none &none &none &none &none &out OUT_BLE &none &none &none &none &none &none
&none &none &none &none &none &none
>;
};
};
Expand Down

0 comments on commit ce85846

Please sign in to comment.