Skip to content

File ui_glue.h

FileList > Desktop-DevKit-UI-Template > src > ui_glue.h

Go to the source code of this file

  • #include "desktop_devkit.h"

Classes

Type Name
class PotListener

Public Types

Type Name
enum CanvasIds

Public Static Attributes

Type Name
constexpr size_t kLongPressDuration = 1500

Public Functions

Type Name
void ClearLeds (const daisy::UiCanvasDescriptor & canvasDescriptor)
void FlushLeds (const daisy::UiCanvasDescriptor & canvasDescriptor)

Public Types Documentation

enum CanvasIds

enum CanvasIds {
    canvasLedDisplay = 0,
    NUM_CANVASES
};

Public Static Attributes Documentation

variable kLongPressDuration

constexpr size_t kLongPressDuration;

Public Functions Documentation

function ClearLeds

void ClearLeds (
    const daisy::UiCanvasDescriptor & canvasDescriptor
) 

function FlushLeds

void FlushLeds (
    const daisy::UiCanvasDescriptor & canvasDescriptor
) 


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