module PlaceOS::Driver::Interface::DeskControl

Overview

Common desk control interface

Defined in:

placeos-driver/interface/desk_control.cr

Instance Method Summary

Instance Method Detail

abstract def get_desk_height(desk_key : String) : Int32 | Nil #

return nil on unknown height


[View source]
abstract def get_desk_power(desk_key : String) : Bool | Nil #

[View source]
abstract def set_desk_height(desk_key : String, desk_height : Int32) #

desk height is in mm


[View source]
abstract def set_desk_power(desk_key : String, desk_power : Bool | Nil) #

desk_power on / off / nil == auto


[View source]