Input library for Cocoa