Ouya function calls obfuscation



Why is there function call like this named

OuyaSDK.OuyaInput.GetButtonDown(m_PlayerNum, OuyaController.BUTTON_O)

when I open ouya-sdk.jar there is no such function call GetButtonDown. How then this
can be referenced when actually I can not find such 1:1 function name in anywhere in ouya-sdk.jar?

The unity SDK may be different from the java sdk.

It’s defined in the unity SDK:

1 Like

Very good answer, thanks. Indeed it is C sharp aka C# aka file_name.cs code. That function call points to ouyaSDK.cs file and it is all written in C sharp programming language.
I found documentation to access controller input in Android OS with JAVA programming language:
This document is for developers that uses Java to make apps for Android. The docs target developers using Android Studio, Eclipse, or IntelliJ.
ouya-docs/java.md at master · zturtleman/ouya-docs · GitHub
EDIT:
This enables way to modify input functions or call input directly from custom Android APK to enable 3rd party controllers.