Add Input.is_physical_key_pressed method.
This commit is contained in:
parent
1e71cab797
commit
9877d91c4a
3 changed files with 23 additions and 0 deletions
|
|
@ -236,6 +236,13 @@
|
|||
Returns [code]true[/code] if you are pressing the mouse button specified with [enum MouseButton].
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_physical_key_pressed" qualifiers="const">
|
||||
<return type="bool" />
|
||||
<argument index="0" name="keycode" type="int" enum="Key" />
|
||||
<description>
|
||||
Returns [code]true[/code] if you are pressing the key in the physical location on the 101/102-key US QWERTY keyboard. You can pass a [enum Key] constant.
|
||||
</description>
|
||||
</method>
|
||||
<method name="joy_connection_changed">
|
||||
<return type="void" />
|
||||
<argument index="0" name="device" type="int" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue