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

21 lines
292 B
C++
Raw Normal View History

#include "Key_LayeredScScBase.h"
2016-05-09 14:05:08 +00:00
void Key_LayeredScScBase::pressScancode()
2016-05-09 14:05:08 +00:00
{
if (layer)
{
scancode = scancode1;
}
else
{
scancode = scancode0;
}
Keyboard.press(scancode);
}
void Key_LayeredScScBase::release()
2016-05-09 14:05:08 +00:00
{
Keyboard.release(scancode);
}