abouttreesummaryrefslogcommitdiff
path: root/doc/Custom-layouts.md
diff options
context:
space:
mode:
authorJules Aguillon2024-07-06 23:09:51 +0200
committerJules Aguillon2024-07-06 23:09:51 +0200
commit3164215879a8374e9333801e0cc2ef56c627b4b6 (patch)
treedaa9870f9aa347c26b9dc506f70a55fffadb4ed8 /doc/Custom-layouts.md
parent99367a9ec68dc902d6b5cb1faa85a5a261acf64b (diff)
downloadunexpected-keyboard-3164215879a8374e9333801e0cc2ef56c627b4b6.tar.gz
unexpected-keyboard-3164215879a8374e9333801e0cc2ef56c627b4b6.zip
Add locale_extra_keys keyboard attribute
This attribute can be used to disable adding the extra keys from method.xml.
Diffstat (limited to 'doc/Custom-layouts.md')
-rw-r--r--doc/Custom-layouts.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/Custom-layouts.md b/doc/Custom-layouts.md
index 5b18968..226a892 100644
--- a/doc/Custom-layouts.md
+++ b/doc/Custom-layouts.md
@@ -39,6 +39,7 @@ The `<keyboard>`...`</keyboard>` pair follows the declaration tag and encloses t
* `script`: The (main) writing system that the keyboard supports. The possible values are `arabic`, `armenian`, `bengali`, `cyrillic`, `devanagari`, `gujarati`, `hangul`, `hebrew`, `latin`, `persian`, `shavian`, and `urdu`. It defaults to `latin`.
* `numpad_script`: The script to use for the numpad. This is useful for scripts where a different, non-ASCII set of numerals is used, like Devanagari and Arabic. It defaults to the same as `script`.
* `bottom_row`: Whether or not to show the common bottom row. It accepts `true` or `false`, and defaults to `true`. If your custom layout defines the bottom row, then specify `bottom_row=false` to disable the built-in bottom row.
+* `locale_extra_keys`: Whether language-dependent extra keys from [method.xml](../res/xml/method.xml) should be added to this layout. It accepts `true` or `false`, and defaults to `true`.
## Row
The `<row>`...`</row>` pair encloses one row on the keyboard. It has only one optional property: