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...") |
|||
Line 6: | Line 6: | ||
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. | ||
− | |||
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. |
Revision as of 05:33, 2 September 2016
Return to Unit Reference
Description
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
Type definitions
None
Public variables
None
Function declarations
None
Return to Unit Reference