Rotary Encoder for C#

I am trying to install a rotary encoder into a prop ship steering wheel. We have a video game created in Unity (C# script) and now I need a device that can send readable inputs to the program. I would like some suggestions on equipment or advice on how to set this up.

You might have a look at the rotary encoder for Arduino, it’s written in the “Arduino programming language” but that’s closely related to C. Should at least give you an idea of what needs done.

https://www.arduino.cc/reference/en/lib … ryencoder/