Dustin Simpson 2 Posted June 30, 2017 Share Posted June 30, 2017 Recently upgraded my Symless server machine to a MacBook Pro with touch bar. The soft escape key along with function keys don't get sent to clients. So doing things like vi becomes a bit of a challenge. Attached image shows escape key down and key up event on the server from the touch bar.  Doubt that helps as it is identical to what is produced on a regular keyboard. Any help is appreciated. Link to post Share on other sites
Paul Suarez 107 Posted June 30, 2017 Share Posted June 30, 2017 Hi @Dustin Simpson. Sorry but we are not supporting hotkeys from Mac's touchbar yet. This could be a feature that we might support in the future though. Link to post Share on other sites
Dustin Simpson 2 Posted June 30, 2017 Author Share Posted June 30, 2017 @Paul Suarez, thank you for the quick reply.  That is disappointing.  I can live without function keys, but the escape key not transmitting is huge as I am sure you can imagine. I will see what I can do about key mappings or something. I appreciate your time. Keep up the great work.  Love the product. Link to post Share on other sites
Paul Suarez 107 Posted June 30, 2017 Share Posted June 30, 2017 You're welcome @Dustin Simpson. You can also try to remap the keys alternatively first. Here’s how. Go to Apple menu > System Preferences, and click on Keyboard. Click the Keyboard tab if it’s not active, and then click the Modifier Keys button on the lower right. In the pop-up window that appears, select your keyboard from the “Select keyboard” pop-up menu at the top. You’ll see a list of four keys: Caps Lock, Control, Option, and Command. You can reassign one of those keys to act as the Escape key. You may not want to select the Command key, since it’s frequently used for keyboard shortcuts. You may not want to use Control or Option, either, for the same reason. Pick a key you want to reassign, then click on the pop-up menu to the right of that key, Select Escape. Click OK. You can also quit System Preferences. Taken from: How to bring back a physical Escape key on the new MacBook Pro with Touch Bar - Macworld Link to post Share on other sites
Dustin Simpson 2 Posted July 3, 2017 Author Share Posted July 3, 2017 For anyone suffering the same problem and is willing to compile Synergy themselves (it was very easy), I posted a hack that I did here: https://github.com/symless/synergy/issues/5845 I have verified that this fixes the escape key, function keys as well as other things like mute, exposé, play, etc etc. Link to post Share on other sites
Dustin Simpson 2 Posted July 5, 2017 Author Share Posted July 5, 2017 @Paul Suarez, hope you are well. Just thought I would follow up after a couple work days using the changes I made to src/lib/platform/OSXScreen.mm It is working great with no negative repercussions with my machines.... After doing some more research on Quartz events I think that not trapping the 0x1D (unclassified gesture) event is the way to go.  When that event isn't trapped then the other events (keyup, keydown) are produced.  So, I think my "hack" is closer to the correct fix than I originally had thought it might be.  1 Link to post Share on other sites
Paul Suarez 107 Posted July 5, 2017 Share Posted July 5, 2017 Hi @Dustin Simpson. I actually have endorsed it to our developers and they are checking it further. Thanks for sharing this wonderful workaround (currently). Keep rockin'! Link to post Share on other sites
Dustin Simpson 2 Posted July 6, 2017 Author Share Posted July 6, 2017 @Paul Suarez Okay, let me know if I can do/test anything.  Happy to help in any way I can. Link to post Share on other sites
Dustin Simpson 2 Posted July 10, 2018 Author Share Posted July 10, 2018 @Nick Bolton I hate to bug, I know you are super busy these days... This workaround that I submitted (https://github.com/symless/synergy-core/issues/5845) is still working very well for me. I just checked the repo for 1.10.0-stable and it looks like nothing has been done to deal with the Mac touch bar. Is that correct? If not then I would like to mention that for the last year my half ass fix has been working. Keep up the great work, I am following you on twitter and look forward to the success of your company.  Link to post Share on other sites
Synergy Team Nick Bolton 407 Posted August 3, 2018 Synergy Team Share Posted August 3, 2018 @Dustin Simpson  Could you please submit a PR for your fix? Link to post Share on other sites
Dustin Simpson 2 Posted August 16, 2018 Author Share Posted August 16, 2018 Oh my goodness! I was away on holiday when you sent this and then completely spaced it. Still want to RP? I will get it done! 1 Link to post Share on other sites
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now