DEADSOFTWARE

Better touch inventory controls
[cavedroid.git] / android / assets / json / touch_buttons.json
index ef5c42e7ee7fde8d197a8c85d27b28d76c094432..81110960852f4d23dcf725050beab9a746a98634 100644 (file)
@@ -1,44 +1,16 @@
 {
-  "up": {
-    "x": 26,
-    "y": -52,
-    "w": 26,
-    "h": 26
-  },
-  "down": {
-    "x": 26,
-    "y": -26,
-    "w": 26,
-    "h": 26
-  },
-  "left": {
-    "x": 0,
-    "y": -26,
-    "w": 26,
-    "h": 26
-  },
-  "right": {
-    "x": 52,
-    "y": -26,
-    "w": 26,
-    "h": 26
-  },
   "alt": {
-    "x": 78,
-    "y": -26,
-    "w": 26,
-    "h": 26
-  },
-  "lmb": {
-    "x": -52,
-    "y": -26,
-    "w": 26,
-    "h": 26
+    "x": -32,
+    "y": -32,
+    "w": 32,
+    "h": 32,
+    "key": "L-Alt"
   },
-  "rmb": {
-    "x": -26,
-    "y": -26,
-    "w": 26,
-    "h": 26
+  "inv": {
+    "x": -64,
+    "y": -32,
+    "w": 32,
+    "h": 32,
+    "key": "E"
   }
 }
\ No newline at end of file