2020-06-13 00:08:43 +00:00
|
|
|
#pragma once
|
2020-06-13 17:15:59 +00:00
|
|
|
#include <stratosphere.hpp>
|
2020-06-13 00:08:43 +00:00
|
|
|
|
|
|
|
#include "bluetooth_core_events.hpp"
|
|
|
|
#include "bluetooth_hid_events.hpp"
|
|
|
|
#include "bluetooth_hid_report_events.hpp"
|
|
|
|
#include "bluetooth_ble_events.hpp"
|
2020-06-13 17:15:59 +00:00
|
|
|
|
|
|
|
namespace ams::bluetooth::events {
|
|
|
|
|
|
|
|
enum BtdrvEventType {
|
|
|
|
BtdrvEventType_PscPm,
|
|
|
|
BtdrvEventType_BluetoothCore,
|
|
|
|
BtdrvEventType_BluetoothHid,
|
|
|
|
BtdrvEventType_BluetoothBle,
|
|
|
|
};
|
|
|
|
|
|
|
|
void AttachWaitHolder(BtdrvEventType type);
|
|
|
|
Result InitializeSystemEvents(void);
|
|
|
|
Result StartEventHandlerThread(void);
|
|
|
|
|
|
|
|
}
|