瀏覽代碼

CrownEnum added in android

mikymod 13 年之前
父節點
當前提交
74f95369ba
共有 1 個文件被更改,包括 16 次插入0 次删除
  1. 16 0
      android/src/crown/android/CrownEnum.java

+ 16 - 0
android/src/crown/android/CrownEnum.java

@@ -0,0 +1,16 @@
+package crown.android;
+
+public class CrownEnum
+{
+	// OSEventType enum in OS.h
+	public static final int OSET_NONE			= 0;
+	public static final int OSET_KEY_PRESS		= 1;
+	public static final int OSET_KEY_RELEASE	= 2;
+	public static final int OSET_BUTTON_PRESS	= 3;
+	public static final int OSET_BUTTON_RELEASE	= 4;
+	public static final int OSET_MOTION_NOTIFY	= 5;
+	public static final int OSET_TOUCH_DOWN 	= 6;
+	public static final int OSET_TOUCH_MOVE		= 7;
+	public static final int OSET_TOUCH_UP		= 8;
+	public static final int OSET_ACCELEROMETER	= 9; 
+}