For several weeks after my hand surgery, I was unable to use a mouse. Luckily, I did find that I could use a trackball. I chose this Logitech model. You move the cursor with your thumb, and click with your first two fingers. I’ve also seen versions that are the opposite… you move the cursor with your fingers, and click with your thumb.
I personally prefer a mouse, and I’ve switched back now that I’m able to use one again, but if you ever find yourself with a hand injury, one of these may mean the difference between being able to work, or not.