• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/IOHIDFamily-606.1.7/IOHIDSystem/

Lines Matching defs:events

171 // RY: Consume any keyboard events that come in before the
295 static void CalculateEventCountsForAllServices(OSArray *events)
297 if ( events )
299 int count = events->getCount();
306 if ( (data = (OSData *)events->getObject(i) ) &&
316 static SInt32 GetCachedMouseButtonStates(OSArray *events)
324 if ( events )
326 count = events->getCount();
330 if ( (data = (OSData *)events->getObject(i)) &&
342 static void ClearCachedMouseButtonStates(OSArray *events)
349 if ( events )
351 count = events->getCount();
355 if ( (data = (OSData *)events->getObject(i)) &&
366 static CachedMouseEventStruct * GetCachedMouseEventForService(OSArray *events, OSObject *service, UInt32 * index = 0)
373 if ( events )
375 count = events->getCount();
379 if ( (data = (OSData *)events->getObject(i)) &&
393 static void AppendNewCachedMouseEventForService(OSArray *events, OSObject *service)
402 events->setObject(data);
404 CalculateEventCountsForAllServices(events);
408 static void RemoveCachedMouseEventForService(OSArray *events, OSObject *service)
412 if ( events && GetCachedMouseEventForService(events, service, &index) )
414 events->removeObject(index);
416 CalculateEventCountsForAllServices(events);
473 // events, CG infers that this event comes from the default keyboard,
1041 // Reset all flags. Flag key release events may not get delivered as they
2142 // Initialize the events available message.
2203 // Initialize the events available message.
2311 // This routine actually places events in the event queue which is in
2327 // the events in order.
2352 /* Some events affect screen dimming (idle time) */
2367 /* coalesce events */
2500 * there are now events available for consumption.
2706 // no periodic events. cancel any pending periodic timer.
2728 // Periodic events are driven from this method.
2802 // At this point, the WindowServer is up, running, and ready to process events.
3159 // This is needed for absolute pointer events that come from devices with different bounds.
3217 // We take the state as presented and turn it into events.
3566 // mouse and mouseMove of NXEventData. Pending tablet events are stored
3614 // applications that make use of the tablet events
4260 // Don't dispatch an event if they can be embedded in pointing events
4551 * from generating lots of spurious events both on wake from sleep and
4604 * wake the displays. Key up events are also consumed on the rare chance
4788 /* Key up events shouldn't tickle when display is off */
4861 // The Key release events may not get delivered
5023 // note, we dont want to do this for events of type NX_SYSDEFINED
5131 // Update the button state. Generate button events as needed
5263 // mouse moved/dragged events are generated using the given event mask,
5285 // mouse motion events.
5519 /* See if anybody wants the mouse moved or dragged events */
5520 // Note: extPostEvent clears evg->movedMask as a hack to prevent these events
5955 // mouse moved events if this event is itself a mouse move event
5956 // this will prevent double events