Skip to content

Support fn+enter alias for insert on mac keyboards - #2010

Merged
nesbox merged 1 commit into
nesbox:mainfrom
fiskWasTaken:hotfix/macos-insert
Aug 22, 2022
Merged

nesbox merged 1 commit into
nesbox:mainfrom
fiskWasTaken:hotfix/macos-insert

Conversation

@fiskWasTaken

Copy link
Copy Markdown
Contributor

The problem as it stands, there's no way to emulate an insert press on a Macbook keyboard, which makes composing music on the TIC-80 a little tricky.

fn+backspace works fine as 'delete', but support for fn+enter is sporadic at best and for some reason it is equivalent to SDLK_KP_ENTER. So, this change just enables fn+enter as an insert keypress on Mac versions of the application.

@nesbox nesbox left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@nesbox
nesbox merged commit e58c583 into nesbox:main Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants