mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 11:49:06 +00:00
Android: Make input mapping view holders observe input state changes
This commit is contained in:
parent
22fd0472ed
commit
cf7b141eb9
8 changed files with 84 additions and 4 deletions
|
@ -64,6 +64,13 @@ Java_org_dolphinemu_dolphinemu_features_input_model_CoreDevice_00024Control_getN
|
|||
return ToJString(env, GetControlPointer(env, obj)->GetName());
|
||||
}
|
||||
|
||||
JNIEXPORT jdouble JNICALL
|
||||
Java_org_dolphinemu_dolphinemu_features_input_model_CoreDevice_00024Control_getState(JNIEnv* env,
|
||||
jobject obj)
|
||||
{
|
||||
return env, GetControlPointer(env, obj)->ToInput()->GetState();
|
||||
}
|
||||
|
||||
JNIEXPORT void JNICALL
|
||||
Java_org_dolphinemu_dolphinemu_features_input_model_CoreDevice_finalize(JNIEnv* env, jobject obj)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue