From: Tom H. <tom...@ad...> - 2007-01-24 00:29:35
|
Lots of folks (including me) have no problem getting their remotes to show nice output from mode2 with unique strings of pulses of various lengths identifying button presses. Yet the config file wants much more arcane information that imposes some sort of "protocol" on the data. Getting from the one to the other seems to involve much cryptic mysticism :-). Is there any reason not to drive button recognition directly off the sort of data that mode2 prints? The different pulses could easily map to an "alphabet", and the buttons to strings in that alphabet. Recognizing fixed constant strings in a stream of data is something computers are pretty good at - there are well known string matching algorithms which are quite efficient. Just curious. |