saifaqqad / corsair_battery_level Goto Github PK
View Code? Open in Web Editor NEWDisplay the battery level of a corsair headset
Display the battery level of a corsair headset
Hi.
Every now and then on Windows 11 I will have the application disappear from the tray so assumedly it is crashing.
I was wondering at least as a temperary fix if it would be possible to implement a auto-restart feature.
I was looking into some ways to do this with vbs but I've never touched vbs personally.
I tried the second solution here:
https://stackoverflow.com/questions/43968275/restart-a-vbs-script-if-it-crashes
but that just constantly start-up new instances of the application regardless of a crash.
It was working fine on W10, for ages, before upgrading i should add too.
The app is reporting battery levels > 100%.
For some reason, changing the mic state between muted and unmuted seem to fix it.
For instance, if the headset was connected with the mic muted, unmuting the mic fixes the issue.
Hi, I'm not really a node.js kinda guy but i do have it setup with npm on my system. However, i get this error when trying to run the app with node.
index.js:1
(function (exports, require, module, __filename, __dirname) { import { NotifyIcon, Icon, Menu } from "not-the-systray";
^^^^^^
SyntaxError: Unexpected token import
at createScript (vm.js:80:10)
at Object.runInThisContext (vm.js:139:10)
at Module._compile (module.js:616:28)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Function.Module.runMain (module.js:693:10)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:612:3
running app.vbs doesn't do anything either it seems.
Any clues if its an issue on my end? Maybe a version mismatch.
Hello,
The battery level indicator does not work for Corsair Virtuoso SE, maybe you can add it?
Thank you!
I'm trying to run the executable but it does not open, no sign of it running at all.
OS Name Microsoft Windows 11 Pro
Version 10.0.22621 Build 22621
I was trying to update this for my HS80 Max. I added the PID which should be 0a97 but the programm didnt work and didnt recognize my headset. After adding a few checks, I found out that an error occurs in the get_HID() function when trying to write to the device:
TypeError: Cannot write to hid device
at get_HID
How would i fix this issue? Do i need to update some more code, or is this maybe a permission issue on windows?
I have a corsair headset with the device id of 0x0A42.
I have both tried the latest release and compiling the code, neither detect the headset.
Hi and thanks for your work on it !
The icon don't appear on my taskbar using startallblack, do you have an idea of why and how to fix it ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.