Skip to content

Commit

Permalink
docs: QMK_KEYBOARD_H
Browse files Browse the repository at this point in the history
Co-authored-by: Ryan <[email protected]>
  • Loading branch information
tenstad and fauxpark authored Nov 14, 2024
1 parent e6ecf19 commit 42ab287
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/reference_keymap_extras.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ Obviously, this can get confusing, so QMK provides language-specific keycode ali
To select a host keyboard layout, simply `#include` one of the [keycode headers](#header-files) below at the top of your `keymap.c`. Example:

```c
#include "keymap_japanese.h"
#include QMK_KEYBOARD_H

#include "keymap_japanese.h" // [!code focus]
```

Alternatively, if using `keymap.json`, add the `host_language` key as shown in the following example. The available languages are those with a _Sendstring LUT Header_ entry in one of the [Header Files](#header-files) tables.
Expand Down

0 comments on commit 42ab287

Please sign in to comment.