Difference between revisions of "Unit Keymap US"
(One intermediate revision by the same user not shown) | |||
Line 4: | Line 4: | ||
=== Description === | === 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 <code>Keymap_US</code> in the <code>uses</code> clause of any unit in your program. | 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. |
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