Do I need a license to use a PS3 controller?

I want to make a game for the PC that is playable with a PS3 controller, NOT for the PS3 itself. I was wondering, do I need a license to do this? When I connect my PS3 controller to my computer, Unity detects it and logs “Joystick Connected (name)” but I cannot do anything with it. I assume this is because of my scripting but I figured it could be the licensing.

I am also using the free Unity Personal Edition.

No, you do not need a special license or permission to use a certain type of controller for your game. A PS3 controller is really just a custom-made logitech controller.

I haven’t done much with joysticks or controllers in Unity, but I’m pretty sure you want to be looking at the Edit->Project Settings->Input menu in Unity, and you want to use Input.GetAxis() and similar commands for detecting controller input.