diff options
| author | Amund Tenstad <github@amund.io> | 2024-11-15 19:15:48 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-15 11:15:48 -0700 |
| commit | f4e58eeff4a19bf1e2c38ed860193e455fe8703f (patch) | |
| tree | 34d73b8d2d02c3afde4d46ab7db33e1243b3484f /docs/feature_macros.md | |
| parent | 46236ce3de8385f27e3f13a9921abee7e1e0fa57 (diff) | |
docs: move description of host_language from Macros to Language-specific Keycodes (#24584)
Co-authored-by: フィルターペーパー <76888457+filterpaper@users.noreply.github.com>
Co-authored-by: Joel Challis <git@zvecr.com>
Co-authored-by: Ryan <fauxpark@gmail.com>
Diffstat (limited to 'docs/feature_macros.md')
| -rw-r--r-- | docs/feature_macros.md | 33 |
1 files changed, 1 insertions, 32 deletions
diff --git a/docs/feature_macros.md b/docs/feature_macros.md index 055bb3ff8f..b4e37a1ba9 100644 --- a/docs/feature_macros.md +++ b/docs/feature_macros.md | |||
| @@ -42,38 +42,7 @@ You can define up to 32 macros in a `keymap.json` file, as used by [Configurator | |||
| 42 | 42 | ||
| 43 | ### Selecting Your Host Keyboard Layout | 43 | ### Selecting Your Host Keyboard Layout |
| 44 | 44 | ||
| 45 | If you type in a language other than English, or use a non-QWERTY layout like Colemak, Dvorak, or Workman, you may have set your computer's input language to match this layout. This presents a challenge when creating macros - you may need to type different keys to get the same letters! To address this you can add the `host_language` key to your `keymap.json`, like so: | 45 | If you type in a language other than English, or use a non-QWERTY layout like Colemak, Dvorak, or Workman, you may have set your computer's input language to match this layout. This presents a challenge when creating macros — you may need to type different keys to get the same letters! To address this you can use [language-specific keycodes](reference_keymap_extras). |
| 46 | |||
| 47 | ```json | ||
| 48 | { | ||
| 49 | "keyboard": "handwired/my_macropad", | ||
| 50 | "keymap": "my_keymap", | ||
| 51 | "host_language": "dvorak", | ||
| 52 | "macros": [ | ||
| 53 | ["Hello, World!"] | ||
| 54 | ], | ||
| 55 | "layout": "LAYOUT_all", | ||
| 56 | "layers": [ | ||
| 57 | ["QK_MACRO_0"] | ||
| 58 | ] | ||
| 59 | } | ||
| 60 | ``` | ||
| 61 | |||
| 62 | The current list of available languages is: | ||
| 63 | |||
| 64 | | belgian | bepo | br_abnt2 | canadian_multilingual | | ||
| 65 | |:-------:|:----:|:--------:|:---------------------:| | ||
| 66 | | **colemak** | **croatian** | **czech** | **danish** | | ||
| 67 | | **dvorak_fr** | **dvorak** | **dvp** | **estonian** | | ||
| 68 | | **finnish** | **fr_ch** | **french_afnor** | **french** | | ||
| 69 | | **french_osx** | **german_ch** | **german** | **german_osx** | | ||
| 70 | | **hungarian** | **icelandic** | **italian** | **italian_osx_ansi** | | ||
| 71 | | **italian_osx_iso** | **jis** | **latvian** | **lithuanian_azerty** | | ||
| 72 | | **lithuanian_qwerty** | **norman** | **norwegian** | **portuguese** | | ||
| 73 | | **portuguese_osx_iso** | **romanian** | **serbian_latin** | **slovak** | | ||
| 74 | | **slovenian** | **spanish_dvorak** | **spanish_latin_america** | **spanish** | | ||
| 75 | | **swedish** | **turkish_f** | **turkish_q** | **uk** | | ||
| 76 | | **us_international** | **workman** | **workman_zxcvm** | | ||
| 77 | 46 | ||
| 78 | ### Macro Basics | 47 | ### Macro Basics |
| 79 | 48 | ||
