There is very little documentation on ClipboardActionTransformations.xml
which can be edited to map keys in Remote Desktop.
For example, if I want to map the (host Mac) command key to be the (client Windows) ctrl, I would use the following:
<?xml version="1.0" encoding="utf-8" ?>
<!-- transformation for clipboard actions (cut copy paste) -->
<!-- layout specific -->
<layouts>
<layout name="default">
<transformations>
<transform>
<from command="1" key="A" />
<to control="1" key="A" />
</transform>
</transformations>
</layout>
</layouts>
repeating transform
for each key.
This file should be copied into the Remote Desktop app after it is updated.
sudo cp ~/ClipboardActionTransformations.xml /Applications/Microsoft\ Remote\ Desktop.app/Contents/Resources/Keyboard
What are all the other keys?
Viewing the contents of /Applications/Microsoft\ Remote\ Desktop.app/Contents/MacOS/Microsoft\ Remote\ Desktop
I have found:
Num1
, Num2
, etc.F1
, F2
, etc.LeftBrace
, RightBrace
(or Bracket?)Return
, Tab
, Delete
, Escape
Comma
, SemiColon
, Period
Slash
, BackSlash
Space
Equal
, Minus
LeftCommand
, RightCommand
LeftShift
, RightShift
LeftControl
, RightControl
LeftOption
, RightOption
CapsLock
Apps
ForwardDelete
, Delete
, Insert
,PageUp
, PageDown
, Home
, End
UpArrow
, RightArrow
, DownArrow
, LeftArrow
and
Keypad1
, Keypad2
, etc.KeypadDecimal
KeypadMultiple
, KeypadDivide
, KeypadPlus
, KeypadMinus
KeypadEnd
KeypadEnter
Modifiers are:
control
command
option
shift
Note: