Giter Site home page Giter Site logo

ddgo-pnp-controller's People

Contributors

marcriera avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ddgo-pnp-controller's Issues

Add support for emulator mode (Dualshock 3)

The Dualshock 3 is autodetected and autoconfigured by many emulators (such as RetroArch). Thanks to this, it should be possible to simulate a classic controller and send input via a correct mapping, load a game in an emulator and pass as a classic controller without complicated configuration on the host side. This is already achieved by ddgo-converter.

Potential sub-modes:

  • PlayStation mode
  • Nintendo 64 mode
  • Sega Saturn mode

Add support for door lamp and rumble

Currently, the PS2 modes are input only. Because the Plug & Play has a door lamp and one rumble motor, it would be interesting to allow controlling them via USB control requests, just like the original PS2 controllers.

There are several issues preventing this:

  • The Android composite USB gadget only gets control requests if they are directed to the endpoint. This is the case for the PS2 Type 2 driver. However, the Shinkansen controller and MTC do not specify the endpoint and the request does not reach the USB gadget userspace.
  • There seems to be a bug in the 3.4.113 kernel regarding control requests. The setup packet is received, but data never arrives and requests time out. According to the UDC, the error code is -22.

Add support for MTC P5/B7 cartridge

The MTC P5/B7 is currently not supported. Input code is ready, but the two supported games (Kyushu Shinkansen and Keisei Toei Keikyu) run extra checks on the controller and reject the controller with a "Please insert P5/B7 cartridge" message.

Full USB descriptor dumps are needed to check whether there is extra data passed in the descriptor or in the input data.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.