First off.. Welcome to the forum..
..
That was a really crappy way to do that!!...
Well.. I can't really help you, but I can give you a tip at what direction you are going... But I honestly don't think this plugin will be very good...
... sorry to tell you... Good idea, but I don't think it'll be good...
First, you need to be sure that EACH keypad has it's own Tone.... I suppose they already are since you asked this question, I at least hope you will have a decent thinking strategy that this will of course not work if the Tones are not different from eachother....
Then secondly, you(or the programmer going to help you) might need to find some source code for some Sound Comparions program, or the programmer needs to already have some knowledge in this area(By the way, this is probably not going to be the easiest part...
)...
Third, then you need to record all the different Tone's onto your computer, and you will have to make sure that the Program can distinguse one tone from another.. This is the part where I doubt this will work... Beacuse as for most phones, and properly also yours, there is so litle difference in the tones that a simple computer program will have very difficult to disginuse one from another... You would probably have to use some very advanced code/techonolgy that you probably would have to pay lots of $$$$ for...
Fourth, when all this has been set straight, and the program is stable enough of recognising the different keypresses you would need to build a system that is capable of handling the desired combination you want... This is probably not a big deal, but will still be a fair deal of work...
Fifth, then when all these factors and bits have been collected you can start putting everything into one plugin... And finalize it...
Conclusion:
All in all, it would (Probably) be possible, but lots of work needs to put into this, and the Outcome will most likely not compare to the hard work to create this plugin.... And the method of making it recognise from Tones is not a good idea to program, good thinking though, but not worth programming... Besides? What would you want a plugin like this for?.. Wouldn't it be 1000 times easier to just use the keyboard as normal? instead of using a phone... You will anyways have to be near your computer in order for the microphone to hear the Tones good... So, I can't see much use of this plugin....
Hope this enough info for you?... If you still want to continue you are more than welcome to see if someone wants to help...
... I'd give it a try when it is finished, but would probably not use it much...
...
Good luck, and hope you enjoy your stay here the forum...