ILoveC4 Posted January 21, 2010 Share Posted January 21, 2010 http://www.c4diy.com/how-do-i-implement-a-multi-tap/ Link to comment Share on other sites More sharing options...
akg4y Posted February 5, 2010 Share Posted February 5, 2010 One note on this... since I use lots of multitaps around my house for lighting, and the odds of multiple multitaps occurring at the same time are slim to none (since only my wife and I know about them), I have it programmed so there is a general multi-tap variable for the house, and a separate multitap variable for AV controls, rather than one variable for each button. I then program it so that on press it increments the variable + 1.On release it executes the programming after a 2 second delay based on the number of taps, then resets the variable. Link to comment Share on other sites More sharing options...
ILoveC4 Posted February 5, 2010 Author Share Posted February 5, 2010 One note on this... since I use lots of multitaps around my house for lighting, and the odds of multiple multitaps occurring at the same time are slim to none (since only my wife and I know about them), I have it programmed so there is a general multi-tap variable for the house, and a separate multitap variable for AV controls, rather than one variable for each button. I then program it so that on press it increments the variable + 1.On release it executes the programming after a 2 second delay based on the number of taps, then resets the variable.That will work with the one flaw that you already pointed out. If you attempt to do two and the same time you will have problems.So long as you are okay with that limitation you shouldn't have any problems doing it that way. Link to comment Share on other sites More sharing options...
tigrzeye Posted February 5, 2010 Share Posted February 5, 2010 One note on this... since I use lots of multitaps around my house for lighting, and the odds of multiple multitaps occurring at the same time are slim to none (since only my wife and I know about them), I have it programmed so there is a general multi-tap variable for the house, and a separate multitap variable for AV controls, rather than one variable for each button. I then program it so that on press it increments the variable + 1.On release it executes the programming after a 2 second delay based on the number of taps, then resets the variable.This is how they taught us at Tech I as well. Link to comment Share on other sites More sharing options...
poucedeleon Posted July 11, 2010 Share Posted July 11, 2010 I have been following your tutorial on programming a multi-tap, but when I get to the point where I am adding actions that I want to fire upon the multi-tap, The line of code does not indent. I highlight the "If Variable-> Foyer Multi-Tap EQUALS TO 2" before double clicking on the line in the Main Action tab. Not sure what I am doing wrong.I am running 1.7.4.36 Link to comment Share on other sites More sharing options...
NkySpike65 Posted July 11, 2010 Share Posted July 11, 2010 Wish I could help, but post a "screen shot" on how you set it up... Then you'll get a quicker response...Good luck. Link to comment Share on other sites More sharing options...
pharmdsmith Posted July 11, 2010 Share Posted July 11, 2010 You don't double click on the line of code if you want to indent. You want to left click it with the mouse and drag it right on top of the ? In the conditional statement already in the middle. That will make the new line of code indent underneath the conditional. Link to comment Share on other sites More sharing options...
ILoveC4 Posted July 11, 2010 Author Share Posted July 11, 2010 pharmdsmith is correct. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.