34 lines
635 B
JavaScript
34 lines
635 B
JavaScript
|
/**
|
||
|
* Placeholder action
|
||
|
*/
|
||
|
function nullAction(){
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Changes the active page.
|
||
|
* @param {The desired page} page
|
||
|
*/
|
||
|
function changePage(page){
|
||
|
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Change the brightness of the streamdeck
|
||
|
* @param {The relative change in brightness.} relativeChange
|
||
|
* @example
|
||
|
* changeBrightness(5) - Plus 5% brightness
|
||
|
* changeBrightness(-5) - Minus 5% brightness
|
||
|
*/
|
||
|
function changeBrightness(relativeChange){
|
||
|
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Sets desired brightness on the streamdeck. (0 - 100)
|
||
|
* @param {Percent brightness} percent
|
||
|
*/
|
||
|
function setBrightness(percent){
|
||
|
|
||
|
}
|
||
|
|
||
|
module.exports={changePage, changeBrightness, setBrightness, nullAction}
|