Skip to main content

Module natural

Module natural 

Source

Structs§

Axis
An Axis is defined as a range and a unit.
Range
Describe a Range of values.
Unit
Describes a given unit by giving the unit and the unit’s exponent. E.g: Nanometers would have type METERS and exponent -9.

Enums§

ConsumerControlButton
These ControlButtons represent on/off buttons whose purpose is to change the host’s configuration.
Key
A Fuchsia key represents a control that can be pressed or released such as a key or a button on a keyboard or another input device.
KeymapId
Keymaps that should always be present and selectable. The fallback keymaps may be useful on their own but are mainly here to ensure that at least some keymap is present if no other custom keymaps have been defined or in use.
UnitType
This provides an easy, standardized way to specify units. New units can be added as needed. Each UnitType should be named after a specific unit that should be fully distinguished by the name (E.g: Use METERS instead of DISTANCE). More complicated units that need to be differentiated should begin with SI_ (for Internation System of Units) or ENGLISH_ (for English System of Units).