public static string GetProductNameManaged(int device)
    {
        var pName = DirectInputWrapper.GetProductName(device);

        return(Marshal.PtrToStringUni(pName));
    }