2020-08-25 21:23:38 +02:00
|
|
|
/*
|
2023-02-23 21:57:56 +01:00
|
|
|
* Copyright (c) 2020-2023 ndeadly
|
2020-08-25 21:23:38 +02:00
|
|
|
*
|
2020-08-27 00:50:34 +02:00
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms and conditions of the GNU General Public License,
|
|
|
|
* version 2, as published by the Free Software Foundation.
|
2020-08-25 21:23:38 +02:00
|
|
|
*
|
2020-08-27 00:50:34 +02:00
|
|
|
* This program is distributed in the hope it will be useful, but WITHOUT
|
|
|
|
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
|
|
|
* more details.
|
2020-08-25 21:23:38 +02:00
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
2020-05-11 22:30:08 +02:00
|
|
|
#pragma once
|
|
|
|
#include <switch.h>
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
2020-06-15 11:05:41 +02:00
|
|
|
Result btdrvInitializeBluetoothFwd(Service* srv, Handle *out_handle);
|
2021-02-21 00:16:23 +01:00
|
|
|
Result btdrvEnableBluetoothFwd(Service* srv);
|
2020-06-15 11:05:41 +02:00
|
|
|
Result btdrvInitializeHidFwd(Service* srv, Handle *out_handle, u16 version);
|
2023-02-15 21:12:56 +01:00
|
|
|
Result btdrvWriteHidDataFwd(Service* srv, const BtdrvAddress *address, const BtdrvHidReport *report);
|
|
|
|
Result btdrvWriteHidData2Fwd(Service* srv, const BtdrvAddress *address, const void *data, size_t size);
|
2020-06-15 11:05:41 +02:00
|
|
|
Result btdrvRegisterHidReportEventFwd(Service* srv, Handle *out_handle);
|
|
|
|
Result btdrvGetHidReportEventInfoFwd(Service* srv, Handle *out_handle);
|
|
|
|
Result btdrvInitializeBleFwd(Service* srv, Handle *out_handle);
|
2020-05-11 22:30:08 +02:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
2020-05-22 12:29:36 +02:00
|
|
|
#endif
|