Using a bluetooth gamepad on Android in Unity

I recently bought a bluetooth gamepad that hold my s4 and allows me to play emulators. I have been trying to incorporate it into some of my own project will little success.

I can only find band name libraries in the asset store, is there any way to use the gamepad as input?

I was looking for the same thing and found that:

It may help you too.