www.osxbook.com/blog talks about how to tag an existing HID device (a keyboard or a mouse, say) so that it can be considered as a remote control by the system...