Search found 2 matches

by zerosang
Sat Nov 11, 2017 3:35 am
Forum: Beginners Help
Topic: Android: cancel back
Replies: 4
Views: 912

Re: Android: cancel back

in CIrrDeviceAndroid.cpp around line 510

change

case AINPUT_EVENT_TYPE_KEY:
{
// irr things

device->postEventFromUser(event); // this line
}


to

case AINPUT_EVENT_TYPE_KEY:
{
// irr things

status = device->postEventFromUser(event); // this line
}


and you need return "true" in ...