Cross-Platforming

Code-wise how simple is it to make a game in XNA that compiles on PC then compile it for 360? And how will devs be able to add or remove features between both WITHOUT needing to recode? are their methods in the framework that will allow me to execute certain code depending on the platform?

ex. Control scheme, obviously I can't play a game that requires a mouse on the 360, and I cant play a game that requires a controller on the PC. Or does XInput have actively configurable schemes availalbe?

[500 byte] By [KevinJacobson] at [2008-2-7]
# 1

"I cant play a game that requires a controller on the PC"

Actually you can. The wired 360 controller works just fine on the PC. I'm in the process of examing XAct and XInput now using the August SDK. I'm not sure how different it'll be from what's released but it can't hurt.

JimPerry at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,XNA Game Studio Express...
# 2
There will be API's that work the same for PC as they will for the Xbox 360. For the very small case of code that doesn't you will be able to have seperate projects that target the different platforms.
MichaelKlucher-MSFT at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,XNA Game Studio Express...
# 3
Probably 95% of our APIs are the same across both platforms. The 5% that aren't are APIs that are usually considered advanced scenarios. I.e. I expect many, if not most, games to be able to share 100% of the code across platforms. You will need to create a project per platform and then add the same code and assets to both. "Porting" a Windows XNA Game to the Xbox 360 should be very easy.
MitchWalker at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,XNA Game Studio Express...
# 4
If this is the case will creating non-full screen games on Windows be different than it is currently with needing a pointer to a window handle for creating the device?
JimPerry at 2007-8-30 > top of Msdn Tech,Game Technologies: DirectX, XNA, XACT, etc.,XNA Game Studio Express...