Jump to content

Manual key code mapping - left alt vs right alt.


Recommended Posts

Posted

Hi, I'm facing problem when working in the config:

Host: Ubuntu -> Client: MacOS

In config file I have the following entry:

MacBook-Pro.lan:
        altgr = alt

I need to print letter "ł" or "Ł" on the client machine.

Using left alt it's ok, but using right alt it's wrong.

From debug for left alt (the correct one),

Push left alt down:

[2020-10-07T10:31:42] DEBUG2: mapping state: 16
[2020-10-07T10:31:42] DEBUG2: |= modifier: 4
[2020-10-07T10:31:42] DEBUG1: new mask: 0x2000
[2020-10-07T10:31:42] DEBUG1: event: KeyPress code=64, state=0x0010
[2020-10-07T10:31:42] DEBUG2: mapping state: 16
[2020-10-07T10:31:42] DEBUG2: |= modifier: 4
[2020-10-07T10:31:42] DEBUG2: mapped code=64 to keysym=0xffe9
[2020-10-07T10:31:42] DEBUG2: mapped keysym=0xffe9 to keyID=61417
[2020-10-07T10:31:42] DEBUG1: onKeyDown id=61417 mask=0x2000 button=0x0040
[2020-10-07T10:31:42] DEBUG1: send key down to "MacBook-Pro.lan" id=61417, mask=0x2000, button=0x0040

Push l during left alt is down:

[2020-10-07T10:33:40] DEBUG2: mapping state: 24
[2020-10-07T10:33:40] DEBUG2: |= modifier: 3
[2020-10-07T10:33:40] DEBUG2: |= modifier: 4
[2020-10-07T10:33:40] DEBUG1: new mask: 0x2004
[2020-10-07T10:33:40] DEBUG1: event: KeyPress code=46, state=0x0018
[2020-10-07T10:33:40] DEBUG2: mapping state: 24
[2020-10-07T10:33:40] DEBUG2: |= modifier: 3
[2020-10-07T10:33:40] DEBUG2: |= modifier: 4
[2020-10-07T10:33:40] DEBUG2: mapped code=46 to keysym=0x006c
[2020-10-07T10:33:40] DEBUG2: mapped keysym=0x006c to keyID=108
[2020-10-07T10:33:40] DEBUG1: onKeyDown id=108 mask=0x2004 button=0x002e
[2020-10-07T10:33:40] DEBUG1: send key down to "MacBook-Pro.lan" id=108, mask=0x2004, button=0x002e

Push right alt (incorrect letter):

[2020-10-07T10:34:56] DEBUG2: mapping state: 16
[2020-10-07T10:34:56] DEBUG2: |= modifier: 4
[2020-10-07T10:34:56] DEBUG1: new mask: 0x2000
[2020-10-07T10:34:56] DEBUG1: event: KeyPress code=108, state=0x0010
[2020-10-07T10:34:56] DEBUG2: mapping state: 16
[2020-10-07T10:34:56] DEBUG2: |= modifier: 4
[2020-10-07T10:34:56] DEBUG2: mapped code=108 to keysym=0xfe03
[2020-10-07T10:34:56] DEBUG2: mapped keysym=0xfe03 to keyID=61310
[2020-10-07T10:34:56] DEBUG2: writef(CALV)
[2020-10-07T10:34:56] DEBUG2: wrote 4 bytes
[2020-10-07T10:34:56] DEBUG2: writing secure socket: 0x56021a787f80
[2020-10-07T10:34:56] DEBUG1: onKeyDown id=61310 mask=0x2000 button=0x006c
[2020-10-07T10:34:56] DEBUG1: send key down to "MacBook-Pro.lan" id=61310, mask=0x2000, button=0x006c

Push l during right alt is down (incorrect letter):

[2020-10-07T10:37:43] DEBUG2: mapping state: 144
[2020-10-07T10:37:43] DEBUG2: |= modifier: 4
[2020-10-07T10:37:43] DEBUG2: |= modifier: 7
[2020-10-07T10:37:43] DEBUG1: new mask: 0x2020
[2020-10-07T10:37:43] DEBUG1: event: KeyPress code=46, state=0x0090
[2020-10-07T10:37:43] DEBUG2: mapping state: 144
[2020-10-07T10:37:43] DEBUG2: |= modifier: 4
[2020-10-07T10:37:43] DEBUG2: |= modifier: 7
[2020-10-07T10:37:43] DEBUG2: mapped code=46 to keysym=0x01b3
[2020-10-07T10:37:43] DEBUG2: mapped keysym=0x01b3 to keyID=322
[2020-10-07T10:37:43] DEBUG1: onKeyDown id=322 mask=0x2020 button=0x002e
[2020-10-07T10:37:43] DEBUG1: send key down to "MacBook-Pro.lan" id=322, mask=0x2020, button=0x002e

All I need is to remap right alt to send same thing as left alt.

Is there any way to use mapping key codes on host to send specific button to client like:

MacBook-Pro.lan:
        \u0108 = \u0040

 

 

  • 4 weeks later...
Posted

Hello @tyrreus

Can you please send us the same data as here to support@symless.com and I will check with the dev team?

Also, please clarify in details your OS's version and Synergy version.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...