fwupd/plugins/ebitdo
Richard Hughes b6f79556f1 Use a SHA1 hash for the internal DeviceID
It's actually less scary to see a SHA1 hash than it is to see a path like
/sys/devices/pci0000:00/0000:00:1d.0/usb1/1-1/1-1.2. It's also way easier to
copy and paste into the various fwupdmgr command that require a device ID and
also means we can match a partial prefix much like git allows.

If we also move to a model where plugins can be changed during different stages
of the update (e.g. during detach) then the device might change connection type
and then the sysfs path not only becomes difficult to paste, but incorrect.

Session software doesn't care about the format of the device ID (it is supposed
to be an implementation detail) and so there's no API or ABI break here. A few
plugins also needed to be ported, but nothing too worrying.
2017-11-16 07:18:36 +00:00
..
data Convert the providers to plugins to simplify code and for future features 2016-12-12 12:31:23 +00:00
fu-ebitdo-common.c trivial: Ensure that all the C source files include 'config.h' 2017-08-23 18:26:29 +01:00
fu-ebitdo-common.h trivial: fix various spelling errors 2017-07-17 13:07:05 -05:00
fu-ebitdo-device.c Use a SHA1 hash for the internal DeviceID 2017-11-16 07:18:36 +00:00
fu-ebitdo-device.h ebitdo: Rename FuDeviceEbitdo to FuEbitdoDevice 2017-11-13 14:03:02 +00:00
fu-ebitdo-tool.c ebitdo: Rename FuDeviceEbitdo to FuEbitdoDevice 2017-11-13 14:03:02 +00:00
fu-plugin-ebitdo.c Use a SHA1 hash for the internal DeviceID 2017-11-16 07:18:36 +00:00
meson.build ebitdo: Rename FuDeviceEbitdo to FuEbitdoDevice 2017-11-13 14:03:02 +00:00
README.md 8bitdo: Verify legacy VIDs are actually 8Bitdo controllers 2017-10-12 14:15:41 +01:00

8Bitdo Support

Introduction

This plugin can flash the firmware on the 0bitdo game pads.

Ebitdo support is supported directly by this project with the embedded libebitdo library and is possible thanks to the vendor open sourcing the flashing tool.

The 8Bitdo devices share legacy USB VID/PIDs with other projects and so we have to be a bit careful to not claim other devices as our own.