From 42ab287977d3b234e88a782bfe354f7e39a4dc12 Mon Sep 17 00:00:00 2001 From: Amund Tenstad Date: Thu, 14 Nov 2024 06:13:20 +0100 Subject: [PATCH] docs: QMK_KEYBOARD_H Co-authored-by: Ryan --- docs/reference_keymap_extras.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/reference_keymap_extras.md b/docs/reference_keymap_extras.md index 4ff974eaf621..f6b4b8faf688 100644 --- a/docs/reference_keymap_extras.md +++ b/docs/reference_keymap_extras.md @@ -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.