|
|
@ -17,6 +17,7 @@
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
#include <Kaleidoscope-ShapeShifter.h>
|
|
|
|
#include <Kaleidoscope-ShapeShifter.h>
|
|
|
|
|
|
|
|
#include <kaleidoscope/hid.h>
|
|
|
|
|
|
|
|
|
|
|
|
namespace kaleidoscope {
|
|
|
|
namespace kaleidoscope {
|
|
|
|
|
|
|
|
|
|
|
@ -35,8 +36,8 @@ void ShapeShifter::loopHook(bool is_post_clear) {
|
|
|
|
if (is_post_clear)
|
|
|
|
if (is_post_clear)
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
mod_active_ = Keyboard.isModifierActive(Key_LeftShift.keyCode) ||
|
|
|
|
mod_active_ = hid::isModifierKeyActive(Key_LeftShift) ||
|
|
|
|
Keyboard.isModifierActive(Key_RightShift.keyCode);
|
|
|
|
hid::isModifierKeyActive(Key_RightShift);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Key
|
|
|
|
Key
|
|
|
|