2020-05-11 20:30:08 +00:00
|
|
|
#pragma once
|
|
|
|
#include <switch.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2020-06-15 09:05:41 +00:00
|
|
|
Result btdrvInitializeBluetoothFwd(Service* srv, Handle *out_handle);
|
|
|
|
Result btdrvFinalizeBluetoothFwd(Service* srv);
|
|
|
|
//Result btdrvGetEventInfoFwd(Service* srv, BluetoothEventType *type, u8 *buffer, size_t size);
|
|
|
|
Result btdrvInitializeHidFwd(Service* srv, Handle *out_handle, u16 version);
|
|
|
|
Result btdrvWriteHidDataFwd(Service* srv, const BluetoothAddress *address, const BluetoothHidData *data);
|
2020-06-22 21:14:54 +00:00
|
|
|
Result btdrvSetHidReportFwd(Service* srv, const BluetoothAddress *address, BluetoothHhReportType type, const BluetoothHidData *data);
|
|
|
|
Result btdrvGetHidReportFwd(Service* srv, const BluetoothAddress *address, BluetoothHhReportType type, u8 id);
|
|
|
|
Result btdrvGetPairedDeviceInfoFwd(Service* srv, const BluetoothAddress *address, BluetoothDevicesSettings *device);
|
2020-06-15 09:05:41 +00:00
|
|
|
Result btdrvFinalizeHidFwd(Service* srv);
|
|
|
|
//Result btdrvGetHidEventInfoFwd(Service* srv, HidEventType *type, u8 *buffer, size_t size);
|
|
|
|
Result btdrvRegisterHidReportEventFwd(Service* srv, Handle *out_handle);
|
2020-06-22 21:14:54 +00:00
|
|
|
//Result btdrvGetHidReportEventInfoDeprecatedFwd(Service* srv, HidEventType *type, u8 *buffer, size_t size);
|
2020-06-15 09:05:41 +00:00
|
|
|
Result btdrvGetHidReportEventInfoFwd(Service* srv, Handle *out_handle);
|
|
|
|
Result btdrvInitializeBleFwd(Service* srv, Handle *out_handle);
|
|
|
|
Result btdrvFinalizeBleFwd(Service* srv);
|
|
|
|
//Result btdrvGetBleManagedEventInfoFwd(Service* srv, BleEventType *type, u8 *buffer, u16 length)
|
2020-05-11 20:30:08 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
2020-05-22 10:29:36 +00:00
|
|
|
#endif
|