Hi, Maciej
As we answered you to your email question, PoKeys already has multiple quadrature decoders built-in. You only have to connect encoder A and B (logical) signals. Make sure that you provide a proper signal to PoKeys device - clear signal transitions between 0 and 3.3 (or 5) V.
Regards,
Matevž