Skip to content

Commit

Permalink
Merge pull request #1 from DLBPointon/sofle-update
Browse files Browse the repository at this point in the history
Delete config/sof.conf
  • Loading branch information
DLBPointon authored Aug 18, 2024
2 parents 084724e + 404c98c commit 00469d8
Show file tree
Hide file tree
Showing 10 changed files with 23 additions and 48 deletions.
8 changes: 0 additions & 8 deletions boards/shields/sof/Kconfig.shield

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Copyright (c) 2020 Ryan Cross
# SPDX-License-Identifier: MIT

if SHIELD_SOF_LEFT
if SHIELD_SOFLE_LEFT

config ZMK_KEYBOARD_NAME
default "SOF"
default "SOFLE"

config ZMK_SPLIT_ROLE_CENTRAL
default y

endif

if SHIELD_SOF_LEFT || SHIELD_SOF_RIGHT
if SHIELD_SOFLE_LEFT || SHIELD_SOFLE_RIGHT

config ZMK_SPLIT
default y
Expand Down Expand Up @@ -49,4 +49,4 @@ config WS2812_STRIP
default y
endif

endif
endif
8 changes: 8 additions & 0 deletions boards/shields/sofle/Kconfig.shield
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Copyright (c) 2020 Ryan Cross
# SPDX-License-Identifier: MIT

config SHIELD_SOFLE_LEFT
def_bool $(shields_list_contains,sofle_left)

config SHIELD_SOFLE_RIGHT
def_bool $(shields_list_contains,sofle_right)
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: MIT
*/

#include "sof.dtsi"
#include "sofle.dtsi"

&kscan0 {
col-gpios
Expand All @@ -19,4 +19,4 @@

&left_encoder {
status = "okay";
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: MIT
*/

#include "sof.dtsi"
#include "sofle.dtsi"

&default_transform {
col-offset = <6>;
Expand All @@ -23,4 +23,4 @@

&right_encoder {
status = "okay";
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -85,4 +85,4 @@ RC(3,0) RC(3,1) RC(3,2) RC(3,3) RC(3,4) RC(3,5) RC(4,5) RC(4,6) RC(3,6) RC(3,7)
inversion-on;
prechargep = <0x22>;
};
};
};
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
file_format: "1"
id: sof
name: sof
id: sofle
name: sofle
type: shield
url: https://github.com/DLBPointon
requires: [pro_micro]
Expand All @@ -11,5 +11,5 @@ features:
- encoder
- underglow
siblings:
- sof_left
- sof_right
- sofle_left
- sofle_right
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Copyright (c) 2020 Ryan Cross
# SPDX-License-Identifier: MIT
# SPDX-License-Identifier: MIT
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Copyright (c) 2020 Ryan Cross
# SPDX-License-Identifier: MIT
# SPDX-License-Identifier: MIT
25 changes: 0 additions & 25 deletions config/sof.conf

This file was deleted.

0 comments on commit 00469d8

Please sign in to comment.