Forgive me for being a complete rookie with Code and libraries and everything in general,

I have a Teensy LC that I want to hook up basic NO switches and some Standard Encoder's and some higher end Alps Encoders.

Im stuck at the basics tho, how do i load the proper or Which is the proper script to run for what i want to do ?

Which USB type do i want ?

Here is the Alps Encoder i want to use as well as some standard 3 pin encoders,