Skip to content

Commit

Permalink
Merge branch 'the-via:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
KeychronMacro authored Feb 11, 2022
2 parents 1fedbb8 + 214c3ef commit 7044a9f
Show file tree
Hide file tree
Showing 8 changed files with 846 additions and 7 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/definition_update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Send update event

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:

runs-on: ubuntu-latest
steps:
- name: Dispatch update to repos
run: |
curl 'https://api.github.com/repos/the-via/website/dispatches' --request POST -H 'Accept: application/vnd.github.everest-preview+json' -H 'Content-Type: application/javascript' -H 'Authorization: Bearer ${{ secrets.PAT }}' --data-raw '{"event_type": "definition_update", "client_payload": {}}'
curl 'https://api.github.com/repos/the-via/app/dispatches' --request POST -H 'Accept: application/vnd.github.everest-preview+json' -H 'Content-Type: application/javascript' -H 'Authorization: Bearer ${{ secrets.PAT }}' --data-raw '{"event_type": "definition_update", "client_payload": {}}'
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,11 @@
},
"homepage": "https://github.com/the-via/keyboards#readme",
"devDependencies": {
"@types/node-static": "^0.7.7",
"node-static": "^0.7.11",
"@types/fs-extra": "^9.0.9",
"@types/node-static": "^0.7.7",
"microbundle": "^0.11.0",
"prettier": "^2.2.1",
"ts-node": "^8.4.1",
"typescript": "^3.6.4"
"node-static": "^0.7.11",
"prettier": "^2.2.1"
},
"dependencies": {
"@types/bluebird": "^3.5.28",
Expand All @@ -45,7 +43,9 @@
"fs-extra": "^9.1.0",
"json-stringify-pretty-compact": "^2.0.0",
"rimraf": "^3.0.0",
"ts-node": "10.4.0",
"ts-node-dev": "^1.0.0-pre.43",
"typescript": "^3.6.4",
"typescript-json-schema": "^0.40.0",
"via-reader": "git://github.com/the-via/reader.git#f2fbf9cf87adfec271d1953e43ab9c037776535f",
"yarn": "^1.22.0"
Expand Down
File renamed without changes.
240 changes: 240 additions & 0 deletions src/mode/m80h/m80v2h.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,240 @@
{
"name": "M80V2 H",
"vendorId": "0x00DE",
"productId": "0x0083",
"lighting": "none",
"matrix": {"rows": 6, "cols": 17},
"layouts": {
"labels": ["7U bottom row"],
"keymap":[
[
{
"c": "#777777"
},
"0,0",
{
"x": 1,
"c": "#cccccc"
},
"0,1",
"0,2",
"0,3",
"0,4",
{
"x": 0.5,
"c": "#aaaaaa"
},
"0,5",
"0,6",
"0,7",
"0,8",
{
"x": 0.5,
"c": "#cccccc"
},
"0,9",
"0,10",
"0,11",
"0,12",
{
"x": 0.25
},
"0,14",
"0,15",
"0,16"
],
[
{
"y": 0.5
},
"1,0",
"1,1",
"1,2",
"1,3",
"1,4",
"1,5",
"1,6",
"1,7",
"1,8",
"1,9",
"1,10",
"1,11",
"1,12",
{
"c": "#aaaaaa",
"w": 2
},
"0,13",
{
"x": 0.25,
"c": "#cccccc"
},
"1,14",
"1,15",
"1,16"
],
[
{
"c": "#aaaaaa",
"w": 1.5
},
"2,0",
{
"c": "#cccccc"
},
"2,1",
"2,2",
"2,3",
"2,4",
"2,5",
"2,6",
"2,7",
"2,8",
"2,9",
"2,10",
"2,11",
"2,12",
{
"c": "#aaaaaa",
"w": 1.5
},
"2,13",
{
"x": 0.25,
"c": "#cccccc"
},
"2,14",
"2,15",
"2,16"
],
[
{
"c": "#aaaaaa",
"w": 1.75
},
"3,0",
{
"c": "#cccccc"
},
"3,1",
"3,2",
"3,3",
"3,4",
"3,5",
"3,6",
"3,7",
"3,8",
"3,9",
"3,10",
"3,11",
{
"c": "#777777",
"w": 2.25
},
"3,13"
],
[
{
"c": "#aaaaaa",
"w": 2.25
},
"4,0",
{
"c": "#cccccc"
},
"4,2",
"4,3",
"4,4",
"4,5",
"4,6",
"4,7",
"4,8",
"4,9",
"4,10",
"4,11",
{
"c": "#aaaaaa",
"w": 2.75
},
"4,12",
{
"x": 1.25,
"c": "#777777"
},
"4,15"
],
[
{
"c": "#aaaaaa",
"w": 1.25
},
"5,0\n\n\n0,0",
{
"w": 1.25
},
"5,1\n\n\n0,0",
{
"w": 1.25
},
"5,2\n\n\n0,0",
{
"c": "#cccccc",
"w": 6.25
},
"5,6\n\n\n0,0",
{
"c": "#aaaaaa",
"w": 1.25
},
"5,10\n\n\n0,0",
{
"w": 1.25
},
"5,11\n\n\n0,0",
{
"w": 1.25
},
"5,12\n\n\n0,0",
{
"w": 1.25
},
"5,13\n\n\n0,0",
{
"x": 0.25,
"c": "#777777"
},
"5,14",
"5,15",
"5,16"
],
[
{
"y": 0.25,
"c": "#aaaaaa",
"w": 1.5
},
"5,0\n\n\n0,1",
"5,1\n\n\n0,1",
{
"c": "#cccccc",
"w": 1.5
},
"5,2\n\n\n0,1",
{
"w": 7
},
"5,6\n\n\n0,1",
{
"c": "#aaaaaa",
"w": 1.5
},
"5,11\n\n\n0,1",
"5,12\n\n\n0,1",
{
"w": 1.5
},
"5,13\n\n\n0,1"
]
]
}
}
File renamed without changes.
Loading

0 comments on commit 7044a9f

Please sign in to comment.