zaphod Posted March 12, 2013 Share Posted March 12, 2013 When programming events attached to a 6 button what is the difference between a press and a single tap?Will a press occur whenever the button is pressed even if the press is in the process of doing a double or triple tap? Will a press occur upon a button being pushed and occur before it is released, whereas a tap only occurs once a button is pressed and then released?Is there a time limit that determines a tap? For example if you hold down a button for several seconds does this mean that it is not a tap?Similarly how long do you have to complete a double tap or triple tap? Link to comment Share on other sites More sharing options...
alanchow Posted March 12, 2013 Share Posted March 12, 2013 single tap only executes single tap eventpress executes press, single, double & triple tap eventspress (from my experience) executes the event quicker then single tap. Link to comment Share on other sites More sharing options...
zaphod Posted March 12, 2013 Author Share Posted March 12, 2013 That makes sense that single tap executes quicker as I guess that the system has to wait to determine that you have single tapped rather than double or triple tapped. Link to comment Share on other sites More sharing options...
CFUG Posted March 12, 2013 Share Posted March 12, 2013 ^Single tap is NOT quicker. Release, in my project, is the quickest but that's probably due to the fact that I do not use press Link to comment Share on other sites More sharing options...
turls Posted March 12, 2013 Share Posted March 12, 2013 I guess there is some lack of agreement on this. Glad to know before I make a bunch of wholesale changes one way or another, I guess I will need to test:http://www.c4forums.com/viewtopic.php?id=10743 Link to comment Share on other sites More sharing options...
cdnDesigner Posted March 12, 2013 Share Posted March 12, 2013 In our devices, and I’m guessing most others are similar, there is a bit of lag with the tap count because we have to wait to see if there are more taps coming. Don’t want to report a double tap when someone is in the middle of a triple tap.Press and release are each reported immediately on each press and each release. They’re a bit quicker than tap commands but get triggered on every press and release so if you program with tap counts as well as press and release then you’re going to be triggering your press and release events multiple times during your multiple tap.For example, events will be triggered in this order:1 press Press Release Short delay If no more presses then Single Tap2 presses in a row Press Release Press Release Short delay If no more presses then Double Tap3 presses in a row Press Release Press Release Press Release Short delay If no more presses then Triple Tap4 presses in a row Press Release Press Release Press Release Press Release Link to comment Share on other sites More sharing options...
CFUG Posted March 12, 2013 Share Posted March 12, 2013 I guess there is some lack of agreement on this. Glad to know before I make a bunch of wholesale changes one way or another, I guess I will need to test:http://www.c4forums.com/viewtopic.php?id=10743I don't see any disagreement- use press or release if speed is your bag. Link to comment Share on other sites More sharing options...
ILoveC4 Posted March 12, 2013 Share Posted March 12, 2013 I guess there is some lack of agreement on this. Glad to know before I make a bunch of wholesale changes one way or another' date=' I guess I will need to test:http://www.c4forums.com/viewtopic.php?id=10743[/quote']I don't see any disagreement- use press or release if speed is your bag.Agreed. The only problem is it makes double taps impossible. Link to comment Share on other sites More sharing options...
CFUG Posted March 12, 2013 Share Posted March 12, 2013 ^Yep Link to comment Share on other sites More sharing options...
RyanE Posted March 12, 2013 Share Posted March 12, 2013 Agreed. The only problem is it makes double taps impossible.No, you can use Press and Release and still implement double taps, you just have to do it yourself.Typically, though, it's better to use the buttons' built-in double tap if you want it, since timing on ZigBee messages *can* be (anywhere from mildly to wildly) variable.RyanE Link to comment Share on other sites More sharing options...
CFUG Posted March 12, 2013 Share Posted March 12, 2013 ^I think we were both thinking of designed-in capability. DIY probably would lead to some level of frustration for the user but I've not seen much waver in performance with the home-spun taps. Link to comment Share on other sites More sharing options...
RyanE Posted March 12, 2013 Share Posted March 12, 2013 Mine seem to work fairly well, as well, but there is less possibility for issues if the device itself is counting / timing the taps.RyanE Link to comment Share on other sites More sharing options...
zaphod Posted March 13, 2013 Author Share Posted March 13, 2013 Is this type of info in the C4 documentation anywhere? I couldn't seem to find it in the 2.3.0-ComposerHE-UserGuide.pdf file. Is that the place I should be looking? Link to comment Share on other sites More sharing options...
Godzilla Posted March 13, 2013 Share Posted March 13, 2013 i also do alot upon release.............but for the keypads that have multiple taps i dont notice much of a diff in speed from final selection Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.