Mapping dual function push encoder / rotary knob

Hi, How do folks go about mapping a module knob that is both a push switch and a rotary control?

Example is the Beface Noise Plethora Bank Select rotary encoder? Push to select Prog A or B, turn to select which noise flavour to use in that bank.

I am sure the Meta Buttons expander would solve this, but I don’t have one (yet!)

Thanks, David