Archived
1
0
This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
keybrd/src/Key_LayeredScScBase.cpp
2016-09-19 19:46:03 -06:00

21 lines
294 B
C++

#include "Key_LayeredScScBase.h"
void Key_LayeredScScBase::pressScancode()
{
if (layerId)
{
scancode = scancode1;
}
else
{
scancode = scancode0;
}
Keyboard.press(scancode);
}
void Key_LayeredScScBase::release()
{
Keyboard.release(scancode);
}