Skip to content

Commit

Permalink
Merge pull request yskoht#88 from vunhatchuong/feature/ferris-sweep
Browse files Browse the repository at this point in the history
  • Loading branch information
yskoht authored Apr 13, 2023
2 parents 2ea0d0e + 468e4a8 commit 2423b69
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Following keyboards are supported.
- [planck](https://github.com/qmk/qmk_firmware/tree/master/keyboards/planck) (layout: `default`(=`grid`), `mit`)
- [sofle](https://github.com/qmk/qmk_firmware/tree/master/keyboards/sofle)
- [sweet16](https://github.com/qmk/qmk_firmware/tree/master/keyboards/1upkeyboards/sweet16)
- [ferris](https://github.com/qmk/qmk_firmware/tree/master/keyboards/ferris)

## Install

Expand Down
2 changes: 2 additions & 0 deletions keymapviz/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import keymapviz.keyboards.planck
import keymapviz.keyboards.dactyl_manuform6x6
import keymapviz.keyboards.id75
import keymapviz.keyboards.ferris


KEYBOARDS = {
Expand All @@ -50,6 +51,7 @@
'planck': keymapviz.keyboards.planck,
'dactyl_manuform6x6': keymapviz.keyboards.dactyl_manuform6x6,
'id75': keymapviz.keyboards.id75,
'ferris': keymapviz.keyboards.ferris,
}


Expand Down
38 changes: 38 additions & 0 deletions keymapviz/keyboards/ferris/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# -*- coding: utf-8 -*-

keymap_keyword = '(?:KEYMAP|LAYOUT)'
layout_editor_json = {
'default': 'keyboards/ferris/layout_editor/default.json',
}

ascii_art = {
'default': '''
/* ,----------------------------------. ,----------------------------------.
* |{ 0 }|{ 1 }|{ 2 }|{ 3 }|{ 4 }| |{ 5 }|{ 6 }|{ 7 }|{ 8 }|{ 9 }|
* |------+------+------+------+------| |------+------+------+------+------|
* |{ 10 }|{ 11 }|{ 12 }|{ 13 }|{ 14 }| |{ 15 }|{ 16 }|{ 17 }|{ 18 }|{ 19 }|
* |------+------+------+------+------| |------+------+------+------+------|
* |{ 20 }|{ 21 }|{ 22 }|{ 23 }|{ 24 }| |{ 25 }|{ 26 }|{ 27 }|{ 28 }|{ 29 }|
* `-------------+------+------+-------------. ,-------------+------+------+-------------'
* |{ 30 }/{ 31 }/ \{ 31 }\{ 33 }|
* | / / \ \ |
* `-----------' `-----------'
* generated by [keymapviz] */
''',
}

fancy_ascii_art = {
'default': '''
/* ┌──────┬──────┬──────┬──────┬──────┐ ┌──────┬──────┬──────┬──────┬──────┐
* │{ 0 }│{ 1 }│{ 2 }│{ 3 }│{ 4 }│ │{ 5 }│{ 6 }│{ 7 }│{ 8 }│{ 9 }│
* ├──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┤
* │{ 10 }│{ 11 }│{ 12 }│{ 13 }│{ 14 }│ │{ 15 }│{ 16 }│{ 17 }│{ 18 }│{ 19 }│
* ├──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┤
* │{ 20 }│{ 21 }│{ 22 }│{ 23 }│{ 24 }│ │{ 25 }│{ 26 }│{ 27 }│{ 28 }│{ 29 }│
* └───────────────────────────┼──────┼──────┐ ┌──────┼──────┼──────┴──────┴──────┴──────┘
* │{ 30 }│{ 31 }│ │{ 31 }│{ 33 }│
* │ │ │ │ │ │
* └──────┴──────┘ └──────┴──────┘
* generated by [keymapviz] */
''',
}

0 comments on commit 2423b69

Please sign in to comment.