Skip to content

Basic library interfacing Ducky RGB keyboards over USB HID

License

Notifications You must be signed in to change notification settings

pcfulife/DuckySharp

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DuckySharp

DuckySharp is a basic library interfacing Ducky keyboards' RGB features over USB HID.

The methods used by this library were found through reverse engineering, and as such are not official. Use at your own risk.

Tested with a One 2 RGB.

Example

The following example will set all LEDs to white, then turn off after two seconds.

using DuckySharp;

// ...

Keyboard keyboard = new Keyboard();
keyboard.Initialize();

foreach (Key key in Keys.All)
	keyboard.SetKeyColor(key, new Color(255, 255, 255));

keyboard.Update()

Thread.Sleep(2000);
keyboard.Close();

Credits

About

Basic library interfacing Ducky RGB keyboards over USB HID

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%