Giter VIP home page Giter VIP logo

colore's Introduction

Colore Logo

Build status Coverage Status Stories in Ready MIT License Latest GitHub release NuGet version

A powerful and elegant C# library for Razer Chroma's SDK

Contributing

Gitter

For discussing, you can join the Gitter chat using the badge above. If you want to join the Slack chat, contact Brandon Scott ([email protected]) or Adam Hellberg ([email protected]).

Contributors are very welcome! If you got code fixes, please submit a pull request here on GitHub.

If you want to join the development team, please contact Sharparam or Brandon on GitHub.

All authors and contributors are listed in the AUTHORS file.

Please read the CONTRIBUTING.md file before making a pull request.

License

Copyright © 2015-2016 by Adam Hellberg and Brandon Scott.

This project is licensed under the MIT license, please see the file LICENSE for more information.

Razer is a trademark and/or a registered trademark of Razer USA Ltd.
All other trademarks are property of their respective owners.

Dependencies

Colore depends on the Razer Chroma SDK (RzChromaSDK64.dll or RzChromaSDK.dll).

The Razer Chroma SDK is provided by Razer and can be obtained from their website.

Building

It's important to note that the platform under which this project is built plays a huge role on the usability of the library.

When compiling with the x86 or x64 platform set in build configuration, Colore will only work on the respective system platform (32-bit if compiled using x86, and 64-bit if compiled using x64).

The native methods are imported using DllImport when Colore is compiled in x86 or x64, which is why the setting matters for deployment, as this cannot be changed at runtime.

However, if compiling with the "Any CPU" configuration, Colore will dynamically load functions relevant for the current executing platform, making it run on both 32- and 64-bit systems without any work having to be done by the dev.

For non-performance critical applications, the "Any CPU" mode should be fine (this is also what the NuGet package is compiled against).

For applications that require peak performance, we recommend shipping separate 32- and 64-bit builds of your application, using the relevant build configurations in Colore.

The below example compiles Colore in Release mode for the x86 (32-bit) platform.

msbuild Colore.sln /p:Configuration=Release;Platform=x86

(Replace x86 with x64 if compiling for Win64, or "Any CPU" if compiling cross-platform)

Make sure that your projects using Colore are also compiled against a matching platform.

Razer's SDK installer will only install the library relevant for your platform.

This means that your apps will need to be compiled twice, once for x86 platforms, and once for x64, unless you are using "Any CPU". They must both be provided when you distribute your application, depending on what platform the user has.

Projects

Current projects utilizing this or modified versions of this library:

None right now!

(If you want your project listed, just contact Sharparam or Brandon)

colore's People

Contributors

brandonscott avatar sharparam avatar wolfspiritm avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.