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/KeyEvent.java
Views: 1401
1
package com.bda.controller;
2
3
public class KeyEvent {
4
public static final int ACTION_DOWN = 0;
5
public static final int ACTION_UP = 1;
6
public static final int KEYCODE_DPAD_UP = 2;
7
public static final int KEYCODE_DPAD_DOWN = 3;
8
public static final int KEYCODE_DPAD_LEFT = 4;
9
public static final int KEYCODE_DPAD_RIGHT = 5;
10
11
public int getAction() {
12
return 0;
13
}
14
public int getState(int val) {
15
return 0;
16
}
17
public int getKeyCode() {
18
return 0;
19
}
20
}
21
22