Map Logitech buttons to CMD-TAB

I recently buy a Logitech mouse and I want to map two buttons (identified by BTT as 3 and 4) to simulate the CMD-TAB functions. Already I can map the buttons to a simple cmd-tab action so I can switch between two windows but I don't know if is there a way to accomplish the entire function, this is with the first press of the button show the windows list and with the other press can move and select between all the windows listed.

I don't want to use the apps switch utility included with BTT because I already use a specific app for this (Contexts).

Anyone have any idea about how to do this?