Simulating resistance for buttons

Yeah, I know that, but I read that I needed something like 9V or above to make sure I always got a consistent 5V from it.
It says it will work up to like 20 volts (input) but that anything over 12 can cause damage, so I used the 7812 to bring it into a safer level.

Jay