From 80b01c726587780d3568c02fad8054c823020edb Mon Sep 17 00:00:00 2001 From: Dom H Date: Thu, 23 Sep 2021 07:10:36 +0100 Subject: [PATCH] refactor(shield): "Architeuthis Dux" to "A. Dux" The shorter name is more user-friendly. --- .../shields/{architeuthis_dux => a_dux}/Kconfig.defconfig | 8 ++++---- app/boards/shields/a_dux/Kconfig.shield | 8 ++++++++ app/boards/shields/{architeuthis_dux => a_dux}/README.md | 4 ++-- .../architeuthis_dux.conf => a_dux/a_dux.conf} | 0 .../architeuthis_dux.dtsi => a_dux/a_dux.dtsi} | 0 .../architeuthis_dux.keymap => a_dux/a_dux.keymap} | 0 .../architeuthis_dux.zmk.yml => a_dux/a_dux.zmk.yml} | 8 ++++---- .../a_dux_left.overlay} | 2 +- .../a_dux_right.overlay} | 2 +- app/boards/shields/architeuthis_dux/Kconfig.shield | 8 -------- 10 files changed, 20 insertions(+), 20 deletions(-) rename app/boards/shields/{architeuthis_dux => a_dux}/Kconfig.defconfig (61%) create mode 100644 app/boards/shields/a_dux/Kconfig.shield rename app/boards/shields/{architeuthis_dux => a_dux}/README.md (84%) rename app/boards/shields/{architeuthis_dux/architeuthis_dux.conf => a_dux/a_dux.conf} (100%) rename app/boards/shields/{architeuthis_dux/architeuthis_dux.dtsi => a_dux/a_dux.dtsi} (100%) rename app/boards/shields/{architeuthis_dux/architeuthis_dux.keymap => a_dux/a_dux.keymap} (100%) rename app/boards/shields/{architeuthis_dux/architeuthis_dux.zmk.yml => a_dux/a_dux.zmk.yml} (56%) rename app/boards/shields/{architeuthis_dux/architeuthis_dux_left.overlay => a_dux/a_dux_left.overlay} (72%) rename app/boards/shields/{architeuthis_dux/architeuthis_dux_right.overlay => a_dux/a_dux_right.overlay} (79%) delete mode 100644 app/boards/shields/architeuthis_dux/Kconfig.shield diff --git a/app/boards/shields/architeuthis_dux/Kconfig.defconfig b/app/boards/shields/a_dux/Kconfig.defconfig similarity index 61% rename from app/boards/shields/architeuthis_dux/Kconfig.defconfig rename to app/boards/shields/a_dux/Kconfig.defconfig index 29a403f1..f2911df4 100644 --- a/app/boards/shields/architeuthis_dux/Kconfig.defconfig +++ b/app/boards/shields/a_dux/Kconfig.defconfig @@ -1,24 +1,24 @@ # Copyright (c) 2021 The ZMK Contributors # SPDX-License-Identifier: MIT -if SHIELD_ARCHITEUTHIS_DUX_LEFT +if SHIELD_A_DUX_LEFT config ZMK_KEYBOARD_NAME - default "Architeuthis Dux" + default "A. Dux" config ZMK_SPLIT_BLE_ROLE_CENTRAL default y endif -if SHIELD_ARCHITEUTHIS_DUX_RIGHT +if SHIELD_A_DUX_RIGHT config ZMK_KEYBOARD_NAME default "A. Dux Right" endif -if SHIELD_ARCHITEUTHIS_DUX_LEFT || SHIELD_ARCHITEUTHIS_DUX_RIGHT +if SHIELD_A_DUX_LEFT || SHIELD_A_DUX_RIGHT config ZMK_SPLIT default y diff --git a/app/boards/shields/a_dux/Kconfig.shield b/app/boards/shields/a_dux/Kconfig.shield new file mode 100644 index 00000000..6058f290 --- /dev/null +++ b/app/boards/shields/a_dux/Kconfig.shield @@ -0,0 +1,8 @@ +# Copyright (c) 2021 The ZMK Contributors +# SPDX-License-Identifier: MIT + +config SHIELD_A_DUX_LEFT + def_bool $(shields_list_contains,a_dux_left) + +config SHIELD_A_DUX_RIGHT + def_bool $(shields_list_contains,a_dux_right) diff --git a/app/boards/shields/architeuthis_dux/README.md b/app/boards/shields/a_dux/README.md similarity index 84% rename from app/boards/shields/architeuthis_dux/README.md rename to app/boards/shields/a_dux/README.md index ee383023..2f84e31a 100644 --- a/app/boards/shields/architeuthis_dux/README.md +++ b/app/boards/shields/a_dux/README.md @@ -1,6 +1,6 @@ -# Architeuthis Dux +# A. Dux -Shield configuration for [Architeuthis Dux by Tapi][1]. +Shield configuration for [Architeuthis Dux by Tapi][1] (aka A. Dux, A.D., "Giant Squid"). ![Wireless Architeuthis Dux with nice!nano controllers][2] diff --git a/app/boards/shields/architeuthis_dux/architeuthis_dux.conf b/app/boards/shields/a_dux/a_dux.conf similarity index 100% rename from app/boards/shields/architeuthis_dux/architeuthis_dux.conf rename to app/boards/shields/a_dux/a_dux.conf diff --git a/app/boards/shields/architeuthis_dux/architeuthis_dux.dtsi b/app/boards/shields/a_dux/a_dux.dtsi similarity index 100% rename from app/boards/shields/architeuthis_dux/architeuthis_dux.dtsi rename to app/boards/shields/a_dux/a_dux.dtsi diff --git a/app/boards/shields/architeuthis_dux/architeuthis_dux.keymap b/app/boards/shields/a_dux/a_dux.keymap similarity index 100% rename from app/boards/shields/architeuthis_dux/architeuthis_dux.keymap rename to app/boards/shields/a_dux/a_dux.keymap diff --git a/app/boards/shields/architeuthis_dux/architeuthis_dux.zmk.yml b/app/boards/shields/a_dux/a_dux.zmk.yml similarity index 56% rename from app/boards/shields/architeuthis_dux/architeuthis_dux.zmk.yml rename to app/boards/shields/a_dux/a_dux.zmk.yml index 704d96bc..a8c23587 100644 --- a/app/boards/shields/architeuthis_dux/architeuthis_dux.zmk.yml +++ b/app/boards/shields/a_dux/a_dux.zmk.yml @@ -1,11 +1,11 @@ file_format: "1" -id: architeuthis_dux -name: Architeuthis Dux +id: a_dux +name: A. Dux type: shield url: https://github.com/tapioki/cephalopoda/ requires: [pro_micro] features: - keys siblings: - - architeuthis_dux_left - - architeuthis_dux_right + - a_dux_left + - a_dux_right diff --git a/app/boards/shields/architeuthis_dux/architeuthis_dux_left.overlay b/app/boards/shields/a_dux/a_dux_left.overlay similarity index 72% rename from app/boards/shields/architeuthis_dux/architeuthis_dux_left.overlay rename to app/boards/shields/a_dux/a_dux_left.overlay index 0baa95a5..c6910607 100644 --- a/app/boards/shields/architeuthis_dux/architeuthis_dux_left.overlay +++ b/app/boards/shields/a_dux/a_dux_left.overlay @@ -4,4 +4,4 @@ * SPDX-License-Identifier: MIT */ -#include "architeuthis_dux.dtsi" +#include "a_dux.dtsi" diff --git a/app/boards/shields/architeuthis_dux/architeuthis_dux_right.overlay b/app/boards/shields/a_dux/a_dux_right.overlay similarity index 79% rename from app/boards/shields/architeuthis_dux/architeuthis_dux_right.overlay rename to app/boards/shields/a_dux/a_dux_right.overlay index 13880d6d..0034317e 100644 --- a/app/boards/shields/architeuthis_dux/architeuthis_dux_right.overlay +++ b/app/boards/shields/a_dux/a_dux_right.overlay @@ -4,7 +4,7 @@ * SPDX-License-Identifier: MIT */ -#include "architeuthis_dux.dtsi" +#include "a_dux.dtsi" &default_transform { col-offset = <17>; diff --git a/app/boards/shields/architeuthis_dux/Kconfig.shield b/app/boards/shields/architeuthis_dux/Kconfig.shield deleted file mode 100644 index b89878d7..00000000 --- a/app/boards/shields/architeuthis_dux/Kconfig.shield +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright (c) 2021 The ZMK Contributors -# SPDX-License-Identifier: MIT - -config SHIELD_ARCHITEUTHIS_DUX_LEFT - def_bool $(shields_list_contains,architeuthis_dux_left) - -config SHIELD_ARCHITEUTHIS_DUX_RIGHT - def_bool $(shields_list_contains,architeuthis_dux_right)