I'm a new comer for apple TV hack. I really want to develop something on it. Before going into, I have some questions. Can anyone give me some answer?

1. If OS X is installed, how to connect the remote control to apple tv. In other words, where to install remote control driver?

2. If OS X is installed, how to output A/V stream from apple tv to TV. In other words, where to install A/V output driver?

3. If OS X is installed, how to connect mouse and keyboard to apple tv, can they be recognized by OS automatically?

Best Regards
Leslie