Welcome to MSDN Blogs Sign in | Join | Help

First XNA Application - 360 Controller Test

I finished my first XNA application tonight at 1 minute before midnight on the launch day. This is an application that I wrote before using MDX 2.0 and Winforms (See the old article for the features) .

I was able to convert the entire app in about 5 hours without using the documentation. This application is a simple test harness that shows you how to use the XInput API to control the XBOX 360 controller. This new app has all of the features of the old Winforms version, but the implementation is totally different. I will write more over the next few days detailing some key learning's. But I wanted to get the code out to everyone to get you going.

The source code is posted here:

XNA360ControllerTest.zip

Published Thursday, August 31, 2006 12:08 AM by pstubbs

Comments

# 360 Controller Demo

Don't you hate it when you have a little demo that you're thinking of releasing and someone comes around...
Friday, September 01, 2006 12:08 PM by XNA Diaries

# re: First XNA Application - 360 Controller Test

Congrats on the demo ...

Look forward to seeing your next one

Saturday, September 02, 2006 3:51 PM by HappyHowie

# re: First XNA Application - 360 Controller Test

Just hooked myself up with an x360 after learning of the beta release of the XNA express. Never done gaming dev b4. The spacewar game is looking for A B buttons which aren't on my keyboard. Will buying a x360 controller for Windows do it? I saw it for sale on Microsoft.com.
Sunday, September 03, 2006 2:17 PM by Li-fan

# Convert Space Wars Controller to Keyboard

Hi Li-fan,

Yes you should get a controller. It is important to learn how to use the XInput api because when they release the next update of XNA you will be able to run your games on the XBOX 360.
But until you get a controller, XNASpot has an excellent article on how to update the Space Wars game to use the keyboard.

http://www.xnaspot.com/Tutorial_GettingStarted.aspx
Sunday, September 03, 2006 4:01 PM by pstubbs

# Need More

good job, but when will someone provide a walkthrough for us noobs instead of just giving us source code?

;)
Sunday, September 03, 2006 4:18 PM by egg

# Li-Fan

When you edit the code which i assume u did, the b button becomes <space>. try it  :D
Sunday, September 03, 2006 4:21 PM by Egg

# Tutorials needed.

Hi Egg,

Thanks for reading my blog. I intend to write a tutorial based on this blog post but I only had time to get the code written and wanted to get it out to people without waiting for the article.

With that said I totally agree with you as a noob in the game space myself.

in regards to the keybaord mod, you should be able to change the mappings easily to any keys you want.
Sunday, September 03, 2006 4:32 PM by pstubbs

# XNA 360 Controller Test

Paul Stubbs coded this little test application for the XBOX360 controller.&amp;nbsp; It was actually completed...
Wednesday, September 06, 2006 11:09 AM by XBOX 360 Homebrew

# XNA - Game Programming for Xbox 360 and Windows

Have you downloaded the new XNA Studio Express yet? This software allows one to develop game programs...
Wednesday, September 13, 2006 2:38 PM by MSDN Student Flash

# Some interesting XNA Links

I saw that Brian Scarbeau is looking at using XNA for his high school computer science class this year....

# Holiday Gift Guide 2006

Tired of giving socks every year to your favorite engineer or technology elitist? Coding4Fun has come

Thursday, December 07, 2006 12:49 AM by Coding4Fun's WebLog

# re: First XNA Application - 360 Controller Test

Hi Paul, I have ported this application to use the latest XNA release 1 refresh.

You can download it at http://202.173.151.27/xciting it is in the projects section of the website.

Hope this helps.

Tuesday, May 15, 2007 11:20 AM by gcause

# Holiday Gift Guide - 2007 edition

If you're not sure what you need for this holiday season, look no further. After a year of coding and

Wednesday, December 05, 2007 8:29 PM by Coding4Fun

# MSDN Blog Postings &raquo; Holiday Gift Guide - 2007 edition

Wednesday, December 05, 2007 10:41 PM by MSDN Blog Postings » Holiday Gift Guide - 2007 edition
Anonymous comments are disabled
 
Page view tracker