Install an configure Better Touch Tool if editing the mouse preferences does not help.
eduardo rolón AIA NCARB Another of the forum moderators. Macbook Pro M1 Max 64GB ram OS X 10.XX latest AC25 US/INT -> AC08 Puerto Rico, BVI, Miami Vectorworks 2022
Not had any problems with my magic mouse but I was experiencing a number of other issues recently. I think Apple sometimes do background updates that need a restart. If you haven't done a restart recently give it a go.
Apple iMac macOS Monterey / AC26UKI (most recent builds)