The GPIO Event specifies the action that occurs when a specific GPIO button is pressed or input is received.
Each event is described by :
- The number of the GPIO button or port. These numbers also correspond to the 8 bi-directional pins on the GPIO connector.
- The trigger event on button: specify whether the event should trigger when the button is depressed (Down) or when it is released (Up).