In my EventReceiver class in Android, I am using event.TouchInput.ID in order to work with multi-touch features.
This works fine.
During my port to iPhone, I am a receiving a crash. The debugger shows that event.TouchInput.ID is a large junk number.
Code: Select all
bool MyEventReceiver::OnEvent(const SEvent& event)
{
if (event.EventType == EET_TOUCH_INPUT_EVENT)
{
Game::log(event.TouchInput.ID); // prints some large, random, junk, number in iOS. prints correctly in Android.
}
}
Thanks
EDIT:
I also needed to modify the CIrrDevicesiOS.mm file to remove the "Scale" variable, otherwise the TouchInput.X and TouchInput.Y values are way off.
I'm unsure whether this is a bug or a feature for something I'm missing.