diff options
Diffstat (limited to 'doc/classes/InputEventKey.xml')
-rw-r--r-- | doc/classes/InputEventKey.xml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/classes/InputEventKey.xml b/doc/classes/InputEventKey.xml index 42ac7e58d9..c8d0769b90 100644 --- a/doc/classes/InputEventKey.xml +++ b/doc/classes/InputEventKey.xml @@ -31,9 +31,6 @@ <member name="echo" type="bool" setter="set_echo" getter="is_echo" default="false"> If [code]true[/code], the key was already pressed before this event. It means the user is holding the key down. </member> - <member name="pressed" type="bool" setter="set_pressed" getter="is_pressed" default="false"> - If [code]true[/code], the key's state is pressed. If [code]false[/code], the key's state is released. - </member> <member name="keycode" type="int" setter="set_keycode" getter="get_keycode" default="0"> The key keycode, which corresponds to one of the [enum KeyList] constants. Represent key in the current keyboard layout. To get a human-readable representation of the [InputEventKey], use [code]OS.get_keycode_string(event.keycode)[/code] where [code]event[/code] is the [InputEventKey]. @@ -42,6 +39,9 @@ Key physical keycode, which corresponds to one of the [enum KeyList] constants. Represent the physical location of a key on the 101/102-key US QWERTY keyboard. To get a human-readable representation of the [InputEventKey], use [code]OS.get_keycode_string(event.keycode)[/code] where [code]event[/code] is the [InputEventKey]. </member> + <member name="pressed" type="bool" setter="set_pressed" getter="is_pressed" default="false"> + If [code]true[/code], the key's state is pressed. If [code]false[/code], the key's state is released. + </member> <member name="unicode" type="int" setter="set_unicode" getter="get_unicode" default="0"> The key Unicode identifier (when relevant). Unicode identifiers for the composite characters and complex scripts may not be available unless IME input mode is active. See [method OS.set_ime_active] for more information. </member> |