feat: add opt-in native Nintendo rumble backend
This commit is contained in:
parent
71fcf5bb94
commit
3fc28b1fa4
44 changed files with 4834 additions and 240 deletions
|
|
@ -0,0 +1,17 @@
|
|||
#pragma once
|
||||
|
||||
#include <uni.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
bool uni_hid_parser_switch_native_info(uni_hid_device_t* device, uint8_t* type,
|
||||
uint8_t* firmware_hi, uint8_t* firmware_lo);
|
||||
bool uni_hid_parser_switch_native_acquire(uni_hid_device_t* device);
|
||||
bool uni_hid_parser_switch_native_send(uni_hid_device_t* device,
|
||||
const uint8_t rumble[8]);
|
||||
void uni_hid_parser_switch_native_release(uni_hid_device_t* device);
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue