Skip to content

nyairobi/brutally-simple-ontroller-driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Brutally Simple Ontroller Driver

This is a segatools io4 module for ONTROLLER written in C with libusb. The name is supposed to scare off Windows users; you probably want to use Mu3IO.NET. If you play with a keyboard on Linux, you also want Mu3IO.NET.

Why

Because the existing solutions didn't work on Linux in HID mode. Winusb seems to be unimplemented. It doesn't help that Mu3IO.NET is made specifically for .NET AOT which can't be cross-compiled on Linux.

How it works

The DLL seen by segatools is a thin wrapper built with winegcc which redirects to a native Linux library (that uses the system's native libusb).

Setup

By default, ONTROLLERs seem to be inaccessible in user space. Add a udev rule:

# echo 'SUBSYSTEMS=="usb", ATTRS{idVendor}=="0e8f", ATTRS{idProduct}=="1216", MODE="0666"' > /etc/udev/rules.d/10-ontroller.rules
# udevadm control --reload-rules

Re-plug the ONTROLLER if it was connected.

Add mu3io_bsod.dll and mu3io_bsod.so to the game directory and point at the DLL in segatools.ini:

[mu3io]
path=mu3io_bsod.dll

Known issues

  • WAD LEDs don't work

About

segatools io4 module for Linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published