USBDevice

Fork of USBDevice by mbed official

Files at this revision

API Documentation at this revision

Comitter:
DanBUK
Date:
Fri Apr 05 07:09:26 2013 +0000
Parent:
8:335f2506f422
Commit message:
Making this look like an Apple USB keyboard, saves identification...

Changed in this revision

USBHID/USBKeyboard.h Show annotated file Show diff for this revision Revisions of this file
diff -r 335f2506f422 -r 378e9df8157a USBHID/USBKeyboard.h
--- a/USBHID/USBKeyboard.h	Fri Mar 01 13:10:29 2013 +0000
+++ b/USBHID/USBKeyboard.h	Fri Apr 05 07:09:26 2013 +0000
@@ -102,7 +102,7 @@
     * @param product_release Your preoduct_release (default: 0x0001)
     *
     */
-    USBKeyboard(uint16_t vendor_id = 0x1235, uint16_t product_id = 0x0050, uint16_t product_release = 0x0001):
+    USBKeyboard(uint16_t vendor_id = 0x05ac, uint16_t product_id = 0x021e, uint16_t product_release = 0x0001):
             USBHID(0, 0, vendor_id, product_id, product_release, false) {
         lock_status = 0;
         connect();