IOHIDSystem.h Question In Leopard
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=yVfXb6SCQPnmHlOhDHxFaRovtb758AFW4JxzYwZlvZsMaO0HuK9l2HW//ZC7x5Gzhqhkm4pZ8uniLjJhQ6z2R1ZC3pPz749V0iQOpKyzhseWWupKnrtzC9rc4W92rS9K9KevGOmPOAeP1ko9yzuYygnvIMR8ae6FVeUC3nygVOs=; 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Thorrin