mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-05 16:20:22 +01:00
18 lines
529 B
C++
18 lines
529 B
C++
#pragma once
|
|
|
|
#include "Emu/Io/usb_device.h"
|
|
|
|
class usb_device_buzz : public usb_device_emulated
|
|
{
|
|
public:
|
|
usb_device_buzz(u32 first_controller, u32 last_controller, const std::array<u8, 7>& location);
|
|
~usb_device_buzz();
|
|
|
|
void control_transfer(u8 bmRequestType, u8 bRequest, u16 wValue, u16 wIndex, u16 wLength, u32 buf_size, u8* buf, UsbTransfer* transfer) override;
|
|
void interrupt_transfer(u32 buf_size, u8* buf, u32 endpoint, UsbTransfer* transfer) override;
|
|
|
|
private:
|
|
u32 m_first_controller;
|
|
u32 m_last_controller;
|
|
};
|