Coder Social home page Coder Social logo

Comments (5)

4amVim avatar 4amVim commented on June 6, 2024

Hmm, it should be possible I believe. I'll check that and get back to you.

Although I must ask out of curiosity, why do you want such support ?

from gamepyd.

Matthijs990 avatar Matthijs990 commented on June 6, 2024

It’s for a project that I am working on that requires the program to have exclusive access to said controller, because else the game where it is for will splitscreen
It’s a sort of challenge

from gamepyd.

4amVim avatar 4amVim commented on June 6, 2024

Oh, that seems like an interesting challenge. I'd be up for it.

You could really help me out by

  1. providing sample code that demonstrates your use-case
  2. mentioning how this library currently behaves with respect to that sample code
  3. telling me how you think this library should behave with that sample code.

Rest assured, I'll do some research into how I can cater to your use-case, and if at all.

I'm currently closing this issue, please feel free to open it again if you get hold of any of the above resources. Else I'll reopen it once I have a PR to link with it.

P.S. Thank You for taking interest in this library, it made my day :)

from gamepyd.

Matthijs990 avatar Matthijs990 commented on June 6, 2024

My code I have so far is what I got from the wiki:

>>> from gamepyd import *
>>> foo=rPad() #Supported ports are 1,2,3,4
Now reading gamepad#1

And how the library behaves now in respect from this test code is that while using this function, other programs can still see the controllers input

how I would like the library to behave with this code is that there is a parameter called exclusive_mode for example that can be set to true to make it so only Python can see the controller

from gamepyd.

4amVim avatar 4amVim commented on June 6, 2024

Hey, thank you for the clarification. I'll certainly look into it.

from gamepyd.

Related Issues (1)

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.