Logo
Explore Help
Sign In
feedc0de/dolphin
1
0
Fork 0
You've already forked dolphin
forked from dolphin-emu/dolphin
Code Pull Requests Activity
Files
f5d14e3691c498417bb8d901b166c114bf720277
dolphin/Externals/hidapi/linux/CMakeLists.txt

2 lines
33 B
CMake
Raw Normal View History

WiimoteReal: Add a hidapi IO implementation 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.
2016-07-24 17:20:40 +02:00
add_library(hidapi-hidraw hid.c)
Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 24ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API