mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-22 21:02:39 +02:00
btdrv: add ext events moved to BtdrvEventInfo in 12.0.0
(cherry picked from commit f653a5196aa9c8f96686667e9bcdae1245fca1ab)
This commit is contained in:
parent
1c6a0ea488
commit
375b9b16c5
@ -105,6 +105,35 @@ typedef struct {
|
|||||||
};
|
};
|
||||||
} connection; ///< ::BtdrvEventType_Connection
|
} connection; ///< ::BtdrvEventType_Connection
|
||||||
|
|
||||||
|
struct {
|
||||||
|
BtdrvAddress addr; ///< Device address.
|
||||||
|
u8 status; ///< Status flag: 1 = success, 0 = failure.
|
||||||
|
u8 value; ///< Tsi value, when the above indicates success.
|
||||||
|
} tsi; ///< ::BtdrvEventType_Tsi
|
||||||
|
|
||||||
|
struct {
|
||||||
|
BtdrvAddress addr; ///< Device address.
|
||||||
|
u8 status; ///< Status flag: 1 = success, 0 = failure.
|
||||||
|
u8 value; ///< Input bool value from \ref btdrvEnableBurstMode, when the above indicates success.
|
||||||
|
} burst_mode; ///< ::BtdrvEventType_BurstMode
|
||||||
|
|
||||||
|
struct {
|
||||||
|
BtdrvAddress addr; ///< Device address.
|
||||||
|
u8 status; ///< Status flag: 1 = success, 0 = failure.
|
||||||
|
u8 flag; ///< Bool flag, when the above indicates success.
|
||||||
|
} set_zero_retransmission; ///< ::BtdrvEventType_SetZeroRetransmission
|
||||||
|
|
||||||
|
struct {
|
||||||
|
u8 status; ///< Status flag: 1 = success, 0 = failure.
|
||||||
|
u8 pad[0x3]; ///< Padding
|
||||||
|
u32 count; ///< Count value.
|
||||||
|
} pending_connections; ///< ::BtdrvEventType_PendingConnections
|
||||||
|
|
||||||
|
struct {
|
||||||
|
BtdrvAddress addr; ///< Device address.
|
||||||
|
u8 status; ///< Status flag: 1 = success, 0 = failure.
|
||||||
|
} move_to_secondary_piconet; ///< ::BtdrvEventType_MoveToSecondaryPiconet
|
||||||
|
|
||||||
struct {
|
struct {
|
||||||
u16 reason; ///< \ref BtdrvFatalReason
|
u16 reason; ///< \ref BtdrvFatalReason
|
||||||
} bluetooth_crash; ///< ::BtdrvEventType_BluetoothCrash
|
} bluetooth_crash; ///< ::BtdrvEventType_BluetoothCrash
|
||||||
|
Loading…
Reference in New Issue
Block a user