05-17-2018, 04:39 PM
Hello,
I have a Raspberry Pi 3 with and IQaudIO Pi-DigiAMP+, running Moode 4.1 (updated in-place from 4.0).
I have added a rotary encoder with push button bought from the IQaudIO store.
The rotary encoder works out of the box with Moode (using GPIO 23 and 24).
The push button (momentary switch) is connected to GPIO 22.
When I press it, it mutes, when I release it, it unmutes. I would prefer a mute toggle at each press.
Where is the code managing GPIO 22 mute?
I have looked for it, but only found stuff for the rotary encoder, nothing using GPIO 22. I do not even know where the current behaviour is coming from... Could it be a driver feature?
Any idea about changing the current behaviour?
Thanks for your help!
Nico
http://www.youplala.net/tag/hi-fi/
I have a Raspberry Pi 3 with and IQaudIO Pi-DigiAMP+, running Moode 4.1 (updated in-place from 4.0).
I have added a rotary encoder with push button bought from the IQaudIO store.
The rotary encoder works out of the box with Moode (using GPIO 23 and 24).
The push button (momentary switch) is connected to GPIO 22.
When I press it, it mutes, when I release it, it unmutes. I would prefer a mute toggle at each press.
Where is the code managing GPIO 22 mute?
I have looked for it, but only found stuff for the rotary encoder, nothing using GPIO 22. I do not even know where the current behaviour is coming from... Could it be a driver feature?
Any idea about changing the current behaviour?
Thanks for your help!
Nico
http://www.youplala.net/tag/hi-fi/