commit | 19826aaf493961e0287ef2f2006a4941f84f9537 | [log] [tgz] |
---|---|---|
author | osy <50960678+osy@users.noreply.github.com> | Sat May 15 23:29:54 2021 -0700 |
committer | Tormod Volden <debian.tormod@gmail.com> | Fri Mar 25 08:41:24 2022 +0100 |
tree | e639989e115e25b83d7a9b1f9f3f235a80479f4a | |
parent | 780044d4e4248da81046063bac9cdd4721de8af5 [diff] |
darwin: Reset by re-enumerate on non-macOS platforms On non-macOS platforms, ResetDevice() does nothing so we use the "old" way of calling re-enumerate. If the device is captured, we have to re-enumerate, then re-capture, re-authorize, and finally restore the state. Closes #1088