Retroarch not recognized my xbox360 controller

Hello everyone, I’m using pine a64 and installing retroarch, everything smooth but when i connect xbox 360 controller its keep blinking even i installed the driver using this command sudo apt-get install xboxdrv