PiSupply / JustBoom

Resources for JustBoom range
https://JustBoom.co
15 stars 5 forks source link

Investigate the use of rotary encoder overlay #9

Open shawaj opened 6 years ago

shawaj commented 6 years ago

https://github.com/shawaj/linux/blob/master/arch/arm/boot/dts/overlays/rotary-encoder-overlay.dts

Take a look at that overlay. Could edit it to include an optional push button event and up / down volume events.

Or could add a new overlay justboom-rotary or audio-rotary to cater for rotary encoder in audio setting, or add this to the existing JustBoom overlays perhaps (although maybe this would unnecessarily tie up gpio pins that aren't necessarily used?)

shawaj commented 6 years ago

Here is the correct link - https://github.com/raspberrypi/linux/blob/31a8651c138253007c66e1be176cdc839b416842/arch/arm/boot/dts/overlays/rotary-encoder-overlay.dts

shawaj commented 6 years ago

Also see here https://github.com/bobrathbone/piradio/blob/master/rotary_class.py