I'm working on a text editor-esque product where we're manually handling certain actions on keydown, and I've been having a hard time figuring out how to distinguish between the event.key 'Control' and/or event.code 'ControlLeft'/'ControlRight' for Mac vs Windows, which obviously do different things.
Any advice on how to handle keydown between operating systems for things like this?