Actually compare user-defined key presses.