IronRDP icon indicating copy to clipboard operation
IronRDP copied to clipboard

Scancodes for native `ironrdp-client` incorrect on MacOS

Open ibeckermayer opened this issue 1 year ago • 3 comments

MacOS uses different scancodes from windows and thus the native client requires a translation layer for MacOS.

ibeckermayer avatar Aug 22 '23 18:08 ibeckermayer

I’m thinking about a HashMap mapping from macOS to Windows scancodes. @thenextman any input on this?

CBenoit avatar Aug 22 '23 18:08 CBenoit

@CBenoit IIRC FreeRDP does a two-step mapping: they go from "system" key code to "virtual" key code, and from "virtual" key codes to scan codes. They should already have the tables etc. Check the input module in winpr to start.

thenextman avatar Aug 22 '23 19:08 thenextman

Thank you for the pointer!

CBenoit avatar Aug 22 '23 19:08 CBenoit