Conflict with other controls

Hello.
How can I resolve the parity conflict between a joystick built using an Arduino Micro and other controllers connected to the computer at the same time?

Is this an issue with the ID (VID/PID)?

For example: when I have the Arduino Micro joystick connected and then plug in a PS4 controller, both joysticks appear in the Windows Game Controllers window; however, the Arduino joystick adopts the same inputs as the PS4 controller—its name doesn't change, and its commands and movements simply mirror those of the PS4 controller.

You can begin by explaining fully and completely what it is you're taking about. Don't assume anyone else is at all familiar with what it is you're doing.

Start by posting a labeled block diagram showing how you are putting the system together. Also post links to each of the hardware items. Be sure the links show the technical information, stuff from azon is generally lacking.

Seems unlikely since Sony joysticks have their own unique VID/PIDs:

054C:05C4
05C4:09CC
05C4:0BA0

depending on the exact device.

The Arduino VID is 2341. Some clone boards may used the Sparkfun VID 1B4F. Unless the VID/PID of the joystick built using an Arduino Micro has been customized to mimic a PS4 joystick? Even then, they would be attached to different ports which should differentiate them.

Then Windows, at least, appears to be "seeing" two separate controller devices. You could probably also verify this in Device Manager.

I believe that if you open the properties of each joystick, there is a 'Test' tab which allows you to test joystick movements and buttons presses. (these days I am an infrequent Windows user so not sure whether it still applies to more recent Windows versions). Does each joystick device operate independently in this Test tab under its own Properties?

I admit that I am also struggling to understand the actual problem. It would definitely be helpful to understand how the joystick using an Arduino Micro has been put together. Is it a genuine Arduino board or clone? Is there a separate USB-to-Serial adapter involved? Is it based on an online project? If so then could you post a link?

This needs more explanation. Are you saying that both joysticks perform the same actions on the same character/cursor/object/player? Are you seeing this in a Windows game or some other program (e.g. a game console emulator)? I am assuming here that both devices are connected to a PC or laptop via USB? Which Windows version is it running?

Hi, I managed to solve it by clearing the records and reinstalling the code.
I'm using a board I built with the Mega 32U4 chip. It has 7 axes and 27 buttons.

Now I have another problem: I contacted the chip manufacturer and obtained the custom VID and PID for my joystick so I could try to market it, but when I enter these values ​​into the Arduino "boards" settings and upload the code, Windows no longer recognizes it as a game controller; instead, Device Manager lists it as a "USB Serial Device" rather than an "Arduino Leonardo." Do you know how to fix this?

I used "UsbTreeView" to view the information, and here it is, but I don't know how to read the results.

=========================== USB Port7 ===========================

Connection Status : 0x01 (Device is connected)
Port Chain : 1-7
Properties : 0x00
IsUserConnectable : no
PortIsDebugCapable : no
PortHasMultiCompanions : no
PortConnectorIsTypeC : no
ConnectionIndex : 0x07 (Port 7)

  ========================== Summary =========================

Vendor ID : 0x04D8 (Microchip Technology Inc.)
Product ID : 0xXXXX
Manufacturer String : "Unknown"
Product String : "Arduino Leonardo"
Serial : "HIDHF"
USB Version : 2.0 (but 12 Mbit/s FullSpeed only)
Port maximum Speed : High-Speed
Device maximum Speed : Full-Speed
Device Connection Speed : Full-Speed
Self powered : no
Demanded Current : 500 mA
Used Endpoints : 5

  ======================== USB Device ========================

    +++++++++++++++++ Device Information ++++++++++++++++++

