Skip to content

Commit

Permalink
Ergogen epoch
Browse files Browse the repository at this point in the history
  • Loading branch information
mrzealot committed Jun 7, 2020
0 parents commit 874087d
Show file tree
Hide file tree
Showing 7 changed files with 431 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
node_modules/
plans/output/
.vscode/
firmware/keyboard.cpp
firmware/keymap.cpp
firmware/setup.cpp
firmware/loop.cpp
firmware/libraries/
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2018 Bán Dénes

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Absolem

Flat, minimalistic, ergonomic keyboard layout generated from JS.

For more information, see the [original blog post](https://zealot.hu/absolem), or join the [Absolem Club](https://discord.gg/DbCfZfZ) discord server!
22 changes: 22 additions & 0 deletions absolem.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
const fs = require('fs-extra')
const path = require('path')
const yaml = require('js-yaml')

const args = require('yargs')
.option('config', {
alias: 'c',
demandOption: true,
describe: 'Config yaml file',
type: 'string'
})
.option('output', {
alias: 'o',
default: path.resolve('output'),
describe: 'Output folder',
type: 'string'
})
.argv

const config = yaml.load(fs.readFileSync(args.c).toString())

console.log(config)
38 changes: 38 additions & 0 deletions config/regular.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
columns:
- name: pinky
rotate: 5
origin: [7, -7] # bottom right corner
- name: ring
stagger: 12
- name: middle
stagger: 5
- name: index
stagger: -6
- name: inner
stagger: -2
rows:
- name: bottom
- name: home
- name: top
thumbfan:
- name: palmward
anchor:
column: inner
row: bottom
shift: [-12, -19]
column: ring
padding: 21.25
rotate: 28
origin: [9.5, -9]
- name: home
column: middle
padding: 21.25
rotate: 28
origin: [11.75, -9]
- name: outward
column: index
angle: 20
mirror:
column: pinky
row: bottom
distance: 250
Loading

0 comments on commit 874087d

Please sign in to comment.