If you post the code, I'll be happy to verify it and check it in, since I actually have this camera.
Wiil do - thanks. Haven't looked at the dev trunk version yet but I think I remember how to do that too
Note that in doing this change on an old platform, I simply sucked the common generic/kbd.c code into the platform/a540 kbd.c code, made the necessary changes and removed the #include "../generic/kbd.c" in the platform/kbd.c.
Which of coarse led to a little investigation and the discovery that there are about 12 other older cameras still using that old generic/kbd.c code. So why stop at the A540 ? (Besides the fact that the old code it touchy and the choice of buttons available may or may not change .... not much).
So do we make the changes for all those old cams or just do it on a case by case as requested basis ?
Update : I think what I was really asking is do "we" change the code in generic/kbd.c for all the old cams or suck the code into each port when requested to do so ?