Re: Trapping bluetooth keyboard events
Re: Trapping bluetooth keyboard events
- Subject: Re: Trapping bluetooth keyboard events
- From: Garth Cummings <email@hidden>
- Date: Mon, 11 Aug 2003 10:30:39 -0700
Hi Eliot,
On Saturday, August 9, 2003, at 08:26 AM, Eliot Simcoe wrote:
Greetings all!
I just bought the Microsoft Bluetooth keyboard and mouse, and I would
like to use the "special" keys on the top of it (those for iTunes
control and Mail/Web/Home/Messenget(iChat)). I read a post that said
these events are passed on to but not used by the system. Is there
some way to trap these events?
Yes.
WIll I need to go to the kernel level?
No.
I figure there's got to be some way to do it.
Thanks for any advice information you can provide.
-- EliotSimcoe
There are a couple of ways to go from an application. One is to use the
HID Manager:
<
http://developer.apple.com/documentation/DeviceDrivers/Conceptual/HID/
index.html>
<
http://developer.apple.com/samplecode/Sample_Code/
Devices_and_Hardware/HID_Manager.htm>
Another is to use the Carbon "hot-key" API:
<
http://developer.apple.com/documentation/Carbon/Reference/
Carbon_Event_Manager_Ref/CarbonEventsRef/function_group_1.html#//
apple_ref/c/func/RegisterEventHotKey>
Good luck,
--gc
_______________________________________________
bluetooth-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/bluetooth-dev
Do not post admin requests to the list. They will be ignored.