Skip to content

brettchalupa/sdl_rumble

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

SDL Rumble

CLI for testing controller rumble quickly with SDL2 + community mappings.

macOS

  • Install SDL2: brew install sdl2
  • Compile and run: clang -v main.cpp -I/opt/homebrew/include -L/opt/homebrew/lib -lSDL2 -o sdl_rumble && ./sdl_rumble

Findings

  • MacOS 12.6 - Xbox One Controller - XInput - yes!
  • MacOS 12.6 - DualShock 4 - yes!
  • MacOS 12.6 - 8BitDo Pro2 - XInput - yes!
  • MacOS 12.6 - 8BitDo Pro2 - DirectInput - no - That operation is not supported
  • MacOS 12.6 - 8BitDo Pro2 - Apple/DS4 - no - That operation is not supported
  • MacOS 12.6 - 8BitDo Pro2 - Switch Pro - yes (weak)

Linux (Ubuntu)

  • Install SDL2: sudo apt install libsdl2-dev libsdl2-2.0-0
  • Compile and run: clang -v main.cpp -lSDL2 -o sdl_rumble && ./sdl_rumble

Findings

  • Pop_OS! 22.04 - Xbox One Controller - XInput - yes!
  • Pop_OS! 22.04 - DualShock 4 - yes!
  • Pop_OS! 22.04 - 8BitDo Pro2 - XInput - yes!
  • Pop_OS! 22.04 - 8BitDo Pro2 - DirectInput - no - That operation is not supported
  • Pop_OS! 22.04 - 8BitDo Pro2 - Apple/DS4 - not detected
  • Pop_OS! 22.04 - 8BitDo Pro2 - Switch Pro - not detected

Windows

See this gist: https://gist.github.com/brettchalupa/758a6f98e2b6285dec8fa6568715ce67

Findings

  • Windows 10 - Xbox One Controller - XInput - yes!
  • Windows 10 - DualShock 4 - yes, with hint
  • Windows 10 - 8BitDo Pro2 - XInput - yes!
  • Windows 10 - 8BitDo Pro2 - DirectInput - no - That operation is not supported
  • Windows 10 - 8BitDo Pro2 - Apple/DS4 - yes!
  • Windows 10 - 8BitDo Pro2 - Switch Pro - faint and inconsistent

About

Simple tester for SDL controller rumble

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages