Is there any way to identify the type of keyboard that's being used? I sometimes alternate between a wired keyboard (DasKeyboard) and a wireless Apple extended keyboard. I'd like to have slightly different macros for each, since the F-keys are slightly different on each one.
Hey Sherman,
See this:
I don't think the usb controller code will get you to the BlueTooth keyboard, but this probably will:
ioreg -c IOBluetoothHCIController
From there you should be able to search the text for your keyboard name.
-Chris