[−][src]Trait libvibrant::Controller
Generic interface for dealing with any controller type.
Required methods
pub fn get_saturation(&self, instance: &Instance) -> f64
[src]
Returns the saturation of the screen. In the range of [0.0, 4.0].
pub fn set_saturation(&self, instance: &Instance, saturation: f64)
[src]
Sets the screen saturation. Input is clamped to the range of [0.0, 4.0].
pub fn get_name(&self) -> &str
[src]
Returns the name of the screen.
pub fn get_backend(&self) -> ControllerBackend
[src]
Returns the backend used for this controller.