For correct operation, it is required that the button, when pressed, should send 1, and when released, 0 This kind of configuration can be used for double, triple clicks and dimming