Simple, remappable, macro-based input handling