feat: updated engine
This commit is contained in:
parent
cbe99774ff
commit
f4cf6b3999
6607 changed files with 910135 additions and 430025 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="InputEvent" inherits="Resource" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
||||
<class name="InputEvent" inherits="Resource" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
||||
<brief_description>
|
||||
Abstract base class for input events.
|
||||
</brief_description>
|
||||
|
|
@ -32,7 +32,7 @@
|
|||
<param index="0" name="action" type="StringName" />
|
||||
<param index="1" name="exact_match" type="bool" default="false" />
|
||||
<description>
|
||||
Returns a value between 0.0 and 1.0 depending on the given actions' state. Useful for getting the value of events of type [InputEventJoypadMotion].
|
||||
Returns a value between [code]0.0[/code] and [code]1.0[/code] depending on the given action's state. Useful for getting the value of events of type [InputEventJoypadMotion].
|
||||
If [param exact_match] is [code]false[/code], it ignores additional input modifiers for [InputEventKey] and [InputEventMouseButton] events, and the direction for [InputEventJoypadMotion] events.
|
||||
</description>
|
||||
</method>
|
||||
|
|
@ -126,5 +126,11 @@
|
|||
<constant name="DEVICE_ID_EMULATION" value="-1">
|
||||
Device ID used for emulated mouse input from a touchscreen, or for emulated touch input from a mouse. This can be used to distinguish emulated mouse input from physical mouse input, or emulated touch input from physical touch input.
|
||||
</constant>
|
||||
<constant name="DEVICE_ID_KEYBOARD" value="16">
|
||||
Device ID used for input from a keyboard. This can be used to distinguish keyboard input events from joypad input events.
|
||||
</constant>
|
||||
<constant name="DEVICE_ID_MOUSE" value="32">
|
||||
Device ID used for input from a mouse. This can be used to distinguish mouse input events from joypad input events.
|
||||
</constant>
|
||||
</constants>
|
||||
</class>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue