libretro / libretro/RetroArch

[Feature Request] Multi-mouse support for macOS

Open
#17,794 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request input: mouse platform: osx
Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

https://docs.libretro.com/guides/input-controller-drivers/

shows multi-mouse support for Linux udev and Windows raw... but nothing for macOS.

RetroArch is currently using Cocoa API and HID Manager.

For comparison, https://github.com/icculus/manymouse supports multi-mouse on Macs using the older Carbon API and HID Manager. (A quick test indicates that works in Cocoa as well.)

(I've been able to use manymouse in libretro-dice to get basic functionality, but have too many multi-thread double-free and crash-on-exit issues to make that production code --- so integrating multi-mouse into the RetroArch input driver might scale better.)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the input controller driver guidance at docs.libretro.com and compare the macOS Cocoa/HID Manager path with the manymouse implementation linked in the issue. Determine how multi-mouse support should fit into RetroArch's macOS input driver and verify that the result avoids the reported multi-threaded double-free and crash-on-exit problems.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, macos
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.