One button, press and press+hold analog input

You mean something like this?

If so, that’s unfortunate. You’ll just have to keep pounding that square peg into the round hole. As I said, consider the multiple buttons pressed scenario.

Switches.jpg