Just a quick post as I see online that many people can't figure out how to get the HTC One Sense TV app to control a PC or Xbox (they are compatible with each other).
Instead of trying some weird, complicated setup, simply select "Cable Box" and select "Microsoft" as the manufacturer. I had it running my Xbox and PC in about twenty seconds.