I had similar issue back in 2017 when “Gamepad and Joystick Hotkey Support” was new.
It was solved by module developer. Now I upgraded HW (using ASUS ProArt x670e motherboard) and problem reappeared.
Original issue was with parsing USB device names, especially with virtual functions as far as I remember, here is original thread:
https://forum.teamspeak.com/threads/129801-3-1-x-Can-t-set-hotkey-with-my-Joystick-Gamepad/