Wednesday, July 16, 2008

The Joys of DirectInput

Just two things for now:

  1. The changeover to C++ has been a total eye-opener. I did promise that I wasn't going to use any wacko C++ features, but I've already got multiple inheritance in the input subsystem (the DirectInput mouse class inherits from a CDIDevice and a CBasicMouse). The big surprise is how clean the code is.

  2. DirectInput is really rather nice to use under these conditions.

0 comments: