summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/AsyncRequests.cpp
diff options
context:
space:
mode:
authorJulian Löhr <julian.loehr@outlook.com>2015-12-06 17:59:14 +0100
committerJulian Löhr <julian.loehr@outlook.com>2015-12-06 20:17:58 +0100
commite076098a951401a63a229317485429e8d9fe6128 (patch)
treed05fdc96f48559830c7d7f2718635335d8951b15 /Source/Core/VideoCommon/AsyncRequests.cpp
parent03fc048006acc221eb882bf9fd9a7f5cfda7f98a (diff)
Fix "-TR" Wiimotes on Windows 8/8.1/10, by using WriteFile for sending
"-TR" Wiimotes don't accept output reports via the Control Channel. HidP_SetOutputReports will send the data via the Control Channel, whereas WriteFile will send it via the Interrupt Channel. Therefore using WriteFile enables "-TR" Wiimotes on Windows. There are some issues to be aware of. First the Toshiba Bluetooth Stack needs the output report buffer to have the size of the largest output report supported by the device. This requirement is also enforced by the Windows 7 default stack. However the Toshiba Stack, will only send the actual report bytes to the device, whereas on Windows 7 the full resized buffer is sent, resulting in an error on the Wiimote. This issue renders WriteFile unusable on Windows 7 with the default stack. On Windows 8/8.1/10 this requirement is somehow not implemented and it is possible to send smaller buffers via WriteFile to the device, enabling "-TR" Wiimotes.
Diffstat (limited to 'Source/Core/VideoCommon/AsyncRequests.cpp')
0 files changed, 0 insertions, 0 deletions