|
@@ -148,37 +148,30 @@ namespace Urho3D
|
|
|
- %Buttons : int
|
|
- %Buttons : int
|
|
|
- %Qualifiers : int
|
|
- %Qualifiers : int
|
|
|
|
|
|
|
|
|
|
+### JoystickConnected
|
|
|
|
|
+- %JoystickID : int
|
|
|
|
|
+
|
|
|
|
|
+### JoystickDisconnected
|
|
|
|
|
+- %JoystickID : int
|
|
|
|
|
+
|
|
|
### JoystickButtonDown
|
|
### JoystickButtonDown
|
|
|
-- %Joystick : int
|
|
|
|
|
|
|
+- %JoystickID : int
|
|
|
- %Button : int
|
|
- %Button : int
|
|
|
|
|
|
|
|
### JoystickButtonUp
|
|
### JoystickButtonUp
|
|
|
-- %Joystick : int
|
|
|
|
|
|
|
+- %JoystickID : int
|
|
|
- %Button : int
|
|
- %Button : int
|
|
|
|
|
|
|
|
### JoystickAxisMove
|
|
### JoystickAxisMove
|
|
|
-- %Joystick : int
|
|
|
|
|
|
|
+- %JoystickID : int
|
|
|
- %Button : int
|
|
- %Button : int
|
|
|
- %Position : float
|
|
- %Position : float
|
|
|
|
|
|
|
|
### JoystickHatMove
|
|
### JoystickHatMove
|
|
|
-- %Joystick : int
|
|
|
|
|
|
|
+- %JoystickID : int
|
|
|
- %Button : int
|
|
- %Button : int
|
|
|
- %Position : int
|
|
- %Position : int
|
|
|
|
|
|
|
|
-### ControllerButtonDown
|
|
|
|
|
-- %Joystick : int
|
|
|
|
|
-- %Button : int
|
|
|
|
|
-
|
|
|
|
|
-### ControllerButtonUp
|
|
|
|
|
-- %Joystick : int
|
|
|
|
|
-- %Button : int
|
|
|
|
|
-
|
|
|
|
|
-### ControllerAxisMove
|
|
|
|
|
-- %Joystick : int
|
|
|
|
|
-- %Button : int
|
|
|
|
|
-- %Position : float
|
|
|
|
|
-
|
|
|
|
|
### TouchBegin
|
|
### TouchBegin
|
|
|
- %TouchID : int
|
|
- %TouchID : int
|
|
|
- %X : int
|
|
- %X : int
|
|
@@ -5559,9 +5552,7 @@ Properties:
|
|
|
|
|
|
|
|
Methods:
|
|
Methods:
|
|
|
|
|
|
|
|
-- uint AddScreenJoystick(XMLFile@ = null, XMLFile@ = null)
|
|
|
|
|
-- void CloseJoystick(uint)
|
|
|
|
|
-- bool DetectJoysticks()
|
|
|
|
|
|
|
+- int AddScreenJoystick(XMLFile@ = null, XMLFile@ = null)
|
|
|
- int GetKeyFromName(const String&) const
|
|
- int GetKeyFromName(const String&) const
|
|
|
- int GetKeyFromScancode(int) const
|
|
- int GetKeyFromScancode(int) const
|
|
|
- String GetKeyName(int) const
|
|
- String GetKeyName(int) const
|
|
@@ -5569,9 +5560,8 @@ Methods:
|
|
|
- int GetScancodeFromName(const String&) const
|
|
- int GetScancodeFromName(const String&) const
|
|
|
- String GetScancodeName(int) const
|
|
- String GetScancodeName(int) const
|
|
|
- uint LoadGestures(File@)
|
|
- uint LoadGestures(File@)
|
|
|
-- bool OpenJoystick(uint)
|
|
|
|
|
- bool RecordGesture()
|
|
- bool RecordGesture()
|
|
|
-- bool RemoveScreenJoystick(uint)
|
|
|
|
|
|
|
+- bool RemoveScreenJoystick(int)
|
|
|
- bool SaveGesture(File@, uint)
|
|
- bool SaveGesture(File@, uint)
|
|
|
- bool SaveGestures(File@)
|
|
- bool SaveGestures(File@)
|
|
|
- void SendEvent(const String&, VariantMap& = VariantMap ( ))
|
|
- void SendEvent(const String&, VariantMap& = VariantMap ( ))
|
|
@@ -5581,8 +5571,8 @@ Properties:
|
|
|
- ShortStringHash baseType // readonly
|
|
- ShortStringHash baseType // readonly
|
|
|
- String category // readonly
|
|
- String category // readonly
|
|
|
- bool focus // readonly
|
|
- bool focus // readonly
|
|
|
-- String[] joystickNames // readonly
|
|
|
|
|
- JoystickState@[] joysticks // readonly
|
|
- JoystickState@[] joysticks // readonly
|
|
|
|
|
+- JoystickState@[] joysticksByIndex // readonly
|
|
|
- bool[] keyDown // readonly
|
|
- bool[] keyDown // readonly
|
|
|
- bool[] keyPress // readonly
|
|
- bool[] keyPress // readonly
|
|
|
- bool minimized // readonly
|
|
- bool minimized // readonly
|
|
@@ -5602,6 +5592,7 @@ Properties:
|
|
|
- int refs // readonly
|
|
- int refs // readonly
|
|
|
- bool[] scancodeDown // readonly
|
|
- bool[] scancodeDown // readonly
|
|
|
- bool[] scancodePress // readonly
|
|
- bool[] scancodePress // readonly
|
|
|
|
|
+- bool[] screenJoystickVisible
|
|
|
- bool screenKeyboardSupport // readonly
|
|
- bool screenKeyboardSupport // readonly
|
|
|
- bool screenKeyboardVisible
|
|
- bool screenKeyboardVisible
|
|
|
- bool toggleFullscreen
|
|
- bool toggleFullscreen
|
|
@@ -5649,7 +5640,9 @@ Properties:
|
|
|
- float[] axisPosition // readonly
|
|
- float[] axisPosition // readonly
|
|
|
- bool[] buttonDown // readonly
|
|
- bool[] buttonDown // readonly
|
|
|
- bool[] buttonPress // readonly
|
|
- bool[] buttonPress // readonly
|
|
|
|
|
+- bool controller // readonly
|
|
|
- int[] hatPosition // readonly
|
|
- int[] hatPosition // readonly
|
|
|
|
|
+- int joystickID
|
|
|
- String name
|
|
- String name
|
|
|
- uint numAxes // readonly
|
|
- uint numAxes // readonly
|
|
|
- uint numButtons // readonly
|
|
- uint numButtons // readonly
|