Skip to content

Class Ui

ClassList > Ui

More...

  • #include <userinterface.h>

Public Functions

Type Name
void DoEvents ()
void GenerateEvents ()
void Init (daisy::desktop_devkit::Hardware * hw)

Detailed Description

User Inteface for the application.

Initializes the mechanisms for updating the LEDs at a regular interval, and generating events from tactile inputs (i.e. pots, buttons).

CVs/Gates do not typically generate UI events because we dont' want to flood the event fifo since we want to handle those signals as they arrive from the audio callback. It is, however, possible to access the hardware class in the Draw() method of any UIPage if visualizing those signals is important; it should be kept in mind that the period that the Draw method is called is often much slower than the rate the inputs actually update.

Public Functions Documentation

function DoEvents

inline void Ui::DoEvents () 

function GenerateEvents

inline void Ui::GenerateEvents () 

function Init

inline void Ui::Init (
    daisy::desktop_devkit::Hardware * hw
) 


The documentation for this class was generated from the following file external-docs/libDaisy/examples/devkits/Desktop-DevKit-UI-Template/src/userinterface.h