[Feature request] Input mapper macros