1
0
mirror of https://github.com/MatMoul/g810-led.git synced 2024-12-22 17:06:10 +00:00

Merge branch 'patch-1' of https://github.com/cornernote/g810-led into cornernote-patch-1

This commit is contained in:
MatMoul 2020-04-25 22:08:52 +02:00
commit 376b61f791

View File

@ -129,6 +129,9 @@ int setFX(LedKeyboard &kbd, LedKeyboard::NativeEffectStorage storage,
if (! utils::parseNativeEffectPart(arg3, effectPart)) return 1;
switch (effect) {
case LedKeyboard::NativeEffect::off:
case LedKeyboard::NativeEffect::ripple:
break;
case LedKeyboard::NativeEffect::color:
if (! utils::parseColor(arg4, color)) return 1;
break;