mirror of
https://github.com/Lorenzooone/cc3dsfs.git
synced 2025-06-19 00:55:38 -04:00
15 lines
367 B
C++
15 lines
367 B
C++
#ifndef __USB_GENERIC_HPP
|
|
#define __USB_GENERIC_HPP
|
|
|
|
#if defined(USE_IS_NITRO_USB) || defined(USE_DS_3DS_USB)
|
|
#include <libusb.h>
|
|
libusb_context* get_usb_ctx();
|
|
#endif
|
|
|
|
void usb_init();
|
|
void usb_close();
|
|
bool usb_is_initialized();
|
|
int get_usb_total_filtered_devices(const uint16_t valid_vids[], size_t num_vids, const uint16_t valid_pids[], size_t num_pids);
|
|
|
|
#endif
|