Renames / fixes for Godot 4

This commit is contained in:
Max Hilbrunner
2022-10-16 20:36:12 +02:00
parent e12fcc3da4
commit 99d3d0be12
25 changed files with 72 additions and 85 deletions

View File

@@ -210,7 +210,7 @@ the :kbd:`T`:
}
}
.. tip:: See :ref:`@GlobalScope_KeyList <enum_@GlobalScope_KeyList>` for a list of keycode
.. tip:: See :ref:`@GlobalScope_Key <enum_@GlobalScope_Key>` for a list of keycode
constants.
.. warning::
@@ -261,7 +261,7 @@ different when it's :kbd:`Shift + T`:
}
}
.. tip:: See :ref:`@GlobalScope_KeyList <enum_@GlobalScope_KeyList>` for a list of keycode
.. tip:: See :ref:`@GlobalScope_Key <enum_@GlobalScope_Key>` for a list of keycode
constants.
Mouse events
@@ -275,7 +275,7 @@ means that all mouse events will contain a ``position`` property.
Mouse buttons
~~~~~~~~~~~~~
Capturing mouse buttons is very similar to handling key events. :ref:`@GlobalScope_ButtonList <enum_@GlobalScope_ButtonList>`
Capturing mouse buttons is very similar to handling key events. :ref:`@GlobalScope_MouseButton <enum_@GlobalScope_MouseButton>`
contains a list of ``BUTTON_*`` constants for each possible button, which will
be reported in the event's ``button_index`` property. Note that the scrollwheel
also counts as a button - two buttons, to be precise, with both