I play with a controller, and I think it works great.

Have you tried pressing the Tab key to choose a target, then enter to lock on?