Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MickyDNet/pubg-health-corsair
Shows current PUBG Health colour on all of your Corsair Devices.
https://github.com/MickyDNet/pubg-health-corsair
corsair corsair-cue corsair-rgb corsair-rgb-keyboards k95 node-js nodejs playerunknowns-battlegrounds pubg
Last synced: 15 days ago
JSON representation
Shows current PUBG Health colour on all of your Corsair Devices.
- Host: GitHub
- URL: https://github.com/MickyDNet/pubg-health-corsair
- Owner: MickyDNet
- Created: 2017-12-27T23:15:30.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-14T11:29:10.000Z (over 5 years ago)
- Last Synced: 2024-07-31T14:09:24.998Z (4 months ago)
- Topics: corsair, corsair-cue, corsair-rgb, corsair-rgb-keyboards, k95, node-js, nodejs, playerunknowns-battlegrounds, pubg
- Language: JavaScript
- Homepage: http://mdavison.net/start
- Size: 16.6 KB
- Stars: 5
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Node JS - PUBG Corsair Health Bar
This script will fully colour your keyboard, mice and headset with the same colour as your PUBG health bar using Node JS.# Install
* Install the dependencies: cue-sdk-node, robotjs, hex-rgb
* Change the config variables in index.js (read below for more info)# Config Variables
The two variables used are to find the health bar on the screen.
You *will* need to change these variables as my current screen resolution is 3440x1440 (so the health bar will be in a slightly different place)
* To Change:
Uncomment the `var mouse` and `console.log` from lines 13 - 14
Open Node JS & PUBG, navigate to the script (but don't run it yet)
Start a game of PUBG and during the lobby time, put your mouse as far to the left of the health bar as you can then tab out to Node JS and run the script.
Stop the script after you see `{ x: .., y: .. }` and copy the co-ords accordingly to the variables in the script.# Things to try if things go wrong
* Dependency Errors:
If its an issue with dependencies, I most likely cannot help you as I did not code them.
* Keyboard Lagging:
This shouldn't be an issue, but you can try messing on with the timer settings right at the bottom of the script (milliseconds)
* Headset Flickering:
Try changing the second argument to `false` on `var cue = ..` (line 5)# Known Issues
* FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory
* `ST100 RGB Premium Headset Stand` does not light up (the SDK currently doesn't support it)# Need any help?
Join my `empty` Discord ;) https://discord.gg/wkdmu4g