diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2021-06-20 13:12:33 -0400 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2021-08-10 16:26:55 -0500 |
commit | fa3a32a2d6b054543645b0d4752514c90732b935 (patch) | |
tree | f3ba2c2543431c356ba0eca13d5be9a3e42daedd /doc/classes/Input.xml | |
parent | 18bd0fee5a8aa360177cbe14a16d6be69f088d8f (diff) |
Use Key enum instead of plain integers
Diffstat (limited to 'doc/classes/Input.xml')
-rw-r--r-- | doc/classes/Input.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Input.xml b/doc/classes/Input.xml index 293456b645..ebbcd2b894 100644 --- a/doc/classes/Input.xml +++ b/doc/classes/Input.xml @@ -217,7 +217,7 @@ </method> <method name="is_key_pressed" qualifiers="const"> <return type="bool" /> - <argument index="0" name="keycode" type="int" /> + <argument index="0" name="keycode" type="int" enum="Key" /> <description> Returns [code]true[/code] if you are pressing the key in the current keyboard layout. You can pass a [enum Key] constant. </description> |