-
Notifications
You must be signed in to change notification settings - Fork 0
FreeRDP3 migration notes
This page collects migration notes to port your code from FreeRDP 2 to FreeRDP 3.
- After #8046 replace your usage of
RdpKeyFile
AndRdpKeyContent
byPrivateKeyFile
andPrivateKeyContent
xPos
has been renamed to hotSpotX
and yPos
has been renamed to hotSpotY
;
KEYCODE_TYPE_EVDEV
has been renamed to KEYCODE_TYPE_XKB
, as it previously actually handled XKB
keycodes, instead of evdev
keycodes.
If you use GetVirtualKeyCodeFromKeycode()
or GetKeycodeFromVirtualKeyCode()
in your FreeRDP2 code and used KEYCODE_TYPE_EVDEV
for translation between virtual keycodes and XKB keycodes and wish to do that further, change the used keyboard type from KEYCODE_TYPE_EVDEV
to KEYCODE_TYPE_XKB
.
Additionally, FreeRDP3 now supports actual translation between evdev
keycodes and virtual keycodes. If you want to use that translation, use the keyboard type KEYCODE_TYPE_EVDEV
.