Module os

Source
Expand description

Utilities to get information about the operating system and hardware state.

Structs§

Version
System version information. This struct is used for both kernel and firmware versions.

Enums§

MemRegion
A region of memory. Most applications will only use Application memory, but the other types can be used to query memory usage information. See https://www.3dbrew.org/wiki/Memory_layout#FCRAM_memory-regions_layout for more details on the different types of memory.
WifiStrength
WiFi signal strength. This enum’s u8 representation corresponds with the number of bars displayed in the Home menu.

Functions§

current_3d_slider_state
Get the current value of the stereoscopic 3D slider on a scale from 0.0­–­1.0.
firm_version
Get the system’s FIRM version.
is_headset_connected
Whether or not a headset is currently plugged into the device.
kernel_version
Get the system’s kernel version.