Open it.
AirPods already carry motion sensors for spatial audio. Leave them in the case with the lid open and Automatic Ear Detection off, and they keep reporting.
PodMouse for Mac

Open it. Aim it. Tap to click.
Free and open source. macOS 15 or later. Tested with AirPods 4.
AirPods already carry motion sensors for spatial audio. Leave them in the case with the lid open and Automatic Ear Detection off, and they keep reporting.
Hold it like a laser pointer. Rest your elbow and move only your wrist, in short smooth moves.
Stop, then tap the case. Taps only count on a still hand, so moving around won't click by accident.
Click
Stop first. Taps only count on a still hand.
Right click
A sharp turn of the wrist, there and back.
Drag
Off by default. Twist once to start, again to finish.
Two ways to point
Aim the case, pause and tap. Good from the couch or in a presentation.
Not 90°
In the app