InputEvents

An easy but comprehensive Arduino style Event Library for Buttons, Encoders, Encoder Buttons, Analog Inputs, Joysticks and Switches.

Author
Philip Fletcher
Website
https://github.com/Stutchbury/InputEvents
Category
Signal Input/Output
License
GPL 2.0
Library Type
Contributed
Architectures
Any

A comprehensive library that makes working with Buttons, Encoders, Encoder Buttons, Analog Inputs, Joysticks & Switches very easy and efficient. Fires to a single callback for each input event. Callback can easily be shared across multiple inputs to create a HAL-like layer. Read input state (eg the position & encoder increment for pressed and non-pressed actions). Rate limit encoder, analog and joystick events without losing steps (eg easy acceleration or reduce events sent over Serial). Multi-click events (1-n). Long press repeat. Tested on Arduino, ESP8266, ESP32 and Teensy.

Downloads

Filename Release Date File Size
InputEvents-1.1.0.zip 2025-01-18 557.40 KiB
InputEvents-1.0.2.zip 2024-12-16 553.45 KiB
InputEvents-1.0.1.zip 2024-12-14 553.09 KiB
InputEvents-1.0.0.zip 2024-12-12 550.78 KiB