From ed663623db2fae5955dfb05b61e5339ec8a44d7c Mon Sep 17 00:00:00 2001 From: 8BitDo Date: Mon, 31 May 2021 12:22:00 +0800 Subject: [PATCH] Add 8BitDo SN30v2 gamepad --- plugins/ebitdo/ebitdo.quirk | 6 ++++++ plugins/ebitdo/fu-ebitdo-device.c | 1 + 2 files changed, 7 insertions(+) diff --git a/plugins/ebitdo/ebitdo.quirk b/plugins/ebitdo/ebitdo.quirk index 5dd7c9604..f90424478 100644 --- a/plugins/ebitdo/ebitdo.quirk +++ b/plugins/ebitdo/ebitdo.quirk @@ -97,3 +97,9 @@ Plugin = ebitdo Flags = ~is-bootloader InstallDuration = 120 +# SN30v2 +[USB\VID_2DC8&PID_9012] +Plugin = ebitdo +Flags = ~is-bootloader +InstallDuration = 120 + diff --git a/plugins/ebitdo/fu-ebitdo-device.c b/plugins/ebitdo/fu-ebitdo-device.c index 91187e683..da0f3602e 100644 --- a/plugins/ebitdo/fu-ebitdo-device.c +++ b/plugins/ebitdo/fu-ebitdo-device.c @@ -389,6 +389,7 @@ fu_ebitdo_device_write_firmware (FuDevice *device, case 0xab12: /* NES30 */ case 0xab21: /* SFC30 */ case 0xab20: /* SNES30 */ + case 0x9012: /* SN30v2 */ g_string_append (msg, "hold down L+R+START for 3 seconds until " "both LED lights flashing, "); break;