Skip to content

Button Events

Lance A. Endres edited this page Jun 27, 2021 · 4 revisions

Introduction

The ButtonSuite breaks a button press sequence down into various events in the ButtonBase::update() function. Below is a guide to help visualize when each of these events occurs.

There are two main types of button presses, short presses and long presses. They are divided by the _longPressInterval

Button sequence legend.

Short press button sequence.

Long press button sequence.

Clone this wiki locally