mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 09:13:39 +01:00
Android: Correct pad name tracking.
This is split up in two messages, a bit ugly...
This commit is contained in:
1 parent
4dd4bf24fc
commit
f5f3afbeef
1 file changed
+2
-1
+2
-1
@@ -1147,7 +1147,8 @@ void NativeRender(GraphicsContext *graphicsContext) {
|
||||
}
|
||||
|
||||
void HandleGlobalMessage(const std::string &msg, const std::string &value) {
|
||||
InputDeviceID nextInputDeviceID = DEVICE_ID_ANY;
|
||||
// A bit ugly, see InputDeviceState.java.
|
||||
static InputDeviceID nextInputDeviceID = DEVICE_ID_ANY;
|
||||
if (msg == "inputDeviceConnectedID") {
|
||||
nextInputDeviceID = (InputDeviceID)parseLong(value);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user