Compare commits

..
6 Commits
Author SHA1 Message Date
Max Audron e4d3ff2374 Add support for using podman to util/docker_build.sh (#10819)
* add podman support to docker_build.sh script

* break out runtime into the RUNTIME variable
* allows RUNTIME to be set by the user
* decides on docker or podman if docker isn't avaible
* rewrote check for docker-machine to account only for docker runtime
* put --user arg into a variable only to be used with docker
  this is not needed with podman as podman maps the containers root id
  to the users id.

* add podman to getting_started_docker documentation
2021-02-28 15:59:42 +11:00
MRAAGH bcbcb3d107 Add suggestion for indirect unicode input on Linux (#10854)
* Add suggestion for indirect unicode input on Linux

I have used this approach myself with great success, and it seems to be the only good solution that doesn't involve IBus.

* Elaborate on keyboard layout on Linux

This should be enough to allow people to figure out how to add custom characters to a Linux keyboard layout.
2021-02-28 15:53:40 +11:00
Isaac Elenbaas 765d8a33dd Fixes #4072, #6214. Revision of #156 to clear before AS/TD. (#9941) 2021-02-28 15:48:19 +11:00
Zach White 58e733b5a0 remove keyboard_folder from info.json 2021-02-27 16:17:12 -08:00
Zach White 0828d0f5c7 Fix compile errors (#12048)
* fix compile errors

* fix broken json files
2021-02-27 23:25:41 +00:00
github-actions[bot]andQMK Bot deaabff752 Format code according to conventions (#12046)
Co-authored-by: QMK Bot <[email protected]>
2021-02-27 22:35:41 +00:00
60 changed files with 94 additions and 96 deletions

No files matched your search

+1 -1
View File
@@ -88,7 +88,7 @@
"oneOf": [ "oneOf": [
{ {
"type": "string", "type": "string",
"enum": ["LAYOUT"] "enum": ["LAYOUT", "LAYOUT_planck_1x2uC"]
}, },
{ {
"type": "string", "type": "string",
+21
View File
@@ -126,6 +126,8 @@ The following input modes are available:
Enabled by default and works almost anywhere on IBus-enabled distros. Without IBus, this mode works under GTK apps, but rarely anywhere else. Enabled by default and works almost anywhere on IBus-enabled distros. Without IBus, this mode works under GTK apps, but rarely anywhere else.
By default, this mode uses Ctrl+Shift+U (`LCTL(LSFT(KC_U))`) to start Unicode input, but this can be changed by defining [`UNICODE_KEY_LNX`](#input-key-configuration) with a different keycode. This might be required for IBus versions ≥1.5.15, where Ctrl+Shift+U behavior is consolidated into Ctrl+Shift+E. By default, this mode uses Ctrl+Shift+U (`LCTL(LSFT(KC_U))`) to start Unicode input, but this can be changed by defining [`UNICODE_KEY_LNX`](#input-key-configuration) with a different keycode. This might be required for IBus versions ≥1.5.15, where Ctrl+Shift+U behavior is consolidated into Ctrl+Shift+E.
Users who wish support in non-GTK apps without IBus may need to resort to a more indirect method, such as creating a custom keyboard layout ([more on this method](#custom-linux-layout)).
* **`UC_WIN`**: _(not recommended)_ Windows built-in hex numpad Unicode input. Supports code points up to `0xFFFF`. * **`UC_WIN`**: _(not recommended)_ Windows built-in hex numpad Unicode input. Supports code points up to `0xFFFF`.
To enable, create a registry key under `HKEY_CURRENT_USER\Control Panel\Input Method` of type `REG_SZ` called `EnableHexNumpad` and set its value to `1`. This can be done from the Command Prompt by running `reg add "HKCU\Control Panel\Input Method" -v EnableHexNumpad -t REG_SZ -d 1` with administrator privileges. Reboot afterwards. To enable, create a registry key under `HKEY_CURRENT_USER\Control Panel\Input Method` of type `REG_SZ` called `EnableHexNumpad` and set its value to `1`. This can be done from the Command Prompt by running `reg add "HKCU\Control Panel\Input Method" -v EnableHexNumpad -t REG_SZ -d 1` with administrator privileges. Reboot afterwards.
@@ -270,3 +272,22 @@ AutoHotkey inserts the Text right of `Send, ` when this combination is pressed.
If you enable the US International layout on the system, it will use punctuation to accent the characters. For instance, typing "\`a" will result in à. If you enable the US International layout on the system, it will use punctuation to accent the characters. For instance, typing "\`a" will result in à.
You can find details on how to enable this [here](https://support.microsoft.com/en-us/help/17424/windows-change-keyboard-layout). You can find details on how to enable this [here](https://support.microsoft.com/en-us/help/17424/windows-change-keyboard-layout).
## Software keyboard layout on Linux :id=custom-linux-layout
This method does not require Unicode support on the keyboard itself but instead uses a custom keyboard layout for Xorg. This is how special characters are inserted by regular keyboards. This does not require IBus and works in practically all software. Help on creating a custom layout can be found [here](https://www.linux.com/news/creating-custom-keyboard-layouts-x11-using-xkb/), [here](http://karols.github.io/blog/2013/11/18/creating-custom-keyboard-layouts-for-linux/) and [here](https://wiki.archlinux.org/index.php/X_keyboard_extension). An example of how you could edit the `us` layout to gain 🤣 on `RALT(KC_R)`:
Edit the keyboard layout file `/usr/share/X11/xkb/symbols/us`.
Inside `xkb_symbols "basic" {`, add `include "level3(ralt_switch)"`.
Find the line defining the R key and add an entry to the list, making it look like this:
```
key <AD04> { [ r, R, U1F923 ] };
```
Save the file and run the command `setxkbmap us` to reload the layout.
You can define one custom character for key defined in the layout, and another if you populate the fourth layer. Additional layers up to 8th are also possible.
This method is specific to the computer on which you set the custom layout. The custom keys will be available only when Xorg is running. To avoid accidents, you should always reload the layout using `setxkbmap`, otherwise an invalid layout could prevent you from logging into your system, locking you out.
+9 -1
View File
@@ -4,8 +4,9 @@ This project includes a Docker workflow that will allow you to build a new firmw
## Requirements ## Requirements
The main prerequisite is a working `docker` install. The main prerequisite is a working `docker` or `podman` install.
* [Docker CE](https://docs.docker.com/install/#supported-platforms) * [Docker CE](https://docs.docker.com/install/#supported-platforms)
* [Podman](https://podman.io/getting-started/installation)
## Usage ## Usage
@@ -38,6 +39,13 @@ util/docker_build.sh
# Reads parameters as input (leave blank for all keyboards/keymaps) # Reads parameters as input (leave blank for all keyboards/keymaps)
``` ```
You can manually set which container runtime you want to use by setting the `RUNTIME` environment variable to it's name or path.
By default docker or podman are automatically detected and docker is preferred over podman.
```bash
RUNTIME="podman" util/docker_build.sh keyboard:keymap:target
```
## FAQ ## FAQ
### Why can't I flash on Windows/macOS ### Why can't I flash on Windows/macOS
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "SharkPCB", "keyboard_name": "SharkPCB",
"keyboard_folder": "acheron/shark",
"url": "https://gondolindrim.github.io/AcheronDocs/shark/intro.html", "url": "https://gondolindrim.github.io/AcheronDocs/shark/intro.html",
"maintainer": "Gondolindrim", "maintainer": "Gondolindrim",
"width": 12, "width": 12,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "AT101 BH PCB", "keyboard_name": "AT101 BH PCB",
"keyboard_folder": "at101_bh",
"url": "https://deskthority.net/group-buys-f50/programmable-vintage-board-pcbs-omnikey-at101-and-z-150-t19325.html", "url": "https://deskthority.net/group-buys-f50/programmable-vintage-board-pcbs-omnikey-at101-and-z-150-t19325.html",
"maintainer": "qmk, blindassassin111", "maintainer": "qmk, blindassassin111",
"width": 22.5, "width": 22.5,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Chimera Ortho", "keyboard_name": "Chimera Ortho",
"keyboard_folder": "chimera_ortho",
"maintainer": "qmk", "maintainer": "qmk",
"width": 15.5, "width": 15.5,
"height": 4.25, "height": 4.25,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Chimera Ortho Plus", "keyboard_name": "Chimera Ortho Plus",
"keyboard_folder": "chimera_ortho_plus",
"maintainer": "qmk", "maintainer": "qmk",
"width": 13.5, "width": 13.5,
"height": 6, "height": 6,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Christmas Tree", "keyboard_name": "Christmas Tree",
"keyboard_folder": "christmas_tree",
"url": "https://www.reddit.com/r/MechanicalKeyboards/comments/7cqxpf/gb_christmas_tree_pcb_gb_now_live/", "url": "https://www.reddit.com/r/MechanicalKeyboards/comments/7cqxpf/gb_christmas_tree_pcb_gb_now_live/",
"maintainer": "That-Canadian", "maintainer": "That-Canadian",
"width": 3, "width": 3,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "HP_46010A", "keyboard_name": "HP_46010A",
"keyboard_folder": "converter/HP_46010A",
"url": "https://deskthority.net/wiki/HP_46010A", "url": "https://deskthority.net/wiki/HP_46010A",
"maintainer": "listofoptions", "maintainer": "listofoptions",
"width": 22, "width": 22,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "IBM 5291", "keyboard_name": "IBM 5291",
"keyboard_folder": "converter/ibm_5291",
"url": "https://deskthority.net/wiki/IBM_Model_F#IBM_5291_Keyboard", "url": "https://deskthority.net/wiki/IBM_Model_F#IBM_5291_Keyboard",
"maintainer": "listofoptions", "maintainer": "listofoptions",
"width": 21, "width": 21,
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Palm Stowaway Serial", "keyboard_name": "Palm Stowaway Serial",
"keyboard_folder": "converter/palm_usb/stowaway",
"url": "", "url": "",
"maintainer": "qmk", "maintainer": "qmk",
"width": 15.25, "width": 15.25,
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Sun Type 3", "keyboard_name": "Sun Type 3",
"keyboard_folder": "converter/sun_usb/type3",
"url": "", "url": "",
"maintainer": "qmk", "maintainer": "qmk",
"width": 21, "width": 21,
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Sun Type 5", "keyboard_name": "Sun Type 5",
"keyboard_folder": "converter/sun_usb/type5",
"url": "", "url": "",
"maintainer": "qmk", "maintainer": "qmk",
"width": 24.75, "width": 24.75,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "IBM PC XT", "keyboard_name": "IBM PC XT",
"keyboard_folder": "converter/xt_usb",
"url": "", "url": "",
"maintainer": "qmk", "maintainer": "qmk",
"width": 21, "width": 21,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "CRBN", "keyboard_name": "CRBN",
"keyboard_folder": "crbn",
"url": "polarityworks.com", "url": "polarityworks.com",
"maintainer": "qmk", "maintainer": "qmk",
"width": 12, "width": 12,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Plaid // Through Hole", "keyboard_name": "Plaid // Through Hole",
"keyboard_folder": "dm9records/plaid",
"url": "https://github.com/hsgw/plaid", "url": "https://github.com/hsgw/plaid",
"maintainer": "hsgw(Takuya Urakawa)", "maintainer": "hsgw(Takuya Urakawa)",
"width": 12, "width": 12,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Tartan # Through Hole", "keyboard_name": "Tartan # Through Hole",
"keyboard_folder": "dm9records/tartan",
"url": "https://github.com/hsgw/tartan", "url": "https://github.com/hsgw/tartan",
"maintainer": "hsgw(Takuya Urakawa)", "maintainer": "hsgw(Takuya Urakawa)",
"width": 13, "width": 13,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "DZ96", "keyboard_name": "DZ96",
"keyboard_folder": "dztech/dz96",
"url": "", "url": "",
"maintainer": "kb-elmo", "maintainer": "kb-elmo",
"width": 19, "width": 19,
+1 -2
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Quadrant E-C", "keyboard_name": "Quadrant E-C",
"keyboard_folder": "ealdin/quadrant",
"url": "https://github.com/Ealdin/keyboards/tree/master/Quadrant", "url": "https://github.com/Ealdin/keyboards/tree/master/Quadrant",
"maintainer": "Ealdin Keyboards", "maintainer": "Ealdin Keyboards",
"width": 14, "width": 14,
@@ -22,4 +21,4 @@
"layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":12, "y":0}, {"x":13, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":5, "y":1}, {"x":6, "y":1}, {"x":7, "y":1}, {"x":8, "y":1}, {"x":9, "y":1}, {"x":10, "y":1}, {"x":11, "y":1}, {"x":12, "y":1}, {"x":13, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":4, "y":2}, {"x":5, "y":2}, {"x":6, "y":2}, {"x":7, "y":2}, {"x":8, "y":2}, {"x":9, "y":2}, {"x":10, "y":2}, {"x":11, "y":2}, {"x":12, "y":2}, {"x":13, "y":2}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}, {"x":4, "y":3}, {"x":5, "y":3}, {"x":6, "y":3}, {"x":7, "y":3}, {"x":8, "y":3}, {"x":9, "y":3}, {"x":10, "y":3}, {"x":11, "y":3}, {"x":12, "y":3}, {"x":13, "y":3}, {"x":0, "y":4}, {"x":1, "y":4}, {"x":2, "y":4}, {"x":3, "y":4}, {"x":4, "y":4}, {"x":5, "y":4, "w":2}, {"x":7, "y":4, "w":2}, {"x":9, "y":4}, {"x":10, "y":4}, {"x":11, "y":4}, {"x":12, "y":4}, {"x":13, "y":4}] "layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":12, "y":0}, {"x":13, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":5, "y":1}, {"x":6, "y":1}, {"x":7, "y":1}, {"x":8, "y":1}, {"x":9, "y":1}, {"x":10, "y":1}, {"x":11, "y":1}, {"x":12, "y":1}, {"x":13, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":4, "y":2}, {"x":5, "y":2}, {"x":6, "y":2}, {"x":7, "y":2}, {"x":8, "y":2}, {"x":9, "y":2}, {"x":10, "y":2}, {"x":11, "y":2}, {"x":12, "y":2}, {"x":13, "y":2}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}, {"x":4, "y":3}, {"x":5, "y":3}, {"x":6, "y":3}, {"x":7, "y":3}, {"x":8, "y":3}, {"x":9, "y":3}, {"x":10, "y":3}, {"x":11, "y":3}, {"x":12, "y":3}, {"x":13, "y":3}, {"x":0, "y":4}, {"x":1, "y":4}, {"x":2, "y":4}, {"x":3, "y":4}, {"x":4, "y":4}, {"x":5, "y":4, "w":2}, {"x":7, "y":4, "w":2}, {"x":9, "y":4}, {"x":10, "y":4}, {"x":11, "y":4}, {"x":12, "y":4}, {"x":13, "y":4}]
} }
} }
} }
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Espectro", "keyboard_name": "Espectro",
"keyboard_folder": "espectro",
"url": "", "url": "",
"maintainer": "qmk", "maintainer": "qmk",
"width": 19, "width": 19,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Angel", "keyboard_name": "Angel",
"keyboard_folder": "angel",
"url": "https://github.com/jamessa/Angel", "url": "https://github.com/jamessa/Angel",
"maintainer": "jamessa", "maintainer": "jamessa",
"width": 13, "width": 13,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Aranck", "keyboard_name": "Aranck",
"keyboard_folder": "handwired/aranck",
"url": "https://github.com/Ardakilic", "url": "https://github.com/Ardakilic",
"maintainer": "Arda Kilicdagi", "maintainer": "Arda Kilicdagi",
"width": 12, "width": 12,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Heisenberg", "keyboard_name": "Heisenberg",
"keyboard_folder": "handwired/heisenberg",
"url": "https://github.com/Ardakilic", "url": "https://github.com/Ardakilic",
"maintainer": "Arda Kilicdagi", "maintainer": "Arda Kilicdagi",
"width": 12, "width": 12,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Hub20", "keyboard_name": "Hub20",
"keyboard_folder": "hub20",
"url": "https://github.com/joshajohnson/hub20", "url": "https://github.com/joshajohnson/hub20",
"maintainer": "joshajohnson", "maintainer": "joshajohnson",
"width": 4, "width": 4,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Infinity 60%", "keyboard_name": "Infinity 60%",
"keyboard_folder": "infinity60",
"url": "https://input.club/devices/infinity-keyboard/", "url": "https://input.club/devices/infinity-keyboard/",
"maintainer": "qmk", "maintainer": "qmk",
"width": 15, "width": 15,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Rorschach", "keyboard_name": "Rorschach",
"keyboard_folder": "rorschach",
"url": "https://keeb.io", "url": "https://keeb.io",
"maintainer": "nooges", "maintainer": "nooges",
"width": 15, "width": 15,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "model01", "keyboard_name": "model01",
"keyboard_folder": "keyboardio/model01",
"url": "https://keyboard.io", "url": "https://keyboard.io",
"maintainer": "qmk", "maintainer": "qmk",
"width": 18.5, "width": 18.5,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "O4L 5x12", "keyboard_name": "O4L 5x12",
"keyboard_folder": "keycapsss/o4l_5x12",
"url": "https://github.com/qmk/qmk_firmware/tree/master/keyboards/keycapsss/o4l_5x12", "url": "https://github.com/qmk/qmk_firmware/tree/master/keyboards/keycapsss/o4l_5x12",
"maintainer": "BenRoe", "maintainer": "BenRoe",
"width": 12, "width": 12,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Plaid-Pad", "keyboard_name": "Plaid-Pad",
"keyboard_folder": "plaid_pad",
"url": "https://keycapsss.com/diy-kits/104/plaid-pad-4x4-numpad", "url": "https://keycapsss.com/diy-kits/104/plaid-pad-4x4-numpad",
"maintainer": "BenRoe", "maintainer": "BenRoe",
"width": 4, "width": 4,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "smd_milk", "keyboard_name": "smd_milk",
"keyboard_folder": "kinlgy_keys/smd_milk",
"url": "", "url": "",
"maintainer": "TheRoyalSweatshirt", "maintainer": "TheRoyalSweatshirt",
"width": 1, "width": 1,
+22 -22
View File
@@ -8,32 +8,32 @@
"LAYOUT_ortho": { "LAYOUT_ortho": {
"layout": [ "layout": [
{"Label": "F17", "x": 1, "y": 0}, {"label": "F17", "x": 1, "y": 0},
{"Label": "F18", "x": 2, "y": 0}, {"label": "F18", "x": 2, "y": 0},
{"Label": "F19", "x": 3, "y": 0}, {"label": "F19", "x": 3, "y": 0},
{"Label": "F20", "x": 4, "y": 0}, {"label": "F20", "x": 4, "y": 0},
{"Label": "F13", "x": 1, "y": 1}, {"label": "F13", "x": 1, "y": 1},
{"Label": "F14", "x": 2, "y": 1}, {"label": "F14", "x": 2, "y": 1},
{"Label": "F15", "x": 3, "y": 1}, {"label": "F15", "x": 3, "y": 1},
{"Label": "F16", "x": 4, "y": 1}, {"label": "F16", "x": 4, "y": 1},
{"Label": "F9", "x": 1, "y": 2}, {"label": "F9", "x": 1, "y": 2},
{"Label": "F10", "x": 2, "y": 2}, {"label": "F10", "x": 2, "y": 2},
{"Label": "F11", "x": 3, "y": 2}, {"label": "F11", "x": 3, "y": 2},
{"Label": "F12", "x": 4, "y": 2}, {"label": "F12", "x": 4, "y": 2},
{"Label": "K2", "x": 0, "y": 3}, {"label": "K2", "x": 0, "y": 3},
{"Label": "F5", "x": 1, "y": 3}, {"label": "F5", "x": 1, "y": 3},
{"Label": "F6", "x": 2, "y": 3}, {"label": "F6", "x": 2, "y": 3},
{"Label": "F7", "x": 3, "y": 3}, {"label": "F7", "x": 3, "y": 3},
{"Label": "F8", "x": 4, "y": 3}, {"label": "F8", "x": 4, "y": 3},
{"Label": "K1", "x": 0, "y": 4}, {"label": "K1", "x": 0, "y": 4},
{"Label": "F1", "x": 1, "y": 4}, {"label": "F1", "x": 1, "y": 4},
{"Label": "F2", "x": 2, "y": 4}, {"label": "F2", "x": 2, "y": 4},
{"Label": "F3", "x": 3, "y": 4}, {"label": "F3", "x": 3, "y": 4},
{"Label": "F4", "x": 4, "y": 4} {"label": "F4", "x": 4, "y": 4}
] ]
} }
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Lx3 Whale 75", "keyboard_name": "Lx3 Whale 75",
"keyboard_folder": "linworks/whale75",
"maintainer": "ebastler", "maintainer": "ebastler",
"width": 16.25, "width": 16.25,
"height": 6.5, "height": 6.5,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Little Alby", "keyboard_name": "Little Alby",
"keyboard_folder": "mute",
"url": "", "url": "",
"maintainer": "albybarber", "maintainer": "albybarber",
"width": 1, "width": 1,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Phoebe", "keyboard_name": "Phoebe",
"keyboard_folder": "maxr1998/phoebe",
"url": "https://github.com/Maxr1998/Phoebe_Keyboard", "url": "https://github.com/Maxr1998/Phoebe_Keyboard",
"maintainer": "Maxr1998", "maintainer": "Maxr1998",
"width": 12, "width": 12,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Pulse 4k", "keyboard_name": "Pulse 4k",
"keyboard_folder": "maxr1998/pulse4k",
"url": "https://github.com/Maxr1998/Pulse_4k", "url": "https://github.com/Maxr1998/Pulse_4k",
"maintainer": "Maxr1998", "maintainer": "Maxr1998",
"width": 3, "width": 3,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Meson", "keyboard_name": "Meson",
"keyboard_folder": "meson",
"maintainer": "qmk", "maintainer": "qmk",
"width": 15.5, "width": 15.5,
"height": 4, "height": 4,
-2
View File
@@ -74,8 +74,6 @@
] ]
}, },
"LAYOUT_with_setta21": { "LAYOUT_with_setta21": {
"width": 21.5,
"height": 6.25,
"layout": [ "layout": [
{"label":"pgup", "x":0.25, "y":0}, {"label":"pgup", "x":0.25, "y":0},
{"label":"ESC", "x":1.75, "y":0}, {"label":"ESC", "x":1.75, "y":0},
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "SCRAMBLE switch tester", "keyboard_name": "SCRAMBLE switch tester",
"keyboard_folder": "nullbitsco/scramble",
"url": "https://nullbits.co/scramble", "url": "https://nullbits.co/scramble",
"maintainer": "jaygreco", "maintainer": "jaygreco",
"width": 3, "width": 3,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "ortho5by12", "keyboard_name": "ortho5by12",
"keyboard_folder": "ortho5by12",
"url": "https://github.com/itsnoteasy/misc/blob/master/ortho5by12.zip", "url": "https://github.com/itsnoteasy/misc/blob/master/ortho5by12.zip",
"maintainer": "itsnoteasy", "maintainer": "itsnoteasy",
"width": 12, "width": 12,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Planck EZ", "keyboard_name": "Planck EZ",
"keyboard_folder": "planck/ez",
"url": "https://ergodox-ez.com/pages/planck", "url": "https://ergodox-ez.com/pages/planck",
"maintainer": "jackhumbert", "maintainer": "jackhumbert",
"width": 12, "width": 12,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Planck", "keyboard_name": "Planck",
"keyboard_folder": "planck",
"url": "https://olkb.com/planck", "url": "https://olkb.com/planck",
"maintainer": "jackhumbert", "maintainer": "jackhumbert",
"width": 12, "width": 12,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Planck Light", "keyboard_name": "Planck Light",
"keyboard_folder": "planck/light",
"url": "https://olkb.com/planck", "url": "https://olkb.com/planck",
"maintainer": "jackhumbert", "maintainer": "jackhumbert",
"width": 12, "width": 12,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Planck rev 1", "keyboard_name": "Planck rev 1",
"keyboard_folder": "planck/rev1",
"url": "https://olkb.com/planck", "url": "https://olkb.com/planck",
"maintainer": "jackhumbert", "maintainer": "jackhumbert",
"width": 12, "width": 12,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Planck rev 2", "keyboard_name": "Planck rev 2",
"keyboard_folder": "planck/rev2",
"url": "https://olkb.com/planck", "url": "https://olkb.com/planck",
"maintainer": "jackhumbert", "maintainer": "jackhumbert",
"width": 12, "width": 12,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Planck rev 3", "keyboard_name": "Planck rev 3",
"keyboard_folder": "planck/rev3",
"url": "https://olkb.com/planck", "url": "https://olkb.com/planck",
"maintainer": "jackhumbert", "maintainer": "jackhumbert",
"width": 12, "width": 12,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Planck rev 4", "keyboard_name": "Planck rev 4",
"keyboard_folder": "planck/rev4",
"url": "https://olkb.com/planck", "url": "https://olkb.com/planck",
"maintainer": "jackhumbert", "maintainer": "jackhumbert",
"width": 12, "width": 12,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Planck rev 5", "keyboard_name": "Planck rev 5",
"keyboard_folder": "planck/rev5",
"url": "https://olkb.com/planck", "url": "https://olkb.com/planck",
"maintainer": "jackhumbert", "maintainer": "jackhumbert",
"width": 12, "width": 12,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Planck rev 6", "keyboard_name": "Planck rev 6",
"keyboard_folder": "planck/rev6",
"url": "https://olkb.com/planck", "url": "https://olkb.com/planck",
"maintainer": "jackhumbert", "maintainer": "jackhumbert",
"width": 12, "width": 12,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Preonic", "keyboard_name": "Preonic",
"keyboard_folder": "preonic",
"url": "https://olkb.com/preonic", "url": "https://olkb.com/preonic",
"maintainer": "jackhumbert", "maintainer": "jackhumbert",
"width": 12, "width": 12,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Preonic rev. 3", "keyboard_name": "Preonic rev. 3",
"keyboard_folder": "preonic/rev3",
"url": "https://olkb.com/preonic", "url": "https://olkb.com/preonic",
"maintainer": "jackhumbert", "maintainer": "jackhumbert",
"width": 12, "width": 12,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "2% Milk", "keyboard_name": "2% Milk",
"keyboard_folder": "2_milk",
"url": "", "url": "",
"maintainer": "Spaceman", "maintainer": "Spaceman",
"width": 1, "width": 1,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Pancake", "keyboard_name": "Pancake",
"keyboard_folder": "Pancake",
"url": "", "url": "",
"maintainer": "Spaceman", "maintainer": "Spaceman",
"width": 12, "width": 12,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "yun65", "keyboard_name": "yun65",
"keyboard_folder": "spaceman/yun65",
"url": "", "url": "",
"maintainer": "Spaceman", "maintainer": "Spaceman",
"width": 1, "width": 1,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Uno", "keyboard_name": "Uno",
"keyboard_folder": "uno",
"url": "https://www.reddit.com/r/mechmarket/comments/gyijm7/gb_uno/", "url": "https://www.reddit.com/r/mechmarket/comments/gyijm7/gb_uno/",
"maintainer": "Snipeye", "maintainer": "Snipeye",
"width": 1, "width": 1,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "Styrka", "keyboard_name": "Styrka",
"keyboard_folder": "viktus/styrka",
"url": "https", "url": "https",
"maintainer": "jrfhoutx", "maintainer": "jrfhoutx",
"width": 18.25, "width": 18.25,
-1
View File
@@ -1,6 +1,5 @@
{ {
"keyboard_name": "winkeyless.kr B.mini EX", "keyboard_name": "winkeyless.kr B.mini EX",
"keyboard_folder": "bminiex",
"url": "https://winkeyless.kr/product/b-mini-ex-x2-pcb/", "url": "https://winkeyless.kr/product/b-mini-ex-x2-pcb/",
"maintainer": "qmk", "maintainer": "qmk",
"width": 20.25, "width": 20.25,
+3 -2
View File
@@ -454,8 +454,9 @@ def _find_all_layouts(info_data, keyboard):
if these_layouts: if these_layouts:
layouts.update(these_layouts) layouts.update(these_layouts)
if these_aliases: for alias, alias_text in these_aliases.items():
aliases.update(these_aliases) if alias_text in layouts:
aliases[alias] = alias_text
return layouts, aliases return layouts, aliases
+5 -5
View File
@@ -76,6 +76,11 @@ void action_exec(keyevent_t event) {
#endif #endif
} }
if (event.pressed) {
// clear the potential weak mods left by previously pressed keys
clear_weak_mods();
}
#ifdef SWAP_HANDS_ENABLE #ifdef SWAP_HANDS_ENABLE
if (!IS_NOEVENT(event)) { if (!IS_NOEVENT(event)) {
process_hand_swap(&event); process_hand_swap(&event);
@@ -237,11 +242,6 @@ void process_action(keyrecord_t *record, action_t action) {
uint8_t tap_count = record->tap.count; uint8_t tap_count = record->tap.count;
#endif #endif
if (event.pressed) {
// clear the potential weak mods left by previously pressed keys
clear_weak_mods();
}
#ifndef NO_ACTION_ONESHOT #ifndef NO_ACTION_ONESHOT
bool do_release_oneshot = false; bool do_release_oneshot = false;
// notice we only clear the one shot layer if the pressed key is not a modifier. // notice we only clear the one shot layer if the pressed key is not a modifier.
+2 -2
View File
@@ -87,9 +87,9 @@ static void vusb_wakeup(void) {
vusb_suspended = false; vusb_suspended = false;
suspend_wakeup_init(); suspend_wakeup_init();
#ifdef SLEEP_LED_ENABLE # ifdef SLEEP_LED_ENABLE
sleep_led_disable(); sleep_led_disable();
#endif # endif
} }
#endif #endif
+30 -9
View File
@@ -17,12 +17,27 @@ done
if [ $# -gt 1 ]; then if [ $# -gt 1 ]; then
errcho "$USAGE" errcho "$USAGE"
exit 1 exit 1
elif ! command -v docker >/dev/null 2>&1; then
errcho "Error: docker not found"
errcho "See https://docs.docker.com/install/#supported-platforms for installation instructions"
exit 2
fi fi
# Allow $RUNTIME to be overriden by the user as an environment variable
# Else check if either docker or podman exit and set them as runtime
# if none are found error out
if [ -z "$RUNTIME" ]; then
if command -v docker >/dev/null 2>&1; then
RUNTIME="docker"
elif command -v podman >/dev/null 2>&1; then
RUNTIME="podman"
else
errcho "Error: no compatible container runtime found."
errcho "Either podman or docker are required."
errcho "See https://podman.io/getting-started/installation"
errcho "or https://docs.docker.com/install/#supported-platforms"
errcho "for installation instructions."
exit 2
fi
fi
# Determine arguments # Determine arguments
if [ $# -eq 0 ]; then if [ $# -eq 0 ]; then
printf "keyboard=" && read -r keyboard printf "keyboard=" && read -r keyboard
@@ -41,20 +56,26 @@ if [ -z "$keyboard" ]; then
keyboard=all keyboard=all
fi fi
if [ -n "$target" ]; then if [ -n "$target" ]; then
if [ "$(uname)" = "Linux" ] || docker-machine active >/dev/null 2>&1; then # IF we are using docker on non Linux and docker-machine isn't working print an error
usb_args="--privileged -v /dev:/dev" # ELSE set usb_args
else if [ ! "$(uname)" = "Linux" ] && [ "$RUNTIME" = "docker" ] && ! docker-machine active >/dev/null 2>&1; then
errcho "Error: target requires docker-machine to work on your platform" errcho "Error: target requires docker-machine to work on your platform"
errcho "See http://gw.tnode.com/docker/docker-machine-with-usb-support-on-windows-macos" errcho "See http://gw.tnode.com/docker/docker-machine-with-usb-support-on-windows-macos"
errcho "Consider flashing with QMK Toolbox (https://github.com/qmk/qmk_toolbox) instead" errcho "Consider flashing with QMK Toolbox (https://github.com/qmk/qmk_toolbox) instead"
exit 3 exit 3
else
usb_args="--privileged -v /dev:/dev"
fi fi
fi fi
dir=$(pwd -W 2>/dev/null) || dir=$PWD # Use Windows path if on Windows dir=$(pwd -W 2>/dev/null) || dir=$PWD # Use Windows path if on Windows
if [ "$RUNTIME" = "docker" ]; then
uid_arg="--user $(id -u):$(id -g)"
fi
# Run container and build firmware # Run container and build firmware
docker run --rm -it $usb_args \ "$RUNTIME" run --rm -it $usb_args \
--user $(id -u):$(id -g) \ $uid_arg \
-w /qmk_firmware \ -w /qmk_firmware \
-v "$dir":/qmk_firmware \ -v "$dir":/qmk_firmware \
-e ALT_GET_KEYBOARDS=true \ -e ALT_GET_KEYBOARDS=true \