I have the same setup
I actually have the same setup in my house. It involves a couple of different components but I have everything controlled by the Apple remote. Pressing 'menu' reverts the input source back to the Mac mini and turns the TV on (neither have any effect if the TV is already on and set to the mini). I've added some top level menu items to Front Row for "Wii", "XBox 360" and "Power Off". The first two change the input source on my HDMI switchbox, the last powers off the TV (it remains powered off until someone hits menu).
I used iremoted (
http://osxbook.com/software/iremoted/) to capture the menu keypresses and run a python script that sends the power on command to the TV (mine has an RS-232 port). I used Keyspan USA-19HS serial adapters to control both the TV and the HDMI switchbox. Before I got a RS-232 capable TV I was using an iRed (
http://www.filewell.com/iRed/) to control the TV. If I had to do it again I would probably try to hack something together using the Arduino platform, as I wasn't very happy with the iRed software and I think the hardware could be made much cheaper.
For the new top level menu items I worked off of frontpython (
http://code.google.com/p/frontpython/) to make simple frappliances that switch the input source and route the audio. I am routing all the audio through my Mac mini, so I'm using Audio Hijack Pro (
http://www.rogueamoeba.com/audiohijackpro/) and AppleScript to start and stop routing audio from the game systems. Again, menu brings us back to the main Front Row menu.
I'm using the Monoprice 4x2 True Matrix HDMI switch (
http://www.monoprice.com/products/p...=10110&cs_id=1011002&p_id=5312&seq=1&format=2) for changing the input source. Before I bought this I was just changing the input source on the TV over RS-232, but the switchbox has a couple of nice features. It has a status string it returns over the RS-232 port that tells you what inputs are active and which are available, which I am using to avoid switching a second time if the source is already set to the Mac Mini (my TV always likes to tell me the current resolution when something switches). It also allowed me to run only one HDMI cable to the TV when I moved all my components to the back of the room. To connect the Wii to the switchbox I needed a component to HDMI converter (
http://www.monoprice.com/products/p...=10114&cs_id=1011406&p_id=4631&seq=1&format=2).
In order to use an iPhone or laptop as a secondary controller, I threw together a web interface that runs on the Mac mini that uses PHP to send IR events through IRKeyboardEmu (
http://www.brandon-holland.com/irkeyboardemu.html). Note that this bypasses iremoted, so I do need to deal with menu clicks to turn on the TV and change the input source here as well.
I've been meaning to do a writeup on this and post all my code somewhere, just haven't gotten around to it yet. If somebody here would be interested in doing the same thing that just might be the motivation I need...