rotary encoder not recognize

Hi, I have this basic rotary encoder : my rotary.
It works very well with an UNO.
I use this library : github library

But now I'm trying to use with a Due with no result.
There is special pin to use, resitance to put before ?

Thanks for help

No need of any library:

Read the encoder datasheet page 1 for the CW and CCW waveforms, use 2 attachinterrupt() (one for each input signal) and you are done !