Add the vchrPowerOff keyDownEvent to the queue
/***********************************************************************************/
static void Uti_PowerOff(void)
{
EventType event;
MemSet(&event,sizeof(event),0);
event.eType = keyDownEvent;
event.data.keyDown.chr = vchrPowerOff; event.data.keyDown.keyCode = 0;
event.data.keyDown.modifiers = commandKeyMask;
EvtAddEventToQueue(&event);
}
Monday, August 20, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment