Logitech MX Master 2S

Totally do-able... That's what I've done with my MX Master 2S.

  1. You need the Logitech Options software: https://www.logitech.com/en-us/product/options

  2. Install that, then click on the button and select "Keystroke Assignment"

  3. Assign a shortcut from BTT and you're in business. Here's a screenshot of mine.