Skip to content

verdancy-org/Dial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Dial

Human-facing detented dial input module for LibXR/XRobot projects.

Dial consumes two LibXR::GPIO phase inputs and publishes discrete clockwise / counter-clockwise events through LibXR::Event. GPIO callbacks sample the Gray code phase changes, while OnMonitor() aggregates them into detent events. Event payloads are stored in an internal queue and can be read with GetEventResult().

Typical aliases:

  • dial for the logical event source
  • dial_a for phase A
  • dial_b for phase B

The module intentionally models a hand-operated dial, not a motor feedback encoder. Push-button handling should stay in a button module such as BitsButtonXR.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages