Can't get rid of old device name for joystick [FIXED]

General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
Post Reply
frank26080115
Rank 2
Rank 2
Posts: 43
Joined: Fri Jun 19, 2009 4:43 pm

Can't get rid of old device name for joystick [FIXED]

Post by frank26080115 » Fri Apr 30, 2010 6:53 am

I made a copy of the PS2USB project posted at http://vusb.wikidot.com/project:ps2usb and got it working, but now I made my own gamepad using a nunchuk and edited the usbconfig.h to say "Nunchuk Joystick". In "Devices and Printers" of Windows 7's control panel, it says "Nunchuk Joystick" but if I right click on it and click "game controller settings", the list of "installed game controllers" still show "PS2USB", but it actually represents my new device. I've tried uninstalling the device from device manager but it always comes back as "PS2USB"

Other than that, everything works fine, I have a lot of success making my own game controller. It's just this one naming issue I'm stumped with. So my question is, how do I disassociate everything that uses this shared VID and PID?
Last edited by frank26080115 on Sat May 01, 2010 2:13 am, edited 1 time in total.

ulao
Rank 4
Rank 4
Posts: 481
Joined: Mon Aug 25, 2008 8:45 pm

Re: Can't get rid of old device name for joystick

Post by ulao » Fri Apr 30, 2010 6:20 pm

Guessing both projects are using the same pid? You need to clear the registry entry for that pid. For example in xp you woudl go here

Code: Select all

[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet007\Control\MediaProperties\PrivateProperties\Joystick\OEM\  [[ find your pid ]]


I dont know about w7, but you can make it any name you want really.

frank26080115
Rank 2
Rank 2
Posts: 43
Joined: Fri Jun 19, 2009 4:43 pm

Re: Can't get rid of old device name for joystick

Post by frank26080115 » Sat May 01, 2010 12:32 am

that fixed it, I did a search in the registry for "PS2USB" and deleted all the entries i found, thanks

Post Reply