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
294 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
{
2016-09-20 01:46:03 +00:00
if (layerId)
2016-05-09 14:05:08 +00:00
{
scancode = scancode1;
}
else
{
scancode = scancode0;
}
Keyboard.press(scancode);
}
void Key_LayeredScScBase::release()
2016-05-09 14:05:08 +00:00
{
Keyboard.release(scancode);
}