I recall working on bikes with those. Those pins let you "lock" the shifters in the forward position, presumably for adjusting the derailleurs at zero cable slack, but once adjusted and with the pins retracted you could actually move the shifters forward even a little more. Maybe the buttons were meant to function as an anti-theft device.