2nd layer keys for mouses?

Hi,

So as great the mx master mouse are they have no way of having a 2nd layer keys mapping to it or if you press a button on your keyboard it would activate a 2nd later (they have it for their gaming mousing though).

Does anyone know a way we could do that? for example so if i press the hyper key and scroll level and right it would switch desktops versus horizontal scroll. With Meta key it would switch between applications

thanks