D | screen.py | 28 def set_orientation(target, auto=True, portrait=None): argument 33 acc_mode = 1 if auto else 0 67 def set_brightness(target, auto=True, percent=None): argument 72 bri_mode = 1 if auto else 0 95 def set_dim(target, auto=True): argument 100 dim_mode = 1 if auto else 0 101 dim_mode_str = 'ON' if auto else 'OFF'
|