mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 07:21:14 +01:00
Merge pull request #12706 from JosJuice/android-controllerinterface-init
Android/ControllerInterface: Run the init code
This commit is contained in:
commit
1bc6433404
@ -448,7 +448,7 @@ namespace ciface::Android
|
|||||||
class InputBackend final : public ciface::InputBackend
|
class InputBackend final : public ciface::InputBackend
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
using ciface::InputBackend::InputBackend;
|
InputBackend(ControllerInterface* controller_interface);
|
||||||
~InputBackend();
|
~InputBackend();
|
||||||
void PopulateDevices() override;
|
void PopulateDevices() override;
|
||||||
|
|
||||||
@ -797,7 +797,8 @@ static jintArray CreateKeyCodesArray(JNIEnv* env)
|
|||||||
return keycodes_array;
|
return keycodes_array;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Init()
|
InputBackend::InputBackend(ControllerInterface* controller_interface)
|
||||||
|
: ciface::InputBackend(controller_interface)
|
||||||
{
|
{
|
||||||
JNIEnv* env = IDCache::GetEnvForThread();
|
JNIEnv* env = IDCache::GetEnvForThread();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user