Пример #1
0
void Mouse::PushEvent(cinder::app::MouseEvent event) {
  left.isPush   = event.isLeftDown();
  left.isPress  = event.isLeft();
  right.isPush  = event.isRightDown();
  right.isPress = event.isRight();
}