Hiroh Satoh / keyboard Featured

Dependencies:   BLE_API mbed-dev nRF51822

HIDController_BLE.h

Committer:
cho45
Date:
2016-08-24
Revision:
29:ec548c473d50
Parent:
28:1f843a3daab0
Child:
32:6c0f43fda460

File content as of revision 29:ec548c473d50:


#ifndef __HIDController_H__
#define __HIDController_H__

enum Status_t {
	DISCONNECTED,
	CONNECTING,
	CONNECTED,
} ;


class HIDController {
public:
	static void init();
	static void waitForEvent();
	static bool connected();
	static Status_t status();
	static void appendReportData(uint8_t key);
	static void deleteReportData(uint8_t key);
	static void queueCurrentReportData();
};

#endif