kaleidoscope::hid::wasModifierKeyActive() syntax change

Hello,

I was using kaleidoscope::hid::wasModifierKeyActive() but with the last update v1.99.3 of kaleidoscope, it seems this syntax is not good anymore.

I found in documentation that it is because of HID facade deprecation and to be replace by Kaleidoscope.hid(). But I don’t find the right syntax.

Does anyone know how to do ?

Thanks.

Despite search before creating this topic I found the answer here

The right syntax is now Kaleidoscope.hid().keyboard().wasModifierKeyActive()

Thanks to @merlin

2 Likes