Support for Logitech MX keyboard incomplete

Note:
Before bug reporting, please make sure you have tried the latest (alpha) version of BetterTouchTool and that you have already tried to restart your system :-). If you encounter a crash, please attach a crash log from the macOS Console.app's "Crash Reports" section.


Describe the bug
I uninstalled LogitechOptions and installed the latest BTT beta (6.169) through Setapp.
I want to use all the BTT features for my keyboard, but I also want the function keys to behave as function keys, not as commands (e.g. volume up/down).

I have connected the keyboard using Bluetooth and set the configuration. See screenshot.

The configured special keys as defined here, do work, but the function keys do not work at all, not as function keys and not as command keys.

I would like to have the functionality that pressing F11 gives me the default setting of showing my desktop and fn + F11 the mute functionality.

I could of course try to create triggers for each function key, but I read somewhere that the fn+function key is not recognized by BTT, because it happens on device. So I cannot recreate the mute functionality.


Affected input device (e.g. MacBook Trackpad, Magic Mouse/Trackpad, Touch Bar, etc.): Macbook + MX Keys keyboard


Screenshots
If applicable, add screenshots to help explain your problem. (You can just paste or drag them here)


Device information:

  • Type of Mac: Macbook Pro M3
  • macOS version: 15.7.3
  • BetterTouchTool version: (please post the exact version - not just "the latest one") 6.169

Additional information (e.g. crash logs, related issues, etc.):

BTT needs to override the standard functionality of the selected keys so you can remap them in btt. However the FN+ key action should continue to work (i.e. fn+ f9 should producs a standard f9 press). This seems to work fine with my mx keys, does it not for you?

Does fn+esc doesn’t work for your keyboard?

Yes the fn+key gives me the respective function key (e.g. F11) and the ā€˜action’ (e.g. mute on F11) does not work. However, in macOS and previously in LogitechOptions I have/had set that pressing the F11 key works as function key and fn+F11 as mute key. So the reverse of how the MX keys work now. Which is now confusing because the built-in keyboard of my laptop still works as I have set it (fn+F11 = mute) while the MX-keys I need to press fn+F11 to get the F11 key.

Is there a setting to call in BTT to switch this for the MX keys?

I noticed in cpg-docs/hidpp20 at master Ā· Logitech/cpg-docs Ā· GitHub a setting named fn inversion, so that seems what I want.

v6.197 alpha adds support for the FN Key inversion - however I haven't tested it yet!

1 Like

Thanks a lot! It will take a while before I am home again and be able to test it.

I couldn’t get it to work on my K380:

I got a request timeout when applying the settings and my FN keys are special function keys not F1-F12

How can I try this alpha version with a Setapp version of BTT?

6.250 should fix FN inversion on keyboards that support it (tested on MX Keys S, uploading now)

1 Like

Confirmed working great on my Logitech Pop Keys, thanks Andreas. I used to use a BTT bluetooth hardware connect trigger to run BetterMouse.app before, which worked great but it is a less elegant solution when BTT can now do everything (BetterMouse is still a great ā€œfocusedā€ app and worth supporting irrespectively!).

It works!! Thanks so much!

But… how do I make the special functions work now? I don’t use all of them, but mute and a few others I do use. Do I need to create a trigger for it? If so, how? I’ve tried F11 and fn+F11. The first is registered and the second isn’t. When I added the ā€˜mute’ action, nothing worked, aka the original ā€˜show desktop’ didn’t work anymore (understandable) but the mute action also didn’t work.

Is there a solution for the volume control on Logitech keyboards with FN inversion activated? I’m using a MX Keys for Mac and I had locked the keyboard to that functionality before (fn + esc). But since I switched to BetterTouchTool I haven’t managed to get mute, volume down & up (fn + F10, fn + F11, fn + F12) to work again.

you should be able to record these shortcuts in BTT and assign the volum actions you need to them

Not working :confused: I’m not able to record a shortcut with the fn key involved.
Fun fact: if I turn the keyboard off and on again, I’m able to use the fn key once in combination with F10, F11 or F12. As soon as I let fn go, it’s not working anymore.
Same applies to the switch between computers (Easy-Switch): fn + F13, F14, F15.

Ah, in that case (it depends on the keyboard) you might need to explicitly tell BTT to not divert the volume keys.
This means you will need to explicitly record the (special) keys you want BTT to take control over and don't include the volume keys:

However it's pretty weird, I'm able to record shortcuts fine for special keys with fn inversion enabled on my MX Keys S

Hey, that actually did the trick. I unticked ā€œMake All Keys availableā€ and just specified the Screen Lock key: now all combinations with fn are working again. Thanks :clap:t3: