libDaisy
Hardware Library for Daisy
Loading...
Searching...
No Matches
daisy::UI::SpecialControlIds Struct Reference

Detailed Description

Contains information about the control IDs used for special functions such as arrow buttons, okay/cancel, function buttons, value sliders, etc. If such a control is available, set the corresponding variable to the control ID that's used when events are pushed to the UiEventQueue. If such a control is not available, use UiEventQueue::invalidButtonId, UiEventQueue::invalidEncoderId or UiEventQueue::invalidPotId.

#include <UI.h>

Public Attributes

uint16_t funcBttnId = UiEventQueue::invalidButtonId
 
uint16_t okBttnId = UiEventQueue::invalidButtonId
 
uint16_t cancelBttnId = UiEventQueue::invalidButtonId
 
uint16_t upBttnId = UiEventQueue::invalidButtonId
 
uint16_t downBttnId = UiEventQueue::invalidButtonId
 
uint16_t leftBttnId = UiEventQueue::invalidButtonId
 
uint16_t rightBttnId = UiEventQueue::invalidButtonId
 
uint16_t menuEncoderId = UiEventQueue::invalidEncoderId
 
uint16_t valueEncoderId = UiEventQueue::invalidEncoderId
 
uint16_t valuePotId = UiEventQueue::invalidPotId
 

Member Data Documentation

◆ cancelBttnId

uint16_t daisy::UI::SpecialControlIds::cancelBttnId = UiEventQueue::invalidButtonId

◆ downBttnId

uint16_t daisy::UI::SpecialControlIds::downBttnId = UiEventQueue::invalidButtonId

◆ funcBttnId

uint16_t daisy::UI::SpecialControlIds::funcBttnId = UiEventQueue::invalidButtonId

◆ leftBttnId

uint16_t daisy::UI::SpecialControlIds::leftBttnId = UiEventQueue::invalidButtonId

◆ menuEncoderId

uint16_t daisy::UI::SpecialControlIds::menuEncoderId = UiEventQueue::invalidEncoderId

navigates through menu selections

◆ okBttnId

uint16_t daisy::UI::SpecialControlIds::okBttnId = UiEventQueue::invalidButtonId

◆ rightBttnId

uint16_t daisy::UI::SpecialControlIds::rightBttnId = UiEventQueue::invalidButtonId

◆ upBttnId

uint16_t daisy::UI::SpecialControlIds::upBttnId = UiEventQueue::invalidButtonId

◆ valueEncoderId

uint16_t daisy::UI::SpecialControlIds::valueEncoderId = UiEventQueue::invalidEncoderId

changes the value of selected menu items

◆ valuePotId

uint16_t daisy::UI::SpecialControlIds::valuePotId = UiEventQueue::invalidPotId

changes the value of selected menu items (= old school "value slider")


The documentation for this struct was generated from the following file: