This repo is archived. You can view files and clone it, but cannot push or open issues or pull requests.
2016-09-18 06:42:21 +00:00
|
|
|
#include "Key_LayeredKeys.h"
|
|
|
|
|
|
|
|
void Key_LayeredKeys::press()
|
|
|
|
{
|
2016-09-20 01:46:03 +00:00
|
|
|
layerId = refLayerState.getActiveLayer();
|
2016-09-18 06:42:21 +00:00
|
|
|
|
2016-09-20 01:46:03 +00:00
|
|
|
ptrsKeys[layerId]->press();
|
2016-09-18 06:42:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void Key_LayeredKeys::release()
|
|
|
|
{
|
2016-09-20 01:46:03 +00:00
|
|
|
ptrsKeys[layerId]->release();
|
2016-09-18 06:42:21 +00:00
|
|
|
}
|