Skip to content

Instantly share code, notes, and snippets.

View charliefoxtwo's full-sized avatar

Charlie charliefoxtwo

View GitHub Profile
@charliefoxtwo
charliefoxtwo / virpilLeds.md
Created May 8, 2021 17:33
This guide outlines the layout of the data sent to virpil controllers when setting LEDs. Take note of the firmware version specified at the top. Sending raw data to USB devices can be dangerous. Use at your own risk.

Setting Virpil LEDs

This document is probably accurate enough for firmware 20210102. I make no guarantee any of this data will hold true for any other firmware version.

Packet structure

The data fragment for setting an LED (and perhaps other things, too) is 38 bytes in length. A sample payload might look something like the following:

02 66 05 00 00 80 00 00 00 00 00 00 00 00 00 00

Keybase proof

I hereby claim:

  • I am charliefoxtwo on github.
  • I am charliefoxtwo (https://keybase.io/charliefoxtwo) on keybase.
  • I have a public key ASDGzTjA3Jdr_nv0j33SPJDj2v7SW1wnb66r_e4mRqf-lwo

To claim this, I am signing this object: