{"id":17446273,"url":"https://github.com/srn/hyperx-cloud-flight-wireless","last_synced_at":"2025-06-14T06:39:05.758Z","repository":{"id":44595328,"uuid":"324861783","full_name":"srn/hyperx-cloud-flight-wireless","owner":"srn","description":"Reverse engineered module for interfacing with HyperX Cloud Flight Wireless","archived":false,"fork":false,"pushed_at":"2022-01-24T08:20:27.000Z","size":23,"stargazers_count":43,"open_issues_count":4,"forks_count":6,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T03:09:02.408Z","etag":null,"topics":["battery-percentage","hyperx","reverse-engineering","usb-hid"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/srn.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-12-27T22:39:05.000Z","updated_at":"2024-10-11T19:54:17.000Z","dependencies_parsed_at":"2022-08-26T23:41:14.287Z","dependency_job_id":null,"html_url":"https://github.com/srn/hyperx-cloud-flight-wireless","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srn%2Fhyperx-cloud-flight-wireless","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srn%2Fhyperx-cloud-flight-wireless/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srn%2Fhyperx-cloud-flight-wireless/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srn%2Fhyperx-cloud-flight-wireless/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srn","download_url":"https://codeload.github.com/srn/hyperx-cloud-flight-wireless/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248657918,"owners_count":21140846,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["battery-percentage","hyperx","reverse-engineering","usb-hid"],"created_at":"2024-10-17T18:34:13.319Z","updated_at":"2025-04-13T03:09:21.021Z","avatar_url":"https://github.com/srn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# hyperx-cloud-flight-wireless\n\n\u003e Module for interfacing with [HyperX Cloud Flight Wireless](https://www.hyperxgaming.com/unitedstates/us/headsets/cloud-flight-wireless-gaming-headset)\n\nSupports Windows 10 x64 and Linux following the [instructions](https://github.com/srn/hyperx-cloud-flight-wireless#linux-support).\n\nCurrent functionality:\n\n- Power state\n- Microphone state\n- Volume state\n- Charging state\n- Battery percentage\n\n## Install\n\n```sh\n$ npm install srn/hyperx-cloud-flight-wireless\n```\n\n## Usage\n\n```js\nconst hyperxCloudFlight = require('hyperx-cloud-flight-wireless')()\n\nhyperxCloudFlight.on('power', state) // 'on' | 'off'\nhyperxCloudFlight.on('muted', muted) // Boolean\nhyperxCloudFlight.on('volume', direction) // 'up' | 'down'\nhyperxCloudFlight.on('charging', charging) // Boolean\nhyperxCloudFlight.on('battery', percentage) // 0-100 | null\nhyperxCloudFlight.on('error', error) // instanceof Error\n```\n\n## Notes\n\nThe battery percentage is only an estimate based on the \"status\" report.\n\n## Linux support\n\nTo work with linux it is necessary to run as root, or define rules for udev.\n\n```\necho 'KERNEL==\"hidraw*\", SUBSYSTEM==\"hidraw\", MODE=\"0664\", GROUP=\"plugdev\"' | sudo tee -a /etc/udev/rules.d/99-hidraw-permissions.rules \u0026\u0026 sudo udevadm control --reload-rules\n```\n\ndisconnect and reconnect the device\n\n## License\n\nMIT © [Søren Brokær](https://srn.io)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrn%2Fhyperx-cloud-flight-wireless","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrn%2Fhyperx-cloud-flight-wireless","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrn%2Fhyperx-cloud-flight-wireless/lists"}