Giter VIP home page Giter VIP logo

Comments (9)

COWCATGames avatar COWCATGames commented on May 30, 2024

Personally I tested it quickly and it appears in the list with the battery level (most important info for me), but turning it off doesn't work.
So, partially supported I'd say.

from xbox360-controller-manager.

cyberangel avatar cyberangel commented on May 30, 2024

I mainly use the functionality to "turn off", so I'd like that to work, if possible.

from xbox360-controller-manager.

larscom avatar larscom commented on May 30, 2024

Hi, the problem is that i don't have such a controller..

Maybe someone else can make this and make a pull request.

from xbox360-controller-manager.

COWCATGames avatar COWCATGames commented on May 30, 2024

Hey larscom, thank you very much for this software! I've been looking for something like this for a decade!
I would if I could but I'm a game developer myself without much free time and not much knowledge of how hardware works.

from xbox360-controller-manager.

cyberangel avatar cyberangel commented on May 30, 2024

And I'm a WPF/database/website developer also without experience on the hardware side.
@larscom Maybe if you could steer me into the direction where this is handled in your library, I could do some debugging.

from xbox360-controller-manager.

larscom avatar larscom commented on May 30, 2024

@cyberangel

see for example:
It checks if the 'guide' button is pressed and will turn off controller.

if (_useGuideButton && IsPressed(gamepadSecret.WButtons, XINPUT_GAMEPAD_GUIDE))

from xbox360-controller-manager.

cyberangel avatar cyberangel commented on May 30, 2024

@larscom Thanks, this seems straightforward. I'll try it over the next few days.

from xbox360-controller-manager.

cyberangel avatar cyberangel commented on May 30, 2024

@larscom So the problem is with the imported function from xinput1_3.dll
static extern int XInputPowerOffController(int playerIndex); which does nothing.

The controller is detected, everything works, the buttons pressed are identified correctly (Options+Start), but calling the imported function just returns without effect.

Note that I am using a bluetooth connected Xbox One controller. Maybe the xinput function only works with controllers connected using the wireless adapter? The more I'm thinking about it I suppose that's the difference. 🙂

from xbox360-controller-manager.

larscom avatar larscom commented on May 30, 2024

Could be, i have only developed/tested this software with wireless xbox360 controllers connected via a wireless adapter.
So unfortunately i can't help with other controllers 😉

from xbox360-controller-manager.

Related Issues (8)

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.