IOHIDSystem.h Question In Leopard
IOHIDSystem.h Question In Leopard
- Subject: IOHIDSystem.h Question In Leopard
- From: Thorrin <email@hidden>
- Date: Wed, 31 Oct 2007 11:02:13 -0700 (PDT)
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:
This email sent to email@hidden