Code Monkey home page Code Monkey logo

Comments (3)

Asnivor avatar Asnivor commented on May 28, 2024

Hey there.
Yeah, that looks like a bug. The exception IS thrown when initializiing any joypads at boot.
I'll look into it as soon as I can.

from medlaunch.

duke1102 avatar duke1102 commented on May 28, 2024

Hey @Asnivor - thanks for the quick reply!

I just build the source myself and could identify the problem.
I had a software called PC Remote from Monect installed, which allowed me to control my PC via an Android phone and use it as a mouse/keyboard/gamepad. The software created it's own device driver "Monect Hid Device" which ultimately caused the exception to happen.

After I uninstalled the software and device from the device manager... voila, MedLaunch launched without problems.

Exception gets thrown on line 129 in the GamePad.cs, where it checks if the ContInfoFromLog.Count() > 0. This "Monect Hid Device" did fool the if-check and caused to go boom. Might want to use a try-catch block here too, even if this issue is rather rare.

Keep up the good work! I hope I helped!

from medlaunch.

Asnivor avatar Asnivor commented on May 28, 2024

Awesome stuff, thanks. Thats a great help.

I guess I never assumed there would be a gamepad device that would be detected in slimdx, but not in mednafen. Duh. I will certainly get this fixed up when I next have the chance.

Thanks again!

from medlaunch.

Related Issues (20)

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.