<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dolphin/Externals/hidapi/mac/hid.c, branch master</title>
<subtitle>GameCube and Wii emulator</subtitle>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/'/>
<entry>
<title>Externals/hidapi: Convert to submodule</title>
<updated>2024-01-30T00:35:39+00:00</updated>
<author>
<name>Martino Fontana</name>
<email>tinozzo123@gmail.com</email>
</author>
<published>2024-01-29T19:12:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=12fe5550d2c8ff8df30d13b574ec75334517c957'/>
<id>12fe5550d2c8ff8df30d13b574ec75334517c957</id>
<content type='text'>
This also updates to 0.14.0 (https://github.com/libusb/hidapi/commit/d3013f0af3f4029d82872c1a9487ea461a56dee4)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This also updates to 0.14.0 (https://github.com/libusb/hidapi/commit/d3013f0af3f4029d82872c1a9487ea461a56dee4)
</pre>
</div>
</content>
</entry>
<entry>
<title>hidapi: Don't leak device handle in macOS 10.10 or newer</title>
<updated>2021-08-10T01:24:10+00:00</updated>
<author>
<name>OatmealDome</name>
<email>julian@oatmealdome.me</email>
</author>
<published>2021-08-10T01:24:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=25c85d827aed098d2536f09a68c23780346cd4e1'/>
<id>25c85d827aed098d2536f09a68c23780346cd4e1</id>
<content type='text'>
Ported from libusb's hidapi fork. Original patch by Youw (cdc473dfe43f6432dda7ad53d7656b8ae8ff968b).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ported from libusb's hidapi fork. Original patch by Youw (cdc473dfe43f6432dda7ad53d7656b8ae8ff968b).
</pre>
</div>
</content>
</entry>
<entry>
<title>hidapi: Stop current run loop in removal callback instead of fetching from context</title>
<updated>2021-08-10T01:15:17+00:00</updated>
<author>
<name>OatmealDome</name>
<email>julian@oatmealdome.me</email>
</author>
<published>2021-08-10T01:15:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=b24599cf5bf07f0f4d12e197e61c8f107a042dd4'/>
<id>b24599cf5bf07f0f4d12e197e61c8f107a042dd4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>macOS: Add errno setting in set_report (HID)</title>
<updated>2018-01-07T10:14:51+00:00</updated>
<author>
<name>Vincent Duvert</name>
<email>vincent@duvert.net</email>
</author>
<published>2018-01-07T10:14:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=3abc288e02089b3143547177e027d3820e5d7e59'/>
<id>3abc288e02089b3143547177e027d3820e5d7e59</id>
<content type='text'>
IsDeviceUsable in IOhidapi.cpp uses errno to detect if hid_write failed because of an unconnected Wiimote on a Dolphinbar (it expects errno == EPIPE in this case).
macOS’s implementation of hid_write detected this specific error (IOHIDDeviceSetReport returns kUSBHostReturnPipeStalled) but didn’t set errno so the check failed.
This add errno assignment to failure cases of macOS’s hid_write.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
IsDeviceUsable in IOhidapi.cpp uses errno to detect if hid_write failed because of an unconnected Wiimote on a Dolphinbar (it expects errno == EPIPE in this case).
macOS’s implementation of hid_write detected this specific error (IOHIDDeviceSetReport returns kUSBHostReturnPipeStalled) but didn’t set errno so the check failed.
This add errno assignment to failure cases of macOS’s hid_write.
</pre>
</div>
</content>
</entry>
<entry>
<title>macOS: Use unique IDs for HID paths</title>
<updated>2018-01-07T10:00:01+00:00</updated>
<author>
<name>Vincent Duvert</name>
<email>vincent@duvert.net</email>
</author>
<published>2018-01-07T10:00:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=8d5810a1038347b9e56d41334d3f83641c913b3d'/>
<id>8d5810a1038347b9e56d41334d3f83641c913b3d</id>
<content type='text'>
If available, use the system-generated unique ID for HID device paths instead of a transport/vid/pid/location tuple.
The Mayflash Dolphinbar registers four HID devices (regardless of the number of connected Wiimotes) which had the same path with the previous path building method, causing a bit of confusion when detecting and connecting to Wiimotes.
The unique IDs do not change if the computer is suspended and resumed, but do change if the HID device is unplugged/replugged.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If available, use the system-generated unique ID for HID device paths instead of a transport/vid/pid/location tuple.
The Mayflash Dolphinbar registers four HID devices (regardless of the number of connected Wiimotes) which had the same path with the previous path building method, causing a bit of confusion when detecting and connecting to Wiimotes.
The unique IDs do not change if the computer is suspended and resumed, but do change if the HID device is unplugged/replugged.
</pre>
</div>
</content>
</entry>
<entry>
<title>Externals: add hidapi</title>
<updated>2016-10-03T09:37:24+00:00</updated>
<author>
<name>Tillmann Karras</name>
<email>tilkax@gmail.com</email>
</author>
<published>2015-01-06T08:10:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=84467d2ff1c8c83b27b695685822eb71128fa788'/>
<id>84467d2ff1c8c83b27b695685822eb71128fa788</id>
<content type='text'>
Current master (d17db57b9d4354752e0af42f5f33007a42ef2906) because
Android support was added after the current release (0.8.0-rc1).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Current master (d17db57b9d4354752e0af42f5f33007a42ef2906) because
Android support was added after the current release (0.8.0-rc1).
</pre>
</div>
</content>
</entry>
</feed>
