serenadeai / serenade

Apache License 2.0
317 stars 57 forks source link

optionOrAlt key for Mac and Windows unification. #20

Closed ryanpeach closed 1 year ago

ryanpeach commented 1 year ago

Context

There is a modifier commandOrControl for key presses that switches depending on whether or not you are on mac between command (Mac) or control (Windows). Similarly there should be an optionOrAlt key. This is even more intuitive since mac doesn't have an alt, but it does have a seperate control and command key.

I should be able to do this, just noting it down here.

tmacwill commented 1 year ago

thanks for the suggestion! I believe this should be happening already based on:

but, if that's not working please reopen this! commandOrControl exists because Macs have both a command and control key, whereas the option key replaces the alt key.