In general, you shouldn't ever say "Am I on a Palm V device" or whatever.
You should be asking the question "does this have a software contrast
control button". That way you're not limiting yourself to only working
correctly on current products.
That said, I don't know how the official way to detect if you've got
software contrast control or not. I'll have the docs folks check into this.
If you want to know what kind of processor is there, use the
sysFtrNumProcessorID feature. From the 3.1 includes, and apologies for the
word wrapping:
#define sysFtrNumProcessorID 2 // 0xMMMMRRRR, where MMMM is the processor
model and RRRR is the revision.
#define sysFtrNumProcessorMask 0xFFFF0000 // Mask to obtain processor model
#define sysFtrNumProcessor328 0x00010000 // Motorola 68328 (Dragonball)
#define sysFtrNumProcessorEZ 0x00020000 // Motorola 68EZ328 (Dragonball EZ)
#define sysFtrNumProductID sysFtrNumProcessorID // old (obsolete) define
-David Fedor
Palm Developer Support