Need help with some logic in my sketch.

So, you want to count button presses, and set some booleans to true or false as the count changes. Easy enough. How is the "button" connected to the Arduino?