Prevented duplicate input mappings

Changed the way input definition worked so that if a key was mapped to
one input, then another key mapped over that same input, the mapping for
the old key wouldn't remain.
Probably a good thing.