<div id="__MailbirdStyleContent" style="font-size: 10pt;font-family: Arial;color: #000000;text-align: left" dir="ltr">Hi all!<div class="mb_sig"></div><div><br></div><div>Please find attached a changeset that improves the cross-platform base for keystroke events. Please try it out and take a look at it. Report issues ASAP so that I can merge it into Trunk soon.</div><div><br></div><div>Thanks to Tom (tobe), the new promising idea is to replace the existing attempt:</div><div><br></div><div>Duplicate all control and alt keys</div><div>Duplicate control and alt keys</div><div>Swap control and alt keys</div><div><br></div><div>With the following preferences:</div><div><br></div><div>[X] Map ASCII control characters to printable characters<br></div><div> - Default is TRUE</div><div> - Only affects events that have the CONTROL modifier set (e.g. CTRL+J)</div><div> - Rather application-specific than platform-specific</div><div>[X] Map CONTROL keys to COMMAND keys<br></div><div> - Checked at image start-up</div><div> - TRUE on Windows/Linux</div><div> - FALSE on macOS</div><div>[X] M<span style="font-size: 10pt">ap ALT keys to OPTION keys</span></div><div> - Checked at image start-up</div><div> - TRUE on Windows/Linux</div><div> - FALSE on macOS (bc. ALT==CMD on recent Linux/Windows VMs)</div><div><br></div><div>Please take a look at KeyboardEvent >> #checkCommandKey to learn about the fundamental trade-off we have solved.</div><div><br></div><div>Please try out your preferred applications. Feel free to add logging to HandMorph >> #logEvent: for more convenient testing:</div><div><br></div><div><div><span style="font-size: 13.3333px">(anEvent isKeyboard and: [anEvent isKeystroke])</span></div><div><span style="font-size: 13.3333px">   ifTrue: [</span>Transcript showln: anEvent].</div></div><div><br></div><div>Thanks!</div><div><br></div><div>Best,</div><div>Marcel (and Tom)</div></div>