595 to drive multiple 4051

Hi

Is that a matrix of 144 buttons and 144 pots, or 24 buttons with 6 pots?

Are you intending from what you're saying to directly sample the pots from the A0 thru A5 analog inputs on the Arduino and read the buttons via the matrix you're attempting to create with these ICs?

Geoff