Initial implementation to query the mouse and keyboard state directly on OSX.
Xcode .gitignore updates.