Code and comprehensive explanations of game controller I/O on PC
C# wrapper library for Raw Input
A virtual trackball for Windows, via vim-like homerow controls.
Smooth inertial scrolling with any regular mouse.