Thanks for the response.  I don't think I really need to the id of the
device.  I really just want to know which hardkeys are present, though this
may be what you're saying.  If there's a way to query whether, say,
'hard2Chr' is present, that would suffice.

Rich

> We've discussed this before but come to the concluson that there's no
other way
> to see HAL/DEVICE/OEM id.
>
> regards
>
> Richard Coutts wrote:
>
> > My app remaps the 6 hardkeys of the device (or four if the navigator's
> > present).  I completely spaced an the 4-hardkey configuration of the
Zire
> > and just got a question from a user regarding it.
> >
> > To detect whether the Navigator is present, I'm currently doing this
> >
> >    if (errNone == FtrGet(navFtrCreator, navFtrVersion, &version))
> >    {
> >         // Navigator present
> >     } else {
> >         // Assume 6 hardkeys
> >     }
> >
> > Is there a generic way to detect if only four hardkeys are present?  I
see
> > at
> >
> > http://www.mobilegeographics.com/dev/devices.php
> >
> > You can detect the make and model of the device, which would work for
the
> > Zire, but it would be a bit nicer if you could detect the generic
situation.
> >
> > Thanks!
> > Rich
> >
> >
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to