matrigs Posted December 19, 2006 Report Posted December 19, 2006 okay i'm lost on this case - is it possible to configure buttons the way so that it - pressed once has one function - pressed a second time has another function and pressed a third time jumps back to zero ? Quote
DavidBanner Posted December 19, 2006 Report Posted December 19, 2006 of course, you need to write a function in C to do it...should be very easy Quote
matrigs Posted December 19, 2006 Author Report Posted December 19, 2006 i was afraid you would use that term "write in c"... i guess i will have to learn it if i really want to achieve something... Quote
Jidis Posted December 19, 2006 Report Posted December 19, 2006 Matrigs,Not really an answer, but it's been asked about at least. ;Dhttp://www.midibox.org/forum/index.php?topic=4503.0There's a second post linked in that one too. Never did get to messing with that. I asked about shift (modifier) keys too, and eventually got a sloppy version of that working, but I'm not sure if it was done right. :-\ GeorgeBTW- I'm strictly assembler right now too. Quote
DavidBanner Posted December 19, 2006 Report Posted December 19, 2006 it's really really easy to do in Cusing ifs or a switchfor example:if (buttonPressNumber == 0) { //do whatever here buttonPressNumber++; }if (buttonPressNumber == 1) { //do whatever here buttonPressNumber++; }if (buttonPressNumber == 2) { //do whatever here buttonPressNumber=0; } Quote
DavidBanner Posted December 19, 2006 Report Posted December 19, 2006 i was afraid you would use that term "write in c"... i guess i will have to learn it if i really want to achieve something...basically yes!but, you don't really need to code from scratch, there are so many bits of code about on the site you can cut and paste and edit - much easier and a great way to learn! Quote
DavidBanner Posted December 19, 2006 Report Posted December 19, 2006 BTW- I'm strictly assembler right now too.you are a braver man than I! Quote
Jidis Posted December 20, 2006 Report Posted December 20, 2006 you are a braver man than I! I like to consider myself a hard headed old fool. 8)Assembler just happens to be what I started off with. If all the C wrapper stuff for the MIDIBox was as common then, I'd probably have gotten into that. It was coincidentally around the time I was trying to learn some anyway, but I've forgotten most of it now. ;DGeorgePS- I barely get by with assembler, so throwing something else in the mix probably wouldn't be the best idea right now. Quote
DavidBanner Posted December 20, 2006 Report Posted December 20, 2006 whatever works for you!Good luck with the assembler mission.Let me know if I can help with any logic stuff, I'm sure there are lots of ppl on here who can guide you through the asm minefield.... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.