mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-27 20:28:35 +01:00
Improve input event handling. Can now map volume keys on Android without issues.
This commit is contained in:
1 parent
7febcd5d91
commit
e3bbf26731
14 files changed
+80
-58
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user