Added input manager derivative of RCIX's manager

http://stackoverflow.com/a/948985/947975