Commit 73d14d28 authored by Bastien Nocera's avatar Bastien Nocera

lib: Add another "keyboard" joypad

The 8bitdo Zero gamepad can also appear as a keyboard to pair using
iCade protocol.
parent 2b8cf369
Pipeline #215279 passed with stage
in 7 minutes and 13 seconds
......@@ -297,7 +297,8 @@ device_resolve_type_and_icon (Device1 *device, BluetoothType *type, const char *
g_return_if_fail (type);
g_return_if_fail (icon);
if (g_strcmp0 (device1_get_name (device), "ION iCade Game Controller") == 0) {
if (g_strcmp0 (device1_get_name (device), "ION iCade Game Controller") == 0 ||
g_strcmp0 (device1_get_name (device), "8Bitdo Zero GamePad") == 0) {
*type = BLUETOOTH_TYPE_JOYPAD;
*icon = "input-gaming";
return;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment