Bugfix for custom input mappings: buttons would register as always being pressed.