MultitouchInputDevice::MultitouchInputDevice() : IInputDevice(EXTRACT_INPUTDEVICE_CLASSNAME(MultitouchInputDevice)) { m_TouchArea = ConfigMgr::get()->getSizeOption("touch", "area"); if (m_TouchArea.x == 0) { m_TouchArea = Player::get()->getScreenResolution(); } m_TouchOffset = ConfigMgr::get()->getSizeOption("touch", "offset"); }
TestHelper::TestHelper() : IInputDevice(EXTRACT_INPUTDEVICE_CLASSNAME(TestHelper)) { }