All Projects → srn → hyperx-cloud-flight-wireless

srn / hyperx-cloud-flight-wireless

Licence: MIT license
Reverse engineered module for interfacing with HyperX Cloud Flight Wireless

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to hyperx-cloud-flight-wireless

CH55x USB CompositeDevice
USB Composite Device Demo (Keyboard, Custom HID and Massive Storage) using CH55x
Stars: ✭ 94 (+248.15%)
Mutual labels:  usb-hid
WUD-Ducky
An ESP32-S2 RubberDucky script parser, with Mouse/PenDrive support 🦆
Stars: ✭ 33 (+22.22%)
Mutual labels:  usb-hid
awesome-yo-yo
Modules & resources related to yo-yo
Stars: ✭ 27 (+0%)
Mutual labels:  hyperx
hid-tmff2
Linux kernel module for Thrustmaster T300RS and T248
Stars: ✭ 83 (+207.41%)
Mutual labels:  usb-hid
pyrfidhid
Python library to control Chinese USB HID 125Khz RFID Reader/Writer
Stars: ✭ 104 (+285.19%)
Mutual labels:  usb-hid
BadSTM
Bad USB on STM32 with SD card
Stars: ✭ 27 (+0%)
Mutual labels:  usb-hid
rasp vusb
This repo explains how to turn your Raspberry Pi Zero into USB Keyboard and Mouse. Also provides sample code and binaries to control them.
Stars: ✭ 85 (+214.81%)
Mutual labels:  usb-hid
iDevicesInformation
A Light Weight and Updated Code for Device Detection and many other functionality written in swift 2.0
Stars: ✭ 13 (-51.85%)
Mutual labels:  battery-percentage
openinput
Open source firmware for input devices
Stars: ✭ 43 (+59.26%)
Mutual labels:  usb-hid
PureBatteryAnalytics
This is a repository for Pure Battery Analytics. Both the System Tray Add-on & Main Application.
Stars: ✭ 46 (+70.37%)
Mutual labels:  battery-percentage
USBHIDTerminal
USBHIDTerminal
Stars: ✭ 102 (+277.78%)
Mutual labels:  usb-hid
usbip
A Rust library to run a USB/IP server
Stars: ✭ 91 (+237.04%)
Mutual labels:  usb-hid
Mac Precision Touchpad
Windows Precision Touchpad Driver Implementation for Apple MacBook / Magic Trackpad
Stars: ✭ 5,107 (+18814.81%)
Mutual labels:  usb-hid
qtpy-knob
QT Py Media Knob using rotary encoder & neopixel ring
Stars: ✭ 49 (+81.48%)
Mutual labels:  usb-hid
SerialPundit
Serial port communication in Java - FTDI D2XX, HID API, X/Y modem
Stars: ✭ 116 (+329.63%)
Mutual labels:  usb-hid
fix-linux-mouse
Hints how to fix USB mouse issues on Linux
Stars: ✭ 36 (+33.33%)
Mutual labels:  usb-hid
FPGA-USB-Device
FPGA-based USB-device controller to implement USB-CDC, USB-HID, etc.
Stars: ✭ 29 (+7.41%)
Mutual labels:  usb-hid
stm32 i2c to usb hid multitouch
i2c to usb hid multi touch with stm32
Stars: ✭ 55 (+103.7%)
Mutual labels:  usb-hid
hyperscript-attribute-to-property
Convert hyperscript attributes to properties
Stars: ✭ 19 (-29.63%)
Mutual labels:  hyperx
Tinyusb
An open source cross-platform USB stack for embedded system
Stars: ✭ 2,257 (+8259.26%)
Mutual labels:  usb-hid

hyperx-cloud-flight-wireless

Module for interfacing with HyperX Cloud Flight Wireless

Supports Windows 10 x64 and Linux following the instructions.

Current functionality:

  • Power state
  • Microphone state
  • Volume state
  • Charging state
  • Battery percentage

Install

$ npm install srn/hyperx-cloud-flight-wireless

Usage

const hyperxCloudFlight = require('hyperx-cloud-flight-wireless')()

hyperxCloudFlight.on('power', state) // 'on' | 'off'
hyperxCloudFlight.on('muted', muted) // Boolean
hyperxCloudFlight.on('volume', direction) // 'up' | 'down'
hyperxCloudFlight.on('charging', charging) // Boolean
hyperxCloudFlight.on('battery', percentage) // 0-100 | null
hyperxCloudFlight.on('error', error) // instanceof Error

Notes

The battery percentage is only an estimate based on the "status" report.

Linux support

To work with linux it is necessary to run as root, or define rules for udev.

echo 'KERNEL=="hidraw*", SUBSYSTEM=="hidraw", MODE="0664", GROUP="plugdev"' | sudo tee -a /etc/udev/rules.d/99-hidraw-permissions.rules && sudo udevadm control --reload-rules

disconnect and reconnect the device

License

MIT © Søren Brokær

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].