mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Android: Correct pad name tracking.
This is split up in two messages, a bit ugly...
This commit is contained in:
parent
4dd4bf24fc
commit
f5f3afbeef
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue