Website may be up and down over next few months. I'm currently doing a complete overhaul of everything. Going back to simple individual .htm pages, new overall site theme, sanitizing and cleaning up html of all pages and blog posts, attempting to implement a new tooling and publishing system etc etc.


The CBXInput4XNA library is a easy to use user input library that provides an easier to way to aquire user input.

Below lists the current status of the various features that are either currently working or on the drawing table. For the most recent source updates see the codeplex site where the most up to date CBXInput4XNA code base is kept.

Working features

  1. Can get and set button states for keyboard, mouse and gamepad.
  2. Uses interfaces.
  3. Stores the previous state of the input devices as well as the current state.
  4. Comes with a ready made GameComponent for ease of use.
  5. Code contains conditional compilation so compiling under xbox360 is easier.

Features on the drawing table and issues to be fixed

  1. Need to add or change the way the developer access game pad info. It currently requires too much coding. 
  2. Consider Specifying a flag that controls what devices are updated. Currently all devices Mouse,KB and gamepad states are captured.


  • Release 2 zip
    Contains the code for CBXInput4XNA Release 2 as well as one example project. This release contains less code that is more optimized as well as some other minor changes.
  • (48.72 kb)
    Contains the code for CBXInput4XNA Release 1 as well as one example project.


Creative Commons License
This work by Dean Lunz is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 2.5 Canada License. Permissions beyond the scope of this license may be available at

Created by: X

Just another personal website in this crazy online world

Name of author Dean Lunz (aka Created by: X)
Computer programming nerd, and tech geek.
About Me -- Resume