libthinkpad  2.6
https://github.com/libthinkpad
Public Member Functions | List of all members
ThinkPad::Hardware::Backlight Class Reference

The backlight class is used to control the backlight level on the integrated laptop screen. More...

#include <libthinkpad.h>

Public Member Functions

void setBacklightLevel (float factor)
 Set the backlight to the specified factor of illumination. More...
 
float getBacklightLevel ()
 Get the current value of the illumination factor. More...
 

Detailed Description

The backlight class is used to control the backlight level on the integrated laptop screen.

Member Function Documentation

float ThinkPad::Hardware::Backlight::getBacklightLevel ( )

Get the current value of the illumination factor.

Returns
the current brightness factor
void ThinkPad::Hardware::Backlight::setBacklightLevel ( float  factor)

Set the backlight to the specified factor of illumination.

Parameters
factorthe factor to set (0.0 - 1.0)

The documentation for this class was generated from the following files: