Skip to content

Unofficial Redragon RGB SDK to control redragon devices led

Notifications You must be signed in to change notification settings

D4rkTT/Redragon-RGB-SDK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Redragon RGB SDK

First SDK for redragon products, it's unofficial and support few products due it's depending on reverse engineering every product to support it.

Supported Devices

  • Redragon M711 Cobra
  • Redragon M711 FPS (SHOULD WORK)

Download

Redragon RGB SDK.dll

Prerequisites

1- Download & Install LibUsbDotNet

2- Install Driver from window that appear after installation Like Screenshot (M711 Cobra will end with rev:0112) (M711 FPS will end with rev:0310)

Usage (C#)

1- Import dll to your project

[DllImport("Redragon RGB SDK.dll")]
public static extern bool InitializeDevice(int M_Profile);
[DllImport("Redragon RGB SDK.dll")]
public static extern bool RedragonSetColor(int R, int G, int B, int Level);

2- Use this function to check if device connected and initilaize it with current mouse profile

InitializeDevice(int M_Profile);
  • M_Profile -> Current Mouse Profile
  • It will return true if device connected and successfully initialized

3- Use this function to set color

RedragonSetColor(int R, int G, int B, int Level);
  • R 0-255
  • G 0-255
  • B 0-255
  • Level 1-3
  • Enter Level -1 if u dont want to change Brightness Level
  • It will return true if succssfully set

Current Modes

  • Fully Lighted Single Color

Credits

I'm Sorry that supported devices list is few but like i said support few products due it's depending on reverse engineering every product to support it.

Donate

As you see all my applications is open source

if you wanna to buy me a coffie or buy me a product to support it ☕❤

  • Bitcoin: 1sgPvUDBT8ZpXwvJAjSsqWPiebjxTdjX9
  • Ether: 0xdAcA9df277711Af20FA18b849471d50047D94B4b
  • USDD: 0xdAcA9df277711Af20FA18b849471d50047D94B4b

License

The code is licensed under the ISC license. You're free to use, modify, redistribute and even use it in any commercial projects so long as you keep the copyright notice. Be aware that this means I provide no warranty whatsoever should your product malfunction.

About

Unofficial Redragon RGB SDK to control redragon devices led

Resources

Stars

Watchers

Forks

Packages

No packages published