Using the Button input device

Related post: Hardware Button multiple points