mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-14 18:19:36 +01:00
Misc
This commit is contained in:
1 parent
8e775751fc
commit
ec57b692eb
7 files changed
+91
-20
No files matched your search
@@ -210,11 +210,11 @@ extern "C" void JNICALL Java_com_turboviking_libnative_NativeApp_touch
|
||||
input_state.mouse_x[pointerId] = (int)x;
|
||||
input_state.mouse_y[pointerId] = (int)y;
|
||||
if (code == 1) {
|
||||
ILOG("Down: %i %f %f", pointerId, x, y);
|
||||
//ILOG("Down: %i %f %f", pointerId, x, y);
|
||||
input_state.mouse_last[pointerId] = input_state.mouse_down[pointerId];
|
||||
input_state.mouse_down[pointerId] = true;
|
||||
} else if (code == 2) {
|
||||
ILOG("Up: %i %f %f", pointerId, x, y);
|
||||
//ILOG("Up: %i %f %f", pointerId, x, y);
|
||||
input_state.mouse_last[pointerId] = input_state.mouse_down[pointerId];
|
||||
input_state.mouse_down[pointerId] = false;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user