Device Description : USB Composite Device
BusReported Device Desc : Arduino Leonardo
Device Path : \?\USB#VID_04D8&PID_XXXX#HIDHF#{a5dcbf10-6530-11d2-901f-00c04fb951ed} (GUID_DEVINTERFACE_USB_DEVICE)
Kernel Name : \Device\USBPDO-4
Device ID : USB\VID_04D8&PID_XXXX\HIDHF
Hardware IDs : USB\VID_04D8&PID_XXXX&REV_0100 USB\VID_04D8&PID_XXXX
Driver KeyName : {36fc9e60-c465-11cf-8056-444553540000}\0056 (GUID_DEVCLASS_USB)
Driver : \SystemRoot\System32\drivers\usbccgp.sys (Version: 10.0.26100.9278 Date: 2026-08-27 Company: Microsoft Corporation)
Driver Inf : C:\WINDOWS\inf\usb.inf
Legacy BusType : PNPBus
Class : USB
Class GUID : {36fc9e60-c465-11cf-8056-444553540000} (GUID_DEVCLASS_USB)
Service : usbccgp
Enumerator : USB
Location Info : Port_#0007.Hub_#0001
Address : 7
Location IDs : PCIROOT(0)#PCI(1400)#USBROOT(0)#USB(7), ACPI(SB)#ACPI(PC00)#ACPI(XHCI)#ACPI(RHUB)#ACPI(HS07)
Container ID : {5560a945-53ce-570f-8a81-c1162351b616}
Manufacturer Info : (Standard USB Host Controller)
Capabilities : 0x94 (Removable, UniqueID, SurpriseRemovalOK)
Status : 0x0180600A (DN_DRIVER_LOADED, DN_STARTED, DN_DISABLEABLE, DN_REMOVABLE, DN_NT_ENUMERATOR, DN_NT_DRIVER)
First Install Date : 2026-08-28 14:44:02
Last Arrival Date : 2026-08-28 19:12:38
EnhancedPowerMgmtEnabled : 0
Power State : D0 (supported: D0, D1, D2, D3, wake from D0, wake from D1, wake from D2)

    +++++++++++++++++ Registry USB Flags +++++++++++++++++

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\usbflags\04D8E40A0100
osvc : REG_BINARY 00 00

    ---------------- Connection Information ---------------

Connection Index : 0x07 (Port 7)
Connection Status : 0x01 (DeviceConnected)
Current Config Value : 0x01 (Configuration 1)
Device Address : 0x10 (16)
Is Hub : 0x00 (no)
Device Bus Speed : 0x01 (Full-Speed)
Number of open Pipes : 0x04 (4 pipes to data endpoints)
Pipe[0] : EndpointID=1 Direction=IN ScheduleOffset=0 Type=Interrupt wMaxPacketSize=0x10 bInterval=64 -> 270 Bits/ms = 33750 Bytes/s
Pipe[1] : EndpointID=4 Direction=IN ScheduleOffset=0 Type=Interrupt wMaxPacketSize=0x40 bInterval=1 -> 718 Bits/ms = 89750 Bytes/s
Pipe[2] : EndpointID=2 Direction=OUT ScheduleOffset=0 Type=Bulk wMaxPacketSize=0x40 bInterval=0
Pipe[3] : EndpointID=3 Direction=IN ScheduleOffset=0 Type=Bulk wMaxPacketSize=0x40 bInterval=0

    --------------- Connection Information V2 -------------

Connection Index : 0x07 (7)
Length : 0x10 (16 bytes)
SupportedUsbProtocols : 0x03
Usb110 : 1 (yes, port supports USB 1.1)
Usb200 : 1 (yes, port supports USB 2.0)
Usb300 : 0 (no, port not supports USB 3.0)
ReservedMBZ : 0x00
Flags : 0x00
DevIsOpAtSsOrHigher : 0 (Device is not operating at SuperSpeed or higher)
DevIsSsCapOrHigher : 0 (Device is not SuperSpeed capable or higher)
DevIsOpAtSsPlusOrHigher : 0 (Device is not operating at SuperSpeedPlus or higher)
DevIsSsPlusCapOrHigher : 0 (Device is not SuperSpeedPlus capable or higher)
ReservedMBZ : 0x00

---------------------- Device Descriptor ----------------------

