Skip to content

Commit

Permalink
Release 1.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
yskoht authored Sep 25, 2022
2 parents 4924fb4 + 720625d commit 9499a5b
Show file tree
Hide file tree
Showing 45 changed files with 401 additions and 46 deletions.
9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,25 @@ Keymapviz can convert keymap.c in [qmk_firmware](https://github.com/qmk/qmk_firm
Following keyboards are supported.

- [crkbd](https://github.com/qmk/qmk_firmware/tree/master/keyboards/crkbd)
- [dactyl_manuform5x6](https://github.com/qmk/qmk_firmware/tree/master/keyboards/handwired/dactyl_manuform/5x6)
- [dactyl_manuform6x6](https://github.com/qmk/qmk_firmware/tree/master/keyboards/handwired/dactyl_manuform/6x6)
- [ergo42](https://github.com/qmk/qmk_firmware/tree/master/keyboards/ergo42)
- [ergodash](https://github.com/qmk/qmk_firmware/tree/master/keyboards/ergodash) (layout: `default`, `2u_inner`)
- [ergodone](https://github.com/qmk/qmk_firmware/tree/master/keyboards/ergodone)(ergodox)
- [ergodox_ez](https://github.com/qmk/qmk_firmware/tree/master/keyboards/ergodox_ez)(ergodox)
- [fortitude60](https://github.com/qmk/qmk_firmware/tree/master/keyboards/fortitude60)
- [helix](https://github.com/qmk/qmk_firmware/tree/master/keyboards/helix)
- [id75](https://github.com/qmk/qmk_firmware/tree/master/keyboards/idobao/id75)
- [kaishi65](https://github.com/qmk/qmk_firmware/tree/master/keyboards/kbdclack/kaishi65)
- [kinesis](https://github.com/qmk/qmk_firmware/tree/master/keyboards/kinesis)
- [kyria](https://github.com/qmk/qmk_firmware/tree/master/keyboards/splitkb/kyria)
- [lets_split](https://github.com/qmk/qmk_firmware/tree/master/keyboards/lets_split)
- [lily58](https://github.com/qmk/qmk_firmware/tree/master/keyboards/lily58)
- [mint60](https://github.com/qmk/qmk_firmware/tree/master/keyboards/mint60)
- [sweet16](https://github.com/qmk/qmk_firmware/tree/master/keyboards/1upkeyboards/sweet16)
- [dactyl_manuform5x6](https://github.com/qmk/qmk_firmware/tree/master/keyboards/handwired/dactyl_manuform/5x6)
- [sofle](https://github.com/qmk/qmk_firmware/tree/master/keyboards/sofle)
- [moonlander](https://github.com/qmk/qmk_firmware/tree/master/keyboards/moonlander)
- [planck](https://github.com/qmk/qmk_firmware/tree/master/keyboards/planck) (layout: `default`(=`grid`), `mit`)
- [dactyl_manuform6x6](https://github.com/qmk/qmk_firmware/tree/master/keyboards/handwired/dactyl_manuform/6x6)
- [sofle](https://github.com/qmk/qmk_firmware/tree/master/keyboards/sofle)
- [sweet16](https://github.com/qmk/qmk_firmware/tree/master/keyboards/1upkeyboards/sweet16)

## Install

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


KEYBOARDS = {
Expand All @@ -48,6 +49,7 @@
'moonlander': keymapviz.keyboards.moonlander,
'planck': keymapviz.keyboards.planck,
'dactyl_manuform6x6': keymapviz.keyboards.dactyl_manuform6x6,
'id75': keymapviz.keyboards.id75,
}


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

keymap_keyword = '(?:LAYOUT_ortho_5x15)'

layout_editor_json = {
'default': 'keyboards/id75/layout_editor/default.json'
}

ascii_art = {
"default": '''
/* ,--------------------------------------------------------------------------------------------------------.
* |{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|
* |------+------+------+------+------+-------------+------+------+------+------+------+------+------+------|
* |{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|
* |------+------+------+------+------+-------------+------+------+------+------+------+------+------+------|
* |{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|
* |------+------+------+------+------+-------------+------+------+------+------+------+------+------+------|
* |{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|
* |------+------+------+------+------+-------------+------+------+------+------+------+------+------+------|
* |{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|{ }|
* `--------------------------------------------------------------------------------------------------------'
* generated by [keymapviz] */
''',
}
90 changes: 90 additions & 0 deletions keymapviz/keyboards/id75/layout_editor/default.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,90 @@
[
[
{
"a": 7
},
"{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}",
"{32}",
"{33}",
"{34}",
"{35}",
"{36}",
"{37}",
"{38}",
"{39}",
"{40}",
"{41}",
"{42}",
"{43}",
"{44}"
],
[
"{45}",
"{46}",
"{47}",
"{48}",
"{49}",
"{50}",
"{51}",
"{52}",
"{53}",
"{54}",
"{55}",
"{56}",
"{57}",
"{58}",
"{59}"
],
[
"{60}",
"{61}",
"{62}",
"{63}",
"{64}",
"{65}",
"{66}",
"{67}",
"{68}",
"{69}",
"{70}",
"{71}",
"{72}",
"{73}",
"{74}"
]
]
2 changes: 1 addition & 1 deletion keymapviz/keymapviz.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
from keymapviz.legends import *


VERSION = 'v1.12.0'
VERSION = 'v1.13.0'

TYPES = {
'ascii': 'ascii_art',
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def search_json_files():

setup(
name='keymapviz',
version='1.12.0',
version='1.13.0',
description='keymap.c visualizer',
long_description=long_description,
long_description_content_type='text/markdown',
Expand Down
2 changes: 1 addition & 1 deletion test/expect/crkbd.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* `--------------------' `--------------------'
* generated by [keymapviz] */
/* ,-----------------------------------------. ,-----------------------------------------.
* |RESET | | | | | | | | | | | | |
* |QK_BOO| | | | | | | | | | | | |
* |------+------+------+------+------+------| |------+------+------+------+------+------|
* |RGB_TO|RGB_HU|RGB_SA|RGB_VA| | | | | | | | | |
* |------+------+------+------+------+------| |------+------+------+------+------+------|
Expand Down
2 changes: 1 addition & 1 deletion test/expect/crkbd_3.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
{
"y": -0.75
},
"RESET",
"QK_BOOT",
"",
{
"x": 3
Expand Down
2 changes: 1 addition & 1 deletion test/expect/crkbd_fancy.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* └──────┴──────┴──────┘ └──────┴──────┴──────┘
* generated by [keymapviz] */
/* ┌──────┬──────┬──────┬──────┬──────┬──────┐ ┌──────┬──────┬──────┬──────┬──────┬──────┐
* │RESET │ │ │ │ │ │ │ │ │ │ │ │ │
* │QK_BOO│ │ │ │ │ │ │ │ │ │ │ │ │
* ├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤
* │RGB_TO│RGB_HU│RGB_SA│RGB_VA│ │ │ │ │ │ │ │ │ │
* ├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤
Expand Down
2 changes: 1 addition & 1 deletion test/expect/ergo42.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* generated by [keymapviz] */
/*
* ,------------------------------------------------. ,------------------------------------------------.
* |RESET | 1 | 2 | 3 | 4 | 5 | LBRC | | RBRC | 6 | 7 | 8 | 9 | 0 | |
* |QK_BOO| 1 | 2 | 3 | 4 | 5 | LBRC | | RBRC | 6 | 7 | 8 | 9 | 0 | |
* |------+------+------+------+------+------+------| |-------------+------+------+------+------+------|
* | | F1 | | MHEN | HENK | | | | LEFT | DOWN | UP | RGHT | | | |
* |------+------+------+------+------+------+------| |------|------+------+------+------+------+------|
Expand Down
2 changes: 1 addition & 1 deletion test/expect/ergo42_1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"a": 7
},
"RESET",
"QK_BOOT",
"1",
"2",
"3",
Expand Down
2 changes: 1 addition & 1 deletion test/expect/ergo42_fancy.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* generated by [keymapviz] */
/*
* ┌──────┬──────┬──────┬──────┬──────┬──────┬──────┐ ┌──────┬──────┬──────┬──────┬──────┬──────┬──────┐
* │RESET │ 1 │ 2 │ 3 │ 4 │ 5 │ LBRC │ │ RBRC │ 6 │ 7 │ 8 │ 9 │ 0 │ │
* │QK_BOO│ 1 │ 2 │ 3 │ 4 │ 5 │ LBRC │ │ RBRC │ 6 │ 7 │ 8 │ 9 │ 0 │ │
* ├──────┼──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┼──────┤
* │ │ F1 │ │ MHEN │ HENK │ │ │ │ LEFT │ DOWN │ UP │ RGHT │ │ │ │
* ├──────┼──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┼──────┤
Expand Down
2 changes: 1 addition & 1 deletion test/expect/ergodash.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
* ,----------------------------------------------------------------------------------------------------------------------.
* | | | | | | | | | | | | | | | |
* |------+------+------+------+------+------+------+--------------------+------+------+------+------+------+------+------|
* | |RESET |RGB_TO|RGB_MO|RGB_HU|RGB_HU| | | |RGB_SA|RGB_SA|RGB_VA|RGB_VA| | |
* | |QK_BOO|RGB_TO|RGB_MO|RGB_HU|RGB_HU| | | |RGB_SA|RGB_SA|RGB_VA|RGB_VA| | |
* |------+------+------+------+------+------+------+--------------------+------+------+------+------+------+------+------|
* | | |BL_TOG|BL_BRT|BL_INC|BL_DEC| | | | | | | | | |
* |------+------+------+------+------+------+---------------------------+------+------+------+------+------+------+------|
Expand Down
2 changes: 1 addition & 1 deletion test/expect/ergodash_3.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"y": -0.75,
"x": 1
},
"RESET",
"QK_BOOT",
{
"x": 3
},
Expand Down
2 changes: 1 addition & 1 deletion test/expect/ergodash_L2u_inner.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
/* ,-----------------------------------------------. ,-----------------------------------------------.
* | | | | | | |-------. ,-------| | | | | | |
* |-------+-------+-------+-------+-------+-------| | | |-------+-------+-------+-------+-------+-------|
* | | RESET |RGB_TOG|RGB_MOD|RGB_HUD|RGB_HUI|-------| |-------|RGB_SAD|RGB_SAI|RGB_VAD|RGB_VAI| | |
* | |QK_BOOT|RGB_TOG|RGB_MOD|RGB_HUD|RGB_HUI|-------| |-------|RGB_SAD|RGB_SAI|RGB_VAD|RGB_VAI| | |
* |-------+-------+-------+-------+-------+-------| | | |-------+-------+-------+-------+-------+-------|
* | | |BL_TOGG|BL_BRTG|BL_INC |BL_DEC |-------| |-------| | | | | | |
* |-------+-------+-------+-------+-------+-------| | | |-------+-------+-------+-------+-------+-------|
Expand Down
2 changes: 1 addition & 1 deletion test/expect/ergodash_L2u_inner_3.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"y": -0.5
},
"",
"RESET",
"QK_BOOT",
"RGB_TOG",
"RGB_MOD",
"RGB_HUD",
Expand Down
2 changes: 1 addition & 1 deletion test/expect/ergodash_L2u_inner_fancy.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
/* ┌───────┬───────┬───────┬───────┬───────┬───────┐ ┌───────┬───────┬───────┬───────┬───────┬───────┐
* │ │ │ │ │ │ ├───────┐ ┌───────┤ │ │ │ │ │ │
* ├───────┼───────┼───────┼───────┼───────┼───────┤ │ │ ├───────┼───────┼───────┼───────┼───────┼───────┤
* │ │ RESET │RGB_TOG│RGB_MOD│RGB_HUD│RGB_HUI├───────┤ ├───────┤RGB_SAD│RGB_SAI│RGB_VAD│RGB_VAI│ │ │
* │ │QK_BOOT│RGB_TOG│RGB_MOD│RGB_HUD│RGB_HUI├───────┤ ├───────┤RGB_SAD│RGB_SAI│RGB_VAD│RGB_VAI│ │ │
* ├───────┼───────┼───────┼───────┼───────┼───────┤ │ │ ├───────┼───────┼───────┼───────┼───────┼───────┤
* │ │ │BL_TOGG│BL_BRTG│BL_INC │BL_DEC ├───────┤ ├───────┤ │ │ │ │ │ │
* ├───────┼───────┼───────┼───────┼───────┼───────┤ │ │ ├───────┼───────┼───────┼───────┼───────┼───────┤
Expand Down
2 changes: 1 addition & 1 deletion test/expect/ergodash_fancy.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
* ┌──────┬──────┬──────┬──────┬──────┬──────┬──────┬────────────────────┬──────┬──────┬──────┬──────┬──────┬──────┬──────┐
* │ │ │ │ │ │ │ │ │ │ │ │ │ │ │ │
* ├──────┼──────┼──────┼──────┼──────┼──────┼──────┼────────────────────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┤
* │ │RESET │RGB_TO│RGB_MO│RGB_HU│RGB_HU│ │ │ │RGB_SA│RGB_SA│RGB_VA│RGB_VA│ │ │
* │ │QK_BOO│RGB_TO│RGB_MO│RGB_HU│RGB_HU│ │ │ │RGB_SA│RGB_SA│RGB_VA│RGB_VA│ │ │
* ├──────┼──────┼──────┼──────┼──────┼──────┼──────┼────────────────────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┤
* │ │ │BL_TOG│BL_BRT│BL_INC│BL_DEC│ │ │ │ │ │ │ │ │ │
* ├──────┼──────┼──────┼──────┼──────┼──────┼──────┼────────────────────┼──────┼──────┼──────┼──────┼──────┼──────┼──────┤
Expand Down
2 changes: 1 addition & 1 deletion test/expect/fortitude60.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
/* ,-----------------------------------------. ,-----------------------------------------.
* | F1 | F2 | F3 | F4 | F5 | F6 | | F7 | F8 | F9 | F10 | F11 | F12 |
* |------+------+------+------+------+------| |------+------+------+------+------+------|
* | |RESET |RGB_TO|RGB_MO|RGB_HU|RGB_HU| |RGB_SA|RGB_SA|RGB_VA|RGB_VA| | BSPC |
* | |QK_BOO|RGB_TO|RGB_MO|RGB_HU|RGB_HU| |RGB_SA|RGB_SA|RGB_VA|RGB_VA| | BSPC |
* |------+------+------+------+------+------| |------+------+------+------+------+------|
* | | | |AU_ON |AU_OFF|AG_NOR| |AG_SWA| |BL_TOG|BL_STE| | |
* |------+------+------+------+------+------+------. ,------+------+------+------+------+------+------|
Expand Down
2 changes: 1 addition & 1 deletion test/expect/fortitude60_5.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"y": -0.75,
"x": 1
},
"RESET",
"QK_BOOT",
{
"x": 2
},
Expand Down
2 changes: 1 addition & 1 deletion test/expect/fortitude60_fancy.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
/* ┌──────┬──────┬──────┬──────┬──────┬──────┐ ┌──────┬──────┬──────┬──────┬──────┬──────┐
* │ F1 │ F2 │ F3 │ F4 │ F5 │ F6 │ │ F7 │ F8 │ F9 │ F10 │ F11 │ F12 │
* ├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤
* │ │RESET │RGB_TO│RGB_MO│RGB_HU│RGB_HU│ │RGB_SA│RGB_SA│RGB_VA│RGB_VA│ │ BSPC │
* │ │QK_BOO│RGB_TO│RGB_MO│RGB_HU│RGB_HU│ │RGB_SA│RGB_SA│RGB_VA│RGB_VA│ │ BSPC │
* ├──────┼──────┼──────┼──────┼──────┼──────┤ ├──────┼──────┼──────┼──────┼──────┼──────┤
* │ │ │ │AU_ON │AU_OFF│AG_NOR│ │AG_SWA│ │BL_TOG│BL_STE│ │ │
* ├──────┼──────┼──────┼──────┼──────┼──────┼──────┐ ┌──────┼──────┼──────┼──────┼──────┼──────┼──────┤
Expand Down
Loading

0 comments on commit 9499a5b

Please sign in to comment.