MCPcopy Index your code
hub / github.com/FrameworkComputer/inputmodule-rs / brightness

Function brightness

python/inputmodule/inputmodule/__init__.py:98–100  ·  view source on GitHub ↗

Adjust the brightness scaling of the entire screen.

(dev, b: int)

Source from the content-addressed store, hash-verified

96
97
98def brightness(dev, b: int):
99 """Adjust the brightness scaling of the entire screen."""
100 send_command(dev, CommandVals.Brightness, [b])
101
102
103def get_brightness(dev):

Callers 9

main_cliFunction · 0.90
breathingFunction · 0.90
run_guiFunction · 0.90
blinkingFunction · 0.90
handle_commandFunction · 0.85
mainFunction · 0.85
handle_sleepFunction · 0.85
mainFunction · 0.85
handle_sleepFunction · 0.85

Calls 1

send_commandFunction · 0.85

Tested by

no test coverage detected