summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorFrixuu <kontakt@lukasz.xyz>2021-09-17 03:07:59 +0200
committerFrixuu <kontakt@lukasz.xyz>2021-09-21 00:03:02 +0200
commit650e63a7ca433e70ab458893f1dcbb8820278d86 (patch)
tree2416b7d41bc9a0bd160dbe4631cd89f5d0dbd537 /doc/classes
parent2d1699ef82a29ef65d810194ee76dddc0d9e0389 (diff)
Allow for mapping keycodes to current layout
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/DisplayServer.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/classes/DisplayServer.xml b/doc/classes/DisplayServer.xml
index 4f495eaec9..7eff8db59c 100644
--- a/doc/classes/DisplayServer.xml
+++ b/doc/classes/DisplayServer.xml
@@ -276,6 +276,14 @@
[b]Note:[/b] This method is implemented on Linux, macOS and Windows.
</description>
</method>
+ <method name="keyboard_get_keycode_from_physical" qualifiers="const">
+ <return type="int" enum="Key" />
+ <argument index="0" name="keycode" type="int" enum="Key" />
+ <description>
+ Converts a physical (US QWERTY) [code]keycode[/code] to one in the active keyboard layout.
+ [b]Note:[/b] This method is implemented on Linux, macOS and Windows.
+ </description>
+ </method>
<method name="keyboard_get_layout_count" qualifiers="const">
<return type="int" />
<description>