Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IOHIDSystem.h Question In Leopard



Greetings,

I am trying to port some code from a 10.4 system to a
10.5 system.
In the old version of the code, we are including:

<IOKit/hidsystem/IOHIDSystem.h>

everything is grand there.  Moving the code over to
the new environment, the above line generates errors. 
(IOHIDEvent.h not found, IOHIDEvent not declared). I
took a look in IOHIDSystem.h and it
is trying to include:

<IOKit/hid/IOHIDEvent.h>

the problem is that this file doesn't exist anywhere
in the Kernel.framework!  Scrolling down inside
IOHIDSystem.h, there is a function called
dispatchEvent that tries to accept a parameter of
IOHIDEvent.  This, of course explains the errors, but
what to do from here?  

Commenting out the line to include IOHIDEvent.h and
the declaration of dispatchEvent fixes the compile
problems, but surely breaks stuff somewhere else.  I
dont want to go around mucking around with system
bundles in that fashion anyway.

Any ideas as to what to do next?  

-Thorrin

"Everyone is allergic to giant rocks hitting them in the head!"
-Thorrin's elf chick after casting a 'meteor swarm' spell ;)

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-kernel/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.