Giter Club home page Giter Club logo

blinkstickdotnet's People

Contributors

arvydas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

blinkstickdotnet's Issues

Removing or inserting other USB devices while running crashes the program

When i use Blinkstick in a Windows Forms app, i get the following error, as soon as i have this line of code.
I'm inserting/removing a usb-headset to test this. Happend with all types of usb i have here.

led = BlinkStick.FindFirst();

System.OverflowException
  HResult=0x80131516
  Nachricht = Arithmetic operation resulted in an overflow.
  Quelle = System.Private.CoreLib
  Stapelüberwachung:
   bei System.IntPtr.ToInt32()
   bei LibUsbDotNet.DeviceNotify.WindowsDeviceNotifier.OnDeviceChange(Message& m)
   bei LibUsbDotNet.DeviceNotify.Internal.DevNotifyNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)

Nuget package

When it's ready, it would be nice to consume the library via nuget.org

Unity Engine crashing when using BlinkStickDotNet.dll

Hi,
I am using BlinkStickDotNet.dll as a managed plugin in Unity after switch the framework to 3.5 from 4.0(as Unity won't support beyond 3.5).
The problem is that the tool is crashing whenever the methods like "FindAll" or "FindBySerial" are being called at runtime. In the crash log it is mentioned-"Native extension for WindowsStandalone target not found".

Moreover, whenever trying to build an executable file, i get the message-"ArgumentException: The Assembly System.Windows.Forms is referenced by BlinkStickDotNet ('Assets/Plugins/BlinkStickDotNet.dll'). But the dll is not allowed to be included or could not be found."

Note-For now , I am not using any BlinkStick device but just checking the presence/absence of the device with the help of serial number or "FindAll".

Change Color Frame schema from GRB to RGB?

I just tried out the setColors() method and got a bit confused at first.
After looking in the wiki i saw that the order you have to use in the color frame was GRB instead of RGB and i wondered if it could be possible to change it to RGB to make the programming a bit more comfortable.

Assembly Generation Failed

When building, getting an error message.

Error 1 Assembly generation failed -- Referenced assembly 'LibUsbDotNet' does not have a strong name HidSharp

Error 6 Metadata file 'C:\Users***\Desktop\BlinkStickDotNet-master\Components\bin\HidSharp.dll' could not be found BlinkStickDotNet

TurnOff() on Application Exit

Hi, I am running BlinkStick Square with a WPF application.
When I call the TurnOff() method on application exit, it does not have any effect.
While TurnOff() does work anywhere else I call it when the app is in a normal state.

Is there any suggested solution?
It's a little bit annoying, since when the app is running it has set some color, and when the app closes, it still has this color until one unplugs or starts the app again :D

Still supported?

Hi @arvydas ,

Is the .net library still supported?
I thinking to use in a personal project and I would like to create a few simple pull requests to upgrade this library to the latest .net versions.

Best regards,

Gitii

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.