Comments (6)
Hey, the test application crashes on startup because the AbstractCueDevice is calling InitializeLeds(); in the constructor. When creating a CorsairMouse the InitializeLeds(); method is referencing MouseDeviceInfo but that's not set until after the base class has been constructed, resulting in a null reference
from cue.net.
facepalm I even commented that warning away ...
Please try again with the latest version - it should be fixed
from cue.net.
Haha now you know what it ment ^^
It looks pretty good, both mouse and headset update (headset a bit laggy like in #47 but that's a CUE issue)
With the mousemat it seems the bottom LEDs get colored a bit different from the side LEDs, is that intended?
It looks like this: http://i.imgur.com/elYzyGZ.png
For Artemis I wrote some code that maps a brush to the mousemat by reading the pixel colors of the sides (left, bottom and right), maybe that's useful for you too: https://github.com/SpoinkyNL/Artemis/blob/development/Artemis/Artemis/DeviceProviders/Corsair/CorsairMousemats.cs#L56 feel free to rip some stuff out of that if it's any good :)
EDIT: Effect stacking works really nice too, great job on that
from cue.net.
Well, since the mousemat provides coordinates for the LEDs, I'm using them. I don't get why the top and bottom corners aren't vertically aligned, but that's corsairs decision. I think I'll leave it like that.
from cue.net.
Ah yeah makes sense to do it with their coordinates, ima do that too, that indeed leaves the implementation with Corsair
from cue.net.
Since I just released the version I consider this as done for now.
Thanks again for the help :)
from cue.net.
Related Issues (20)
- Uninitialize or Shutdown functionality HOT 4
- [1.0.0] Keyboard DeviceRectangle size HOT 3
- Using CUE.NET with CUE2 keyboard keys go to white when calling update() HOT 4
- Update Wiki
- Profile-API isn't able to find CUE2 profiles
- CUE.NET Does not initialize for some users HOT 5
- Memory leaks when using LED groups and brushes HOT 18
- K95 Platinum lightbar support HOT 8
- Load SDK dll from different location HOT 4
- VOID Wireless bug and feature request HOT 2
- Keys which don't exist on a physical device (ie. Macro keys) throws null reference HOT 4
- Locking the PC stops updates (sometimes) HOT 6
- HELP NEEDED: How to keep LED changes active after running application? HOT 2
- UWP Compatibility HOT 12
- CueSDK.Reinitialize never returns HOT 1
- Can't update Key Colors individually unless Brush is applied. HOT 4
- Calling EnableKeypressCallback() more than once causes duplicated events and GC/NRE issues
- Can't read color without device freezing
- Corsair keyboard K70 MK.2 RGB HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cue.net.