Skip to content

[iOS] Add rumble support for GameSir G8+ MFi controller - #56

Merged
xenios-jp merged 1 commit into
xenios-jp:xeniosfrom
vhtuan288:ios-gamesir-g8-mfi-rumble
Nov 26, 2026
Merged

xenios-jp merged 1 commit into
xenios-jp:xeniosfrom
vhtuan288:ios-gamesir-g8-mfi-rumble

Conversation

@vhtuan288

Copy link
Copy Markdown
Contributor

Summary

Adds rumble support for the GameSir G8+ MFi on iOS. Its motors can't be driven
through SDL/GameController, so rumble is sent over ExternalAccessory using the
controller's vendor protocol com.xiaoji.M2boot.

Changes

  • Add an ExternalAccessory rumble path to the SDL input driver, used only when the
    connected controller matches a known profile. Other controllers still use SDL rumble.
  • Add the GameSir G8+ MFi profile (packet format, 167 ms resend while rumbling).
  • Stop rumble when a title stops, when the app goes to the background, and when the
    controller disconnects.
  • Declare the protocol in Info_ios.plist.

iOS only; nothing new is compiled on macOS or other platforms.

Testing

Tested on XeniOS (2.3.3) with a GameSir G8+ MFi.
Platform: iPad Pro 11 M2, iOS 27.2.1, LiveContainer

  • Rumble works as expected in Forza Horizon.
  • Rumble stops when stopping the game and when backgrounding the app.
  • I also tested with DS4 controllers, it still rumbles through SDL.

@xenios-jp
xenios-jp force-pushed the xenios branch 2 times, most recently from 0a754de to 597119d Compare November 25, 2026 04:32
@vhtuan288
vhtuan288 force-pushed the ios-gamesir-g8-mfi-rumble branch from 1ef94fc to d80df38 Compare November 25, 2026 15:17
@xenios-jp
xenios-jp merged commit 0761cac into xenios-jp:xenios Nov 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants