CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
hrydgard

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

GitHub Repository: hrydgard/ppsspp
Path: blob/master/android/libs/MogaStubs/com/bda/controller/Controller.java
Views: 1401
1
package com.bda.controller;
2
3
import android.app.Activity;
4
import android.os.Handler;
5
import android.view.SurfaceView;
6
7
public class Controller {
8
public static final int ACTION_VERSION_MOGA = 0;
9
public static final int STATE_CURRENT_PRODUCT_VERSION = 1;
10
11
static Controller sInstance;
12
13
private Controller() {}
14
15
public static Controller getInstance(Activity activity) {
16
if (sInstance == null) {
17
sInstance = new Controller();
18
}
19
return sInstance;
20
}
21
public int getState(int val) {
22
return 0;
23
}
24
public int setListener(SurfaceView view, Handler handler) {
25
return 0;
26
}
27
public int init() {
28
return 0;
29
}
30
public int onPause() {
31
return 0;
32
}
33
public int onResume() {
34
return 0;
35
}
36
public int exit() {
37
return 0;
38
}
39
}
40
41