Is there a way to sense weather the system has a physical escape key?

Is there a way to sense weather the system has a physical escape key?

Trying to streamline AquaTouch onboarding process here.

It would be great if I could automatically hide or show the escape key based on the user's system

@Andreas_Hegenberg

there is a variable in BTT that is called BTTTouchBarHasPhysicalESCKey, I hope this still works

Looks like I already use it. I remember seeing photos from users with physical escape but the software one was showing on their system too though.

Is this implemented correctly?

BTT checks for the size of the Touch Bar and only if it matches the width (1004) of the one with physical ESC key sets the variable to 1.
So I think it is implemented correctly (Unless there is a Mac model that has the same width but no ESC button, but that would be weird)

1 Like