I am using Ubuntu 22.04 for a while now on my laptop. Suddenly, from today morning my touchpad stopped two finger scroll, left click and right click on non ubuntu apps. Although moving the cursor on the screen works and it can recognise links and buttons (as in when I hover over a link it correctly changes the cursor icon to a hand from an arrow pointer). This does not seem to happen for ubuntu apps like Terminal, Document viewer, Libre Office apps. But I am unable to use Google Chrome, Firefox, and other apps.
I can navigate non ubuntu apps like chrome using the keyboard (and right now I am using my keyboard only).
I thought maybe my touchpad is misbehaving but I tried USB mouse as well and the problem persists.