Difference between revisions of "Unit Keymap US"
(Created page with "Return to Unit Reference === Description === ---- Keymap_US is a keymap unit containing the keyboard layout for US English (US) keyboards, to use this ke...") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
---- | ---- | ||
− | + | '''Ultibo Keymap (US) Interface unit''' | |
+ | Keymap_US is a keymap unit containing the keyboard layout for US English (US) keyboards, to use this keymap include <code>Keymap_US</code> in the <code>uses</code> clause of any unit in your program. | ||
The keymap will automatically register itself during startup and will be available for use by calling <code>KeymapFindByName('US')</code> which will return a font handle that can be passed to <code>KeymapSetDefault()</code> to change the current default keymap. | The keymap will automatically register itself during startup and will be available for use by calling <code>KeymapFindByName('US')</code> which will return a font handle that can be passed to <code>KeymapSetDefault()</code> to change the current default keymap. | ||
Line 18: | Line 19: | ||
---- | ---- | ||
− | ''None'' | + | ''None defined'' |
=== Type definitions === | === Type definitions === | ||
---- | ---- | ||
− | ''None'' | + | ''None defined'' |
=== Public variables === | === Public variables === | ||
---- | ---- | ||
− | ''None'' | + | ''None defined'' |
=== Function declarations === | === Function declarations === | ||
---- | ---- | ||
− | ''None'' | + | ''None defined'' |
Return to [[Unit_Reference|Unit Reference]] | Return to [[Unit_Reference|Unit Reference]] |
Latest revision as of 06:03, 31 August 2021
Return to Unit Reference
Description
Ultibo Keymap (US) Interface unit
Keymap_US is a keymap unit containing the keyboard layout for US English (US) keyboards, to use this keymap include Keymap_US
in the uses
clause of any unit in your program.
The keymap will automatically register itself during startup and will be available for use by calling KeymapFindByName('US')
which will return a font handle that can be passed to KeymapSetDefault()
to change the current default keymap.
The default keymap can also be set during startup by defining the command line parameter KEYMAP_DEFAULT=US
in the file cmdline.txt on your SD card.
Note: The US English keyboard layout is included by default in Ultibo core, this unit is only intended to provide a template for those wanting to create their own custom keyboard layouts
Constants
None defined
Type definitions
None defined
Public variables
None defined
Function declarations
None defined
Return to Unit Reference