fwupd/plugins/steelseries/fu-steelseries-common.h
2022-05-17 05:17:35 -04:00

24 lines
555 B
C

/*
* Copyright (C) 2021 Denis Pynkin <denis.pynkin@collabora.com>
* Copyright (C) 2022 Gaël PORTAY <gael.portay@collabora.com>
*
* SPDX-License-Identifier: LGPL-2.1+
*/
#pragma once
#include <glib.h>
typedef enum {
FU_STEELSERIES_DEVICE_UNKNOWN = 0,
FU_STEELSERIES_DEVICE_GAMEPAD,
FU_STEELSERIES_DEVICE_GAMEPAD_DONGLE,
FU_STEELSERIES_DEVICE_SONIC,
} FuSteelseriesDeviceKind;
FuSteelseriesDeviceKind
fu_steelseries_device_type_from_string(const gchar *name);
const gchar *
fu_steelseries_device_type_to_string(FuSteelseriesDeviceKind type);