Skip to content

Latest commit

 

History

22 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MecaMasterSDK

an attempt to create a Lighting SDK for dA Meca Master RGB through Reverse Engineering

NOTICE

this project is still far from finished, but hey, the basic stuff is working

TODO

  1. Actually work on this thing without procrastinating every 5 minutes
  2. Do Total rewrite in C++ (current one is written in C)
  3. Finish Features
  4. do initial commit of rewrite
  5. Add wiki(?)
  6. Linux and Mac support
  7. Tidy up things

Example

// Set the color of the device withrandom colors
#include "pch.h"
#include <iostream>
#include <random>
#include <Windows.h>
#include "KeyboardSDK.h"

int main(){
	std::random_device R;
	std::random_device G;
	std::random_device B;
	std::uniform_int_distribution<int> uf(0, 255);
	KeyboardSDK Keyboard;
	if (!Keyboard.FindKeyboard()) {
		std::cout << "Cannot Find Keyboard" << std::endl;
	}
	else {
		std::cout << "Keyboard Found!" << std::endl;
		while (true) {

			std::cout << "Color changed to: " << std::hex << "#" << uf(R) << uf(G) << uf(B) << std::endl;
			Keyboard.SetColorAllKeys(uf(R), uf(G), uf(B));
			Sleep(1000);
		}
	}
}

About

[Work In Progress] an attempt to create a Lighting SDK for dA Meca Master RGB through Reverse Engineering

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages