I have programmed the top "hidden hood" buttons to shift the rear derailleur in either direction, but in all honestly I rarely use them. I should get the wireless module so I can flip Garmin pages.
My time trial bike is in "full syncro" mode, so the buttons only shift up or down the gear range, the front derailleur is completely controlled by the Di2 brain.