Error on using PS3 controller as a mouse

I’m currently using an IBM PC and have been receiving error such as 'Game port drivers are not properly configured. Please consult the device manager. ” This error started when I tried to use my PS 3 controller as a replacement for my mouse. How can I solve this issue?
