Fix for input bug in OSX

This fixes a bug with input on OSX where if you bind a command it will now send the correct value to torque script.
Merge pull request #125 from lilligreen/development

Fix for input bug in OSX