Debug logging

presentation
Andreas Butti 7 years ago
parent eac3435fbd
commit 242bd52726
  1. 7
      src/gui/inputdevices/InputSequence.cpp

@ -416,10 +416,12 @@ void InputSequence::checkCanStartInput()
if (inputHandler->startInput(this))
{
printf("start input %s\n", gdk_device_get_name(device));
inputRunning = true;
}
else
{
printf("NOT start input %s\n", gdk_device_get_name(device));
inputRunning = false;
}
}
@ -431,6 +433,11 @@ void InputSequence::stopInput()
{
XOJ_CHECK_TYPE(InputSequence);
if (inputRunning)
{
printf("stop input %s\n", gdk_device_get_name(device));
}
inputRunning = false;
inputHandler->stopInput(this);
}

Loading…
Cancel
Save