瀏覽代碼

Changed DeviceType list to have Generic at the top so that it's position never changes.

Dave Solares 5 年之前
父節點
當前提交
6ff5eff1a7
共有 1 個文件被更改,包括 8 次插入8 次删除
  1. 8 8
      src/DeviceInput/InputDevices/deviceEnums.ts

+ 8 - 8
src/DeviceInput/InputDevices/deviceEnums.ts

@@ -2,20 +2,20 @@
  * Enum for Device Types
  */
 export enum DeviceType {
+    /** Generic */
+    Generic = 0,
     /** Keyboard */
-    Keyboard = 0,
+    Keyboard = 1,
     /** Mouse */
-    Mouse = 1,
+    Mouse = 2,
     /** Touch Pointers */
-    Touch = 2,
+    Touch = 3,
     /** PS4 Dual Shock */
-    DualShock = 3,
+    DualShock = 4,
     /** Xbox */
-    Xbox = 4,
+    Xbox = 5,
     /** Switch Controller */
-    Switch = 5,
-    /** Generic */
-    Generic = 6
+    Switch = 6
 }
 
 // Device Enums