yaapu / HorusMappingWidget

Offline GPS Mapping Widget for Horus and T16 radios
GNU General Public License v3.0
91 stars 26 forks source link

Implement zoom control on a Potentiometer #53

Open gailingmic opened 1 year ago

gailingmic commented 1 year ago

Hello Alessandro,

i really disliked the emulated zoom wheel so i implemented zoom control via a potentiometer. For that i added a new config entry "zoom channel type" wich can be set to emulated or potentiometer. On emulated it works just as it did until now, in the potentiometer mode it will divide up the range from -1024 to 1024 automatically in equal sized ranges for the amount of zoomlevels the user has defined.

image

Im obviously open for any improvements or changes and im eager to hear your opinion :)