mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-16 21:02:37 +00:00

Quite a few plugins use HID commands to communicate with the hardware. At the mement we have ~6 implementations of SET_REPORT and are soon to add one more. Move this into common code.
19 lines
452 B
C
19 lines
452 B
C
/*
|
|
* Copyright (C) 2019 Richard Hughes <richard@hughsie.com>
|
|
*
|
|
* SPDX-License-Identifier: LGPL-2.1+
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "fu-hid-device.h"
|
|
#include "fu-plugin.h"
|
|
|
|
#define FU_TYPE_SYNAPTICS_CXAUDIO_DEVICE (fu_synaptics_cxaudio_device_get_type ())
|
|
G_DECLARE_FINAL_TYPE (FuSynapticsCxaudioDevice, fu_synaptics_cxaudio_device, FU, SYNAPTICS_CXAUDIO_DEVICE, FuHidDevice)
|
|
|
|
struct _FuSynapticsCxaudioDeviceClass
|
|
{
|
|
FuHidDeviceClass parent_class;
|
|
};
|