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.