Improve input event handling. Can now map volume keys on Android without issues.

This commit is contained in:
Henrik Rydgard committed 2014-06-15 13:04:59 +02:00
1 parent 7febcd5d91
commit e3bbf26731
14 files changed
+80 -58

No files matched your search

+2 -1
View File
@@ -214,7 +214,7 @@ TouchControlLayoutScreen::TouchControlLayoutScreen() {
pickedControl_ = 0;
};
void TouchControlLayoutScreen::touch(const TouchInput &touch) {
bool TouchControlLayoutScreen::touch(const TouchInput &touch) {
UIScreen::touch(touch);
using namespace UI;
@@ -275,6 +275,7 @@ void TouchControlLayoutScreen::touch(const TouchInput &touch) {
pickedControl_->SavePosition();
pickedControl_ = 0;
}
return true;
};
void TouchControlLayoutScreen::onFinish(DialogResult reason) {