OK then, now we're getting somewhere. Well Mark, if you want to be Mr. Scientist, your next assignment is to find out how many repetitions of the signal are required to convert the NEXT and PREV buttons into FFWD and REWIND buttons, and to convert the PLAY button into a POWER-OFF button. Then maybe I can tweek the protocol that I wrote so that when it's given a certain code, it will make sure that the signal repeats at least that many times, then you could assign such a code to the POWER button, for example, and just a short tap would power the unit off.Mark Pierson wrote:Thanks, Mike! Both these cases are true. Prev and Next do fast scan when held (as documented in the manual), and holding Play turns the iPod off (a quick press of Prev, Next, or Play turns it on).
Also, what does a long hold of PLAY do (if anything)? I'm thinking of trying to create a POWER toggle button, but in order for it to work a long hold of PLAY would have to do nothing. In other words, if the song is already playing, I wouldn't want it to pause, and vice versa.