diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-11-23 11:41:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-23 11:41:35 +0100 |
commit | a8c305acfaf3c394a4c300df1aa99a35fe1344aa (patch) | |
tree | 947fdafaa6594961f750cacf61a03a09da2fdd4a /doc | |
parent | bf341bf430a8a968e25a7138248e0182ab849d1a (diff) | |
parent | 9877d91c4a573a7538c042f7f01b5c97e17dcd2d (diff) |
Merge pull request #55251 from bruvzg/is_physical_key_pressed
Diffstat (limited to 'doc')
-rw-r--r-- | doc/classes/Input.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/Input.xml b/doc/classes/Input.xml index 4ee319f554..cd5ba2e17f 100644 --- a/doc/classes/Input.xml +++ b/doc/classes/Input.xml @@ -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" /> |