mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-06-02 12:45:14 -06:00
Fix USIO log spam
This commit is contained in:
parent
d7da6a713b
commit
73c8c270a6
@ -194,7 +194,7 @@ void usb_device_passthrough::interrupt_transfer(u32 buf_size, u8* buf, u32 endpo
|
||||
const UsbDeviceEndpoint* ep_desc = find_endpoint(static_cast<u8>(endpoint));
|
||||
const bool is_bulk = ep_desc && (ep_desc->bmAttributes & LIBUSB_TRANSFER_TYPE_MASK) == LIBUSB_TRANSFER_TYPE_BULK;
|
||||
|
||||
sys_usbd.notice("USIO debug: submitting passthrough transfer endpoint=0x%x dir=%s size=0x%x type=%s",
|
||||
sys_usbd.trace("USIO debug: submitting passthrough transfer endpoint=0x%x dir=%s size=0x%x type=%s",
|
||||
endpoint, (endpoint & LIBUSB_ENDPOINT_IN) ? "IN" : "OUT", buf_size, is_bulk ? "bulk" : "interrupt");
|
||||
|
||||
if (is_bulk)
|
||||
|
||||
@ -901,7 +901,7 @@ std::string keyboard_pad_handler::GetKeyName(const QKeyEvent* keyEvent, bool wit
|
||||
return QKeySequence(keyEvent->key()).toString(QKeySequence::NativeText).toStdString();
|
||||
}
|
||||
|
||||
std::string keyboard_pad_handler::GetKeyName(const u32& keyCode)
|
||||
std::string keyboard_pad_handler::GetKeyName(u32 keyCode)
|
||||
{
|
||||
return QKeySequence(keyCode).toString(QKeySequence::NativeText).toStdString();
|
||||
}
|
||||
|
||||
@ -93,7 +93,7 @@ public:
|
||||
static std::string GetMouseName(u32 button);
|
||||
static QStringList GetKeyNames(const QKeyEvent* keyEvent);
|
||||
static std::string GetKeyName(const QKeyEvent* keyEvent, bool with_modifiers);
|
||||
static std::string GetKeyName(const u32& keyCode);
|
||||
static std::string GetKeyName(u32 keyCode);
|
||||
static std::vector<std::set<u32>> GetKeyCombos(const std::string& cfg_string);
|
||||
static u32 GetKeyCode(const QString& keyName);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user