Switch icon indicating copy to clipboard operation
Switch copied to clipboard

Two buttons pressed at the same time

Open Dean-kasail opened this issue 4 years ago • 2 comments

Hi, This is not an issue more of me trying to find out if your library can detect if more than one button is pressed at the same time. For example if I have 2 buttons both can work independently, but if I push and hold both buttons it will call another function other than, pressed or long pressed.

Dean-kasail avatar Aug 05 '20 11:08 Dean-kasail

Hi! You should be able to set a variable when one button is pressed and then check that variable when the other button is pressed to determine if both are pressed.

blackketter avatar Aug 05 '20 21:08 blackketter

I'll give it a go thanks

Dean-kasail avatar Aug 10 '20 10:08 Dean-kasail