HID-over-GATT implementation with the BLE API. This library allows to create devices such as mouse, keyboard or joystick, over Bluetooth Low Energy.

Dependents:   Seeed_Tiny_BLE_FTHR_Peripheral

Fork of BLE_HID by Jean-Philippe Brucker

Files at this revision

API Documentation at this revision

Comitter:
bowenfeng
Date:
Mon Jun 12 04:07:24 2017 +0000
Parent:
3:4f8429a1905b
Commit message:
Use TinyBLE as Joystick.

Changed in this revision

JoystickService.h Show annotated file Show diff for this revision Revisions of this file
diff -r 4f8429a1905b -r 24365c168c4e JoystickService.h
--- a/JoystickService.h	Thu Nov 19 15:00:39 2015 +0000
+++ b/JoystickService.h	Mon Jun 12 04:07:24 2017 +0000
@@ -115,6 +115,7 @@
         report[3] = speed[2];
         report[4] = speed[3];
 
+//        printf("Send report %d %d %d %d %d", report[0], report[1], report[2], report[3], report[4]);
         if (send(report))
             failedReports++;
     }