bLength : 0x12 (18 bytes)
bDescriptorType : 0x01 (Device Descriptor)
bcdUSB : 0x200 (USB Version 2.0) -> but device is Full-Speed only
bDeviceClass : 0xEF (Miscellaneous)
bDeviceSubClass : 0x02
bDeviceProtocol : 0x01 (IAD - Interface Association Descriptor)
bMaxPacketSize0 : 0x40 (64 bytes)
idVendor : 0x04D8 (Microchip Technology Inc.)
idProduct : 0xXXXX
bcdDevice : 0x0100
iManufacturer : 0x01 (String Descriptor 1)
Language 0x0409 : "Unknown"
iProduct : 0x02 (String Descriptor 2)
Language 0x0409 : "Arduino Leonardo"
iSerialNumber : 0x03 (String Descriptor 3)
Language 0x0409 : "HIDHF"
bNumConfigurations : 0x01 (1 Configuration)

------------------ Configuration Descriptor -------------------

bLength : 0x09 (9 bytes)
bDescriptorType : 0x02 (Configuration Descriptor)
wTotalLength : 0x0064 (100 bytes)
bNumInterfaces : 0x03 (3 Interfaces)
bConfigurationValue : 0x01 (Configuration 1)
iConfiguration : 0x00 (No String Descriptor)
bmAttributes : 0xA0
D7: Reserved, set 1 : 0x01
D6: Self Powered : 0x00 (no)
D5: Remote Wakeup : 0x01 (yes)
D4..0: Reserved, set 0 : 0x00
MaxPower : 0xFA (500 mA)

    ------------------- IAD Descriptor --------------------

bLength : 0x08 (8 bytes)
bDescriptorType : 0x0B (Interface Association Descriptor)
bFirstInterface : 0x00 (Interface 0)
bInterfaceCount : 0x02 (2 Interfaces)
bFunctionClass : 0x02 (Communications and CDC Control)
bFunctionSubClass : 0x02
bFunctionProtocol : 0x00
iFunction : 0x00 (No String Descriptor)

    ---------------- Interface Descriptor -----------------

bLength : 0x09 (9 bytes)
bDescriptorType : 0x04 (Interface Descriptor)
bInterfaceNumber : 0x00 (Interface 0)
bAlternateSetting : 0x00
bNumEndpoints : 0x01 (1 Endpoint)
bInterfaceClass : 0x02 (Communications and CDC Control)
bInterfaceSubClass : 0x02 (Abstract Control Model)
bInterfaceProtocol : 0x00 (No class specific protocol required)
iInterface : 0x00 (No String Descriptor)

    -------------- CDC Interface Descriptor ---------------

bFunctionLength : 0x05 (5 bytes)
bDescriptorType : 0x24 (Interface)
bDescriptorSubType : 0x00 (Header Functional Descriptor)
bcdCDC : 0x110 (CDC Version 1.10)

    -------------- CDC Interface Descriptor ---------------

bFunctionLength : 0x05 (5 bytes)
bDescriptorType : 0x24 (Interface)
bDescriptorSubType : 0x01 (Call Management Functional Descriptor)
bmCapabilities : 0x01
D7..2 : 0x00 (Reserved)
D1 : 0x00 (sends/receives call management information only over the Communication Class interface)
D0 : 0x01 (handles call management itself)
bDataInterface : 0x01

    -------------- CDC Interface Descriptor ---------------

bFunctionLength : 0x04 (4 bytes)
bDescriptorType : 0x24 (Interface)
bDescriptorSubType : 0x02 (Abstract Control Management Functional Descriptor)
bmCapabilities : 0x06
D7..4 : 0x00 (Reserved)
D3 : 0x00 (not supports the notification Network_Connection)
D2 : 0x01 (supports the request Send_Break)
D1 : 0x01 (supports the request combination of Set_Line_Coding, Set_Control_Line_State, Get_Line_Coding, and the notification Serial_State)
D0 : 0x00 (not supports the request combination of Set_Comm_Feature, Clear_Comm_Feature, and Get_Comm_Feature)

    -------------- CDC Interface Descriptor ---------------

