diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml new file mode 100644 index 0000000..53faa97 --- /dev/null +++ b/.github/workflows/build.yaml @@ -0,0 +1,12 @@ +on: + push: + branches: [ "main" ] + pull_request_target: + branches: [ "main" ] +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +jobs: + build: + uses: tklzg/zmk/.github/workflows/build-user-config.yml@encoder \ No newline at end of file diff --git a/build.yaml b/build.yaml new file mode 100644 index 0000000..62a3cb1 --- /dev/null +++ b/build.yaml @@ -0,0 +1,21 @@ +# This file generates the GitHub Actions matrix +# For simple board + shield combinations, add them +# to the top level board and shield arrays, for more +# control, add individual board + shield combinations to +# the `include` property, e.g: +# +# board: [ "nice_nano_v2" ] +# shield: [ "corne_left", "corne_right" ] +# include: +# - board: bdn9_rev2 +# - board: nice_nano_v2 +# shield: reviung41 +# +--- +include: + - board: nice_nano_v2 + shield: ownkb_left nice_view_adapter nice_view + - board: nice_nano_v2 + shield: ownkb_left nice_view_adapter nice_view + #- board: nice_nano_v2 + #shield: settings_reset \ No newline at end of file diff --git a/config/ownkb.conf b/config/ownkb.conf index aef8c2d..69ae869 100644 --- a/config/ownkb.conf +++ b/config/ownkb.conf @@ -1,3 +1,9 @@ # Uncomment these two lines to add support for encoders CONFIG_EC11=y -CONFIG_EC11_TRIGGER_GLOBAL_THREAD=y \ No newline at end of file +CONFIG_EC11_TRIGGER_GLOBAL_THREAD=y + +CONFIG_ZMK_KEYBOARD_NAME="DB OwnKB" + +CONFIG_ZMK_IDLE_TIMEOUT=30000 +#CONFIG_ZMK_SLEEP=y +#CONFIG_ZMK_IDLE_SLEEP_TIMEOUT=900000 \ No newline at end of file diff --git a/config/west.yml b/config/west.yml new file mode 100644 index 0000000..9015e13 --- /dev/null +++ b/config/west.yml @@ -0,0 +1,11 @@ +manifest: + remotes: + - name: zmkfirmware + url-base: https://github.com/zmkfirmware + projects: + - name: zmk + import: app/west.yml + remote: zmkfirmware + revision: main + self: + path: config \ No newline at end of file