brian.settings
- set_volume
- get_current_volume
- get_preferred_volume
- set_lcd_brightness
- get_current_lcd_brightness
- get_preferred_lcd_brightness
- enable_os_button_sounds
- are_os_button_sounds_enabled
- are_os_button_sounds_preferred
set_volume
Set current volume
Arguments:
percent
: Percentage of the maximum volume to apply. The value will be clipped to range 0% ~ 100%. The volume will not be set higher, than the one set in the settings in main menu.
get_current_volume
get_preferred_volume
Returns:
Speaker volume that was set in the settings in main menu (0% ~ 100%).
set_lcd_brightness
Set current lcd brightness
Arguments:
percent
: Percentage of the maximum brightness to apply. The value will be clipped to range 1% ~ 100%. The brightness will not be set higher, than the one set in the settings in main menu.
get_current_lcd_brightness
get_preferred_lcd_brightness
Returns:
Lcd brightness value that was set in the settings in main menu (0% ~ 100%).
enable_os_button_sounds
Arguments:
enable
: Whether to enable or disable os click sounds. Works only if OS is not muted in the settings in main menu.