bFunctionLength : 0x05 (5 bytes)
bDescriptorType : 0x24 (Interface)
bDescriptorSubType : 0x06 (Union Functional Descriptor)
bControlInterface : 0x00
bSubordinateInterface[0] : 0x01

    ----------------- Endpoint Descriptor -----------------

bLength : 0x07 (7 bytes)
bDescriptorType : 0x05 (Endpoint Descriptor)
bEndpointAddress : 0x81 (Direction=IN EndpointID=1)
bmAttributes : 0x03 (TransferType=Interrupt)
wMaxPacketSize : 0x0010 (16 bytes)
bInterval : 0x40 (64 ms)

    ---------------- Interface Descriptor -----------------

bLength : 0x09 (9 bytes)
bDescriptorType : 0x04 (Interface Descriptor)
bInterfaceNumber : 0x01 (Interface 1)
bAlternateSetting : 0x00
bNumEndpoints : 0x02 (2 Endpoints)
bInterfaceClass : 0x0A (CDC-Data)
bInterfaceSubClass : 0x00
bInterfaceProtocol : 0x00
iInterface : 0x00 (No String Descriptor)

    ----------------- Endpoint Descriptor -----------------

bLength : 0x07 (7 bytes)
bDescriptorType : 0x05 (Endpoint Descriptor)
bEndpointAddress : 0x02 (Direction=OUT EndpointID=2)
bmAttributes : 0x02 (TransferType=Bulk)
wMaxPacketSize : 0x0040 (64 bytes)
bInterval : 0x00 (ignored)

    ----------------- Endpoint Descriptor -----------------

bLength : 0x07 (7 bytes)
bDescriptorType : 0x05 (Endpoint Descriptor)
bEndpointAddress : 0x83 (Direction=IN EndpointID=3)
bmAttributes : 0x02 (TransferType=Bulk)
wMaxPacketSize : 0x0040 (64 bytes)
bInterval : 0x00 (ignored)

    ---------------- Interface Descriptor -----------------

bLength : 0x09 (9 bytes)
bDescriptorType : 0x04 (Interface Descriptor)
bInterfaceNumber : 0x02 (Interface 2)
bAlternateSetting : 0x00
bNumEndpoints : 0x01 (1 Endpoint)
bInterfaceClass : 0x03 (HID - Human Interface Device)
bInterfaceSubClass : 0x00 (None)
bInterfaceProtocol : 0x00 (None)
iInterface : 0x00 (No String Descriptor)

    ------------------- HID Descriptor --------------------

bLength : 0x09 (9 bytes)
bDescriptorType : 0x21 (HID Descriptor)
bcdHID : 0x0101 (HID Version 1.01)
bCountryCode : 0x00 (00 = not localized)
bNumDescriptors : 0x01
Descriptor 1:
bDescriptorType : 0x22 (Class=Report)
wDescriptorLength : 0x0057 (87 bytes)
Error reading descriptor : ERROR_INVALID_PARAMETER (due to a obscure limitation of the Win32 USB API, see F1 Help)

    ----------------- Endpoint Descriptor -----------------

bLength : 0x07 (7 bytes)
bDescriptorType : 0x05 (Endpoint Descriptor)
bEndpointAddress : 0x84 (Direction=IN EndpointID=4)
bmAttributes : 0x03 (TransferType=Interrupt)
wMaxPacketSize : 0x0040 (64 bytes)
bInterval : 0x01 (1 ms)

----------------- Device Qualifier Descriptor -----------------

Error : request skipped because low-speed device

  -------------------- String Descriptors -------------------
         ------ String Descriptor 0 ------

bLength : 0x04 (4 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language ID[0] : 0x0409 (English - United States)
------ String Descriptor 1 ------
bLength : 0x10 (16 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language 0x0409 : "Unknown"
------ String Descriptor 2 ------
bLength : 0x22 (34 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language 0x0409 : "Arduino Leonardo"
------ String Descriptor 3 ------
bLength : 0x0C (12 bytes)
bDescriptorType : 0x03 (String Descriptor)
Language 0x0409 : "HIDHF"