Fixed input bug on 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.