Multiplexing buttons using shift register - high impedance output
A hi-Z/low output is a characteristic of open collector/open drain outputs. Of the logic devices that have such, the simplest is the 74'07 hex buffer. More complex instances include the 74HCT7273 octal D flip-flop and the SN74BCT760 octal driver.