11 Commits
Author SHA1 Message Date
Dale Whinham 791f4a447a Use a more robust rotary encoder routine
This updated rotary encoder routine (borrowed from FlashFloppy by Kier
Fraser) should provide much more reliable encoder tracking across a
variety of encoder types, even when the encoder quality is poor or state
transitions are quite noisy.
2023-02-27 18:09:23 +00:00
Dale Whinham 71fa6533af Implement volume button hold/repeat with delay
Improve the button handling code so that a pressed and held button will
now generate additional press events after a short delay.

An acceleration curve is also applied so that events are generated with
increasing frequency the longer the button is held down.

Closes #323.
2023-02-06 20:36:10 +00:00
Dale Whinham f1eaf2f43c Update copyright notices 2023-02-02 13:32:48 +00:00
Dale Whinham 07004eac54 Update copyright notices 2022-01-06 17:35:40 +00:00
Dale Whinham fc98e0a198 Minor cleanups in control classes 2021-08-14 16:30:25 +01:00
Dale Whinham 2415b7b2a1 Add configuration option to reverse rotary encoder
Closes #104.
2021-06-25 23:57:13 +01:00
Dale Whinham 47a5630254 Add rotary encoder acceleration curve 2021-02-03 05:06:40 +00:00
Dale Whinham 59cf085d1c Update copyright notices 2021-02-03 05:06:40 +00:00
Dale Whinham 8fd2fdf270 Display MiSTer logo when MiSTer is detected 2020-12-20 20:42:19 +00:00
Dale Whinham 8d6b84fecc Add initial physical control system
This commit adds a simple physical control system with two schemes:

  * simple_buttons: 4-button scheme
  * simple_encoder: 2-button scheme + rotary encoder (with button)
2020-12-19 16:46:57 +00:00
Dale Whinham 51f86d6fda Introduce support for MiSTer I2C control interface 2020-12-19 15:02:47 +00:00