(vendor_id, product_id)
return os.path.join(
        get_xdg_config_home(),
        "rivalcfg",
        "%04x_%04x.device.json"
        % (
            vendor_id,
            product_id,
        ),
    )
Returns the path of a specific mouse settings file.

    :param int vendor_id: The device's vendor id (e.g. ``0x1038``).
    :param int product_id: The device's product id (e.g. ``0xbaad``).

    :rtype: str
Returns the path of a specific mouse settings file.
Returns the path of a specific mouse settings file .
def get_settings_path(vendor_id, product_id):
    """Returns the path of a specific mouse settings file.

    :param int vendor_id: The device's vendor id (e.g. ``0x1038``).
    :param int product_id: The device's product id (e.g. ``0xbaad``).

    :rtype: str
    """
    return os.path.join(
        get_xdg_config_home(),
        "rivalcfg",
        "%04x_%04x.device.json"
        % (
            vendor_id,
            product_id,
        ),
    )
def get_settings_path ( vendor_id , product_id ) : return os . path . join ( get_xdg_config_home ( ) , "rivalcfg" , "%04x_%04x.device.json" % ( vendor_id , product_id , ) , )