I'm coding in C++ on Linux (Ubuntu 12.04 specifically) and would like to use the PlayStation SixAxis controller (the type that comes with the PS3) as an input device, ideally over bluetooth.
My application will be running headless. There's no window manager running on the target platform. The target is a small robot that's running Ubuntu Server 12.04, though I'm developing on a desktop.
Are there any libraries or techniques for this that I could use?