Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report battery level in XI mode #390

Open
nefarius opened this issue Nov 3, 2024 · 0 comments
Open

Report battery level in XI mode #390

nefarius opened this issue Nov 3, 2024 · 0 comments
Assignees
Labels
Core Core/Common Driver Topic enhancement New feature or request
Milestone

Comments

@nefarius
Copy link
Owner

nefarius commented Nov 3, 2024

Apparently there's a battery byte in the xinputhid report we can populate so other established apps can be used to read it in XI mode, see

UCHAR GEN_GamePadBatteryStrength; // Usage 0x00060020: Battery Strength, Value = 0 to 255

Potential test app https://github.com/matracey/XInputBatteryMeter

@nefarius nefarius added enhancement New feature or request Core Core/Common Driver Topic labels Nov 3, 2024
@nefarius nefarius added this to the Version 3 milestone Nov 3, 2024
@nefarius nefarius self-assigned this Nov 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core Core/Common Driver Topic enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant