pinetime-zephyr

SDL Button Timer Sample

Overview

Use a timer to distinguish between long press ,short press and double-click.

Requirements

This sample uses the native_posix solution, so no need for a real board. You’ll need to have a SDL library installed.

Building and Running

west build -p -b native_posix_64 samples/sdlbutton2

References