on arm devices this notification comes in native format, not in what palmos developer would expect. so you have to compare with ByteSwap16(penDownEvent)
Luc Le Blanc wrote: > I'm trying to catch penDownEvents using the sysNotifyEventDequeuedEvent > notification to restore screen brightness. > > My proc does get called, but the test below never passes. > I tried using normal priority as well as 0, to no avail. > What can be wrong? > > if ( ( ( EventType * ) ( notifyParamsP->notifyDetailsP ) )->eType == > penDownEvent ) > DimScreen( false ); > > > Luc Le Blanc > -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/