Add Input.is_physical_key_pressed method.
This commit is contained in:
@@ -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" />
|
||||
|
||||
Reference in New Issue
Block a user