1) The only way to add a setup code is using the 6 pin JP1 connector with an interface cable.
2) The 15-1994 has 1K of learning memory, so it can probably learn about 20 or so Tivo functions. You can learn these to any device and most buttons.
Learning Instructions