android: jni: button_manager: Fix circle pad on subsequent game launch.
- We were missing an UnregisterFactory call for AnalogDevice.
This commit is contained in:
parent
2dafa2fd4d
commit
37d7152a7e
@ -311,6 +311,7 @@ void Init() {
|
|||||||
|
|
||||||
void Shutdown() {
|
void Shutdown() {
|
||||||
Input::UnregisterFactory<Input::ButtonDevice>("gamepad");
|
Input::UnregisterFactory<Input::ButtonDevice>("gamepad");
|
||||||
|
Input::UnregisterFactory<Input::AnalogDevice>("gamepad");
|
||||||
button.reset();
|
button.reset();
|
||||||
analog.reset();
|
analog.reset();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user