Merge pull request #3113 from lioncash/input InputCommon: Get rid of multiple identical define macros