Skip to content

Commit

Permalink
Change folder directory to support local dev
Browse files Browse the repository at this point in the history
  • Loading branch information
hadynz committed Oct 7, 2023
1 parent 3fc10d2 commit 6facb7f
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 5 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,20 @@ jobs:
- name: Checkout userspace
uses: actions/checkout@v3
with:
path: keyboards/kinesis/keymaps/${{ github.actor }}
path: ${{ github.actor }}
persist-credentials: false

- name: Symlink keymap from userspace to qmk directory
run: ln -s $PATH/${{ github.actor }}/keymap keyboards/kinesis/keymaps/${{ github.actor }}

- name: Build firmware
run: qmk compile -kb kinesis/stapelberg -km ${{ github.actor }}

- name: Archive firmware
uses: actions/upload-artifact@v3
continue-on-error: true
with:
name: kinesis_hadynz_qmk_keymap_${{ github.run_number }}
name: kinesis_${{ github.actor }}_qmk_keymap_${{ github.run_number }}
path: |
*.hex
*.bin
Expand Down
25 changes: 22 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,38 @@
This is a QMK "[userspace][1]" for my Kinesis Advantage keyboard firmware -- my
very first ergo keyboard.

## The Keyboard
## Local Development

1. Setup qmk development environment: https://docs.qmk.fm/#/newbs_getting_started
2. Link this repository to the qmk directory a keycap folder

```bash
# $PWD is the path to this repository
# Create a symlink of the `keymap` folder into `kinesis` keyboard folder inside qmk directory
ln -s $PWD/keymap ../qmk_firmware/keyboards/kinesis/keymaps/hadynz

# Compile
qmk compile -kb kinesis/stapelberg -km hadynz

# Create (QMK Configurator) JSON file from keymap

```

## Background

### The Keyboard

A Kinesis Advantage 1 keyboard with Cherry MX Brown switches. The keyboard has been
modified with the ["stapelberg" mod][3]. In other words, the keyboard's original controller
has been gutted and replaced with a Teensy 2.0++ that runs the feature-rich QMK firmware.

## Building and flashing the firmware
### Building and flashing the firmware

The firmware is automatically built using the QMK CLI that runs on [GitHub Actions][4].

Once built, the firmware is flashed onto the Teensy 2.0++ using the [Teensy Loader][2].

## Layout
### Layout

I bought my keyboard second hand and have built on top of the previous owner (Uric Marker)'s
layout which was largely inspired by the [Miryoku layout][5].
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 6facb7f

Please sign in to comment.