[PR #8] [CLOSED] Update macOS hid.c #6

Closed
opened 2026-02-15 15:54:31 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/RPCS3/hidapi/pull/8
Author: @nastys
Created: 12/31/2021
Status: Closed

Base: masterHead: master


📝 Commits (7)

  • 2af947a Implement hid_write_control, so we can use HidD_SetOutputReport on win, all others are just a wrapper until tested
  • 81b4c17 Add CMake file for Mac
  • f4849e5 Fix return value in hid_write_control
  • d154a64 Add Cmake support
  • 907965c Link with udev
  • 01f601a Add missing libraries to cmake target
  • 8427fa8 Update macOS hid.c

📊 Changes

9 files changed (+111 additions, -88 deletions)

View changed files

📝 hidapi/hidapi.h (+5 -0)
libusb/CMakeLists.txt (+1 -0)
📝 libusb/hid.c (+5 -0)
linux/CMakeLists.txt (+2 -0)
📝 linux/hid.c (+6 -0)
mac/CMakeLists.txt (+1 -0)
📝 mac/hid.c (+72 -88)
windows/CMakeLists.txt (+2 -0)
📝 windows/hid.c (+17 -0)

📄 Description

Fixes macOS builds and BT controllers.
From https://github.com/libusb/hidapi, with some modifications.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/RPCS3/hidapi/pull/8 **Author:** [@nastys](https://github.com/nastys) **Created:** 12/31/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (7) - [`2af947a`](https://github.com/RPCS3/hidapi/commit/2af947a9b2c3a9cbd6409da66ccf3155ae44e898) Implement hid_write_control, so we can use HidD_SetOutputReport on win, all others are just a wrapper until tested - [`81b4c17`](https://github.com/RPCS3/hidapi/commit/81b4c17d8d1a3155cc7ecfc1c918d0ae2af420ef) Add CMake file for Mac - [`f4849e5`](https://github.com/RPCS3/hidapi/commit/f4849e51358dd23239abd7c26a2a447f51171700) Fix return value in hid_write_control - [`d154a64`](https://github.com/RPCS3/hidapi/commit/d154a64eff60ea9c5634c3494fd672ec383f34a5) Add Cmake support - [`907965c`](https://github.com/RPCS3/hidapi/commit/907965cc13bdf49ba56f4f88cc94d2c7d43cd1ea) Link with udev - [`01f601a`](https://github.com/RPCS3/hidapi/commit/01f601a1509bf9c67819fbf521df39644bab52d5) Add missing libraries to cmake target - [`8427fa8`](https://github.com/RPCS3/hidapi/commit/8427fa8be12fc42b2075505f44baa07c39e43ca8) Update macOS hid.c ### 📊 Changes **9 files changed** (+111 additions, -88 deletions) <details> <summary>View changed files</summary> 📝 `hidapi/hidapi.h` (+5 -0) ➕ `libusb/CMakeLists.txt` (+1 -0) 📝 `libusb/hid.c` (+5 -0) ➕ `linux/CMakeLists.txt` (+2 -0) 📝 `linux/hid.c` (+6 -0) ➕ `mac/CMakeLists.txt` (+1 -0) 📝 `mac/hid.c` (+72 -88) ➕ `windows/CMakeLists.txt` (+2 -0) 📝 `windows/hid.c` (+17 -0) </details> ### 📄 Description Fixes macOS builds and BT controllers. From https://github.com/libusb/hidapi, with some modifications. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 15:54:31 -05:00
yindo closed this issue 2026-02-15 15:54:31 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: RPCS3/hidapi#6