Logitech G560 initial support

Logitech G560 Speaker working with Direct Mode using same bits as the Logitech Ambilight and Audioviz. Other modes are not working (get) as expected.

Note: G560 Direct mode is slow because Logitech hardware implementation but it is working.

Changing volume at the same time colors are changing can reduce FPS because G560 uses the same channel for led and audio modes commands.

Commits squashed and amended for code style by Adam Honse <calcprogrammer1@gmail.com>
This commit is contained in:
Cheerpipe 2021-02-13 00:57:53 -03:00 committed by Adam Honse
parent 00b8e74239
commit e9f3a1b3b9
12 changed files with 427 additions and 1 deletions

View file

@ -1457,6 +1457,8 @@ std::string device_type_to_str(device_type type)
return "Gamepad";
case DEVICE_TYPE_LIGHT:
return "Light";
case DEVICE_TYPE_SPEAKER:
return "Speaker";
default:
return "Unknown";
}