eliminate the need for -kb all
This commit is contained in:
parent
50fdb2a52c
commit
d3ed6fa8a4
2 changed files with 14 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
"""Functions that help you work with QMK keymaps.
|
||||
"""
|
||||
from functools import lru_cache
|
||||
import json
|
||||
import sys
|
||||
from pathlib import Path
|
||||
|
@ -306,6 +307,7 @@ def locate_keymap(keyboard, keymap):
|
|||
return community_layout / 'keymap.c'
|
||||
|
||||
|
||||
@lru_cache()
|
||||
def list_keymaps(keyboard, c=True, json=True, additional_files=None, fullpath=False):
|
||||
"""List the available keymaps for a keyboard.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue