Further learning about libinput leads me to believe that libinput does not offer a way to solve the problem. I give up.
Further learning about libinput leads me to believe that libinput does not offer a way to solve the problem. I give up.