Skip to main content Link Menu Expand (external link) Document Search Copy Copied

static void useTransparentScreenSwitchButtons()

Sets the BrainOS screen switch buttons to be transparent when not pressed

This function MUST be called before the BrainOS thread is started, or it will not work.

Example

void myBosFn(bool remake){
    //drawing code here
}
int main(){
    BosFn::addNewFn(myBosFn);
    BosFn::useTransparentScreenSwitchButtons();
    thread brainOSThread = thread(BosFn::runBrainOS);
}