Code Monkey home page Code Monkey logo

Comments (8)

sekmo avatar sekmo commented on May 19, 2024 1

Omg thank you so much!
(Sorry if I didn't get back on this, I was eager to help out but I didn't have in the last period :/)

from flex-launcher.

complexlogic avatar complexlogic commented on May 19, 2024

from flex-launcher.

xslushedx avatar xslushedx commented on May 19, 2024

With a fresh Windows 10 start, emulationstation actually needs seven to eight seconds to start. That is of course very long. I have now created a batch file to launch it and flex-launcher is working fine.

from flex-launcher.

sekmo avatar sekmo commented on May 19, 2024

is the waiting time configurable?

from flex-launcher.

complexlogic avatar complexlogic commented on May 19, 2024

is the waiting time configurable?

No, but it would be relatively easy to add one. Are you having this same issue?

from flex-launcher.

sekmo avatar sekmo commented on May 19, 2024

Yeah, unfortunately I have a game that takes around 10 seconds and even the screen is showing the game, the focus is kept on flexlauncher :/

from flex-launcher.

sekmo avatar sekmo commented on May 19, 2024

If you could guide me on where to look around for implementing this feature, I would be more than happy to submit a PR! :)

from flex-launcher.

complexlogic avatar complexlogic commented on May 19, 2024

@sekmo The timeout value is controlled by a macro defined here. You will need to convert this into a config option.

  1. Add a new int variable to the Config struct declaration (in launcher.h)
  2. Define the setting key and default value in config/config_settings.cmake
  3. Make those CMake variables available to the program in config/launcher_config.h.in
  4. Initialize the new variable in launcher.c
  5. Add the setting and default value to the default config file in config/config.ini.in
  6. Parse for the new config setting in util.c. The setting facing the user should be in seconds, but the program uses milliseconds internally so you'll need to multiply it by 1000.

If you are not able to do this, then let me know and I can do it.

from flex-launcher.

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.