I'm often asked this question -

The inputs go into a 4 input multiplex (74HC253) then into an octal buffer (74LVCH245) they have +5V pull-ups.
Inputs are debounced in software onboard the X10i.

62867.pdf

74hc253.pdf