Look around on the web, some folks have
done this with their PCs.
All you really need is an IR reciever on a
PC with a Firecracker transmitter.
The software wouldn't be really hard to do
and there's some stuff out there.
Do a yahoo search on:
PC IR X10 Control