Hey everyone. Recently got an iMac and so far, I hate the lock key on my keyboard; I keep hitting it by accident and it locks me out of my computer. I tried changing it in keyboard settings but it seems to be the only key that cannot be changed.
Apparently on the upgraded version of the iMac (I got the base version) the lock button has Touch ID and is harder to press down than other keys, so looks like apple saw this problem coming.
It would be great if we could change/disactivate the key in BTT. I've linked the keyboard below.
We could just set the lock button to command L, similar to windows. BTT can already do that but the lock button that comes with the keyboard still is active.
Came to the forum for a similar request with my 2021 M1 MacBook Pro, which also has the top-right TouchID key. Can confirm in BTT, the app does not intercept the keypress, and the computer enters Lock Screen mode. Would be awesome if we could reprogram that!
Also worth noting – in one round of testing this in BTT today, as I had the record key shortcut the computer screen locked, and then any alphanumeric keyboard presses (via built-in keyboard or my external apple magic keyboard) would not work anywhere in the system and make an error sound. I'm guessing that's BTT's record key shortcut function continuing to run after screen lock, and getting stuck. I restarted BTT which fixed the issue.
@Andreas_Hegenberg it could be possible to disable or reprogram the lock key of an Apple Magic Keyboard in BTT? or maybe you know other app that can reprogram/disable the lock key?
I have tried "from key: lock to key: fn" and also "from key: lock to key:eject". Both configs execute actions when pressing the lock key perfectly.
I have also tried to configure eject key to different actions when eject is pressed less than 0.3 sec (key up) and when it's pressed more than 0.31 sec (key down).
The only action that is always executed is the long press (it doesn't matter if I press more or less than 0.3 sec).
I guess that is not possible to control the press duration of the lock key, isn't it?
Ah yes, the eject key is special in this. Depending on what you use the eject key for, you could however remap it to some other key that then calls a script that does the ejecting when pressed for <0.3s
I thought the limitation was due the lock key, but the limitation is due the eject key.
I have set "from key:lock to key:numpad_enter" and short and long presses are well executed.
Remapping Caps Lock key is also working very good. This feature is amazing.
Let me ask some questions and outline one idea:
is the "Remap Keyboard Key" a new trigger in this alpha?
what is the "caps_lock_delay_enable" key?
what do you think of adding some "Virtual BTT Key" in the "To Key:" drop-down menu? Then we could remap i.e. the Lock key to "Virtual BTT Key 1" and the Caps Lock key to" Virtual BTT Key 2". Then go to Shortcuts and configure them.
is the "Remap Keyboard Key" a new trigger in this alpha?
yes it's new, it's not really a trigger but due to lack of better suitable UI for this I added it as such. You can't assign actions to it. There is also a new predefined action "Remap Key" that can be used to temporarily remap.
what is the "caps_lock_delay_enable" key?
Probably nothing useful, I just added all kind of keys listed in the USB and apple HID specification. I'll remove a few of these "not real" keys with the next alpha.
what do you think of adding some "Virtual BTT Key" in the "To Key:" drop-down menu? Then we could remap i.e. the Lock key to "Virtual BTT Key 1" and the Caps Lock key to" Virtual BTT Key 2". Then go to Shortcuts and configure them.
This is not possible. Remapping is only possible to real keys. (but you can use keys like "dashboard" or f23 and f24 which are not really used on most keyboards)
Just FYI, remapping to F20 to F24 is not working for me. I think it is not a problem of BTT, it is a limitation of macOS. I have got these keys also available in other apps, and they have never worked.