Pmw3901 SPI optical flow sensor on pixhawk 2.4.8

Hello, i’ve recently bought a PMW3901 SPI optical flow sensor from this manufacturer:

i tried to integrate it on my pixhawk 2.4.8 runing the latest copter firmware, and since there’s the pixart driver available on copter, i thought this would work, but it did not, the values of the OF are always 0,
i’m i missing something, or do i have to make some changes on the pixart code for it to work?
Thanks in advance