diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-11-19 13:38:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-19 13:38:55 +0100 |
commit | b4f81e7b88047bec03e0ba8e81b4e63215e1c665 (patch) | |
tree | ccc315f24c5d07a93f2760fe70ae224d246785a7 /doc/classes | |
parent | 8cc01be213ebe16212de8452d5235e1bf7c36f7c (diff) | |
parent | c92f83d3ca90c49594c9ed79748c0bf5225563d8 (diff) |
Merge pull request #43662 from EricEzaM/PR/INP3-command_serialization_optional
Made serialization of Command toggleable when saving InputEvents.
Diffstat (limited to 'doc/classes')
-rw-r--r-- | doc/classes/InputEventWithModifiers.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/classes/InputEventWithModifiers.xml b/doc/classes/InputEventWithModifiers.xml index 667879a922..dd782209e5 100644 --- a/doc/classes/InputEventWithModifiers.xml +++ b/doc/classes/InputEventWithModifiers.xml @@ -27,6 +27,10 @@ <member name="shift" type="bool" setter="set_shift" getter="get_shift" default="false"> State of the [kbd]Shift[/kbd] modifier. </member> + <member name="store_command" type="bool" setter="set_store_command" getter="is_storing_command" default="true"> + If [code]true[/code], pressing [kbd]Cmd[/kbd] on macOS or [kbd]Ctrl[/kbd] on all other platforms will both be serialized as [member command]. If [code]false[/code], those same keys will be serialized as [member meta] on macOS and [member control] on all other platforms. + This aids with cross-platform compatibility when developing e.g. on Windows for macOS, or vice-versa. + </member> </members> <constants> </constants> |