ble nano hid over gatt

Dependencies:   BLE_API mbed-dev nRF51822

Revision:
86:e0fab77e669d
Parent:
85:e526a89a0674
diff -r e526a89a0674 -r e0fab77e669d HIDController_BLE.cpp
--- a/HIDController_BLE.cpp	Thu Sep 15 08:48:57 2016 +0900
+++ b/HIDController_BLE.cpp	Thu Sep 15 09:31:05 2016 +0900
@@ -350,6 +350,18 @@
 	}
 }
 
+void HIDController::pressConsumerKey(const uint16_t key) {
+	if (keyboardService) {
+		keyboardService->pressConsumerKey(key);
+	}
+}
+
+void HIDController::releaseConsumerKey() {
+	if (keyboardService) {
+		keyboardService->releaseConsumerKey();
+	}
+}
+
 void HIDController::queueCurrentReportData() {
 	if (!connected()) return;
 	if (keyboardService) {