How to build a steering wheel sensor

When I had a sailboat I put a bit of sticky tape on the wheel at the centre position.

The rudder angle on a sailboat is not very useful information. I would not invest much time identifying it.

...R