<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dolphin/Externals/hidapi/mac, 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>Remove HIDAPI Autotools build system and unused files</title>
<updated>2017-04-27T09:41:00+00:00</updated>
<author>
<name>Michael Maltese</name>
<email>michaeljosephmaltese@gmail.com</email>
</author>
<published>2017-04-25T03:10:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=537fbf33a711549d1563b877b57043d0ec789469'/>
<id>537fbf33a711549d1563b877b57043d0ec789469</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>CMake: clean up HIDAPI build</title>
<updated>2017-04-27T09:41:00+00:00</updated>
<author>
<name>Michael Maltese</name>
<email>michaeljosephmaltese@gmail.com</email>
</author>
<published>2017-04-25T03:06:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=655ab9b4e2af61bbc7010e5c97ad8da09fa7b232'/>
<id>655ab9b4e2af61bbc7010e5c97ad8da09fa7b232</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>WiimoteReal: Add a hidapi IO implementation</title>
<updated>2016-10-03T09:41:23+00:00</updated>
<author>
<name>Léo Lam</name>
<email>leo@innovatetechnologi.es</email>
</author>
<published>2016-07-24T15:20:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.dog6.net/dolphin/commit/?id=843b030eda4d42672e8aea2b5607f4ba3048bd36'/>
<id>843b030eda4d42672e8aea2b5607f4ba3048bd36</id>
<content type='text'>
Based on ca0c2efe7ab19c85449d52dd1bf4beec8603bbfe. Credits go to flacs.
However, unlike the original commit, hidapi does not completely replace
the current implementations, so we can still connect Wiimotes with 1+2
(without pairing).

Also, it is only used on Linux and OS X for now. This removes the
advantage of having only one implementation but there is no other
choice: using hidapi on Windows is currently impossible because
hid_write() is implemented in a way that won't work with Wiimotes.

Additionally:
* We now check for the device name in addition to the PID/VID so we can
  support the Balance Board and maybe third-party Wiimotes too. This
  doesn't achieve anything with the DolphinBar but it does with hidraw.
* Added a check to not connect to the same device more than once.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Based on ca0c2efe7ab19c85449d52dd1bf4beec8603bbfe. Credits go to flacs.
However, unlike the original commit, hidapi does not completely replace
the current implementations, so we can still connect Wiimotes with 1+2
(without pairing).

Also, it is only used on Linux and OS X for now. This removes the
advantage of having only one implementation but there is no other
choice: using hidapi on Windows is currently impossible because
hid_write() is implemented in a way that won't work with Wiimotes.

Additionally:
* We now check for the device name in addition to the PID/VID so we can
  support the Balance Board and maybe third-party Wiimotes too. This
  doesn't achieve anything with the DolphinBar but it does with hidraw.
* Added a check to not connect to the same device more than once.
</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>
