Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
bd2436b
Adds animation queing. The animation queue has its own thread so the …
KeesCBakker Aug 10, 2016
d278b6c
Decreased wait
KeesCBakker Aug 10, 2016
b5bfd38
Switchted to durations
KeesCBakker Aug 10, 2016
060ed27
Removed Windows USB monitor. Removed projects in favor of packages.
KeesCBakker Aug 10, 2016
9e1458c
Removed projects. Now uses projects.
KeesCBakker Aug 10, 2016
399b392
Removed compontents in favor of packages
KeesCBakker Aug 10, 2016
304585b
Refactored USB monitor and color classes
KeesCBakker Aug 10, 2016
5413536
Added turn off feature to the animation queue upon stop.
KeesCBakker Aug 10, 2016
bc6939d
Refactored USB dependencies. The Blinkstick now interacts by interfac…
KeesCBakker Aug 10, 2016
2db07f6
Documentation.
KeesCBakker Aug 10, 2016
dfad8ce
All objects have their own CS now. Refactored the private backing vars.
KeesCBakker Aug 10, 2016
52254a9
Refactored open device / close device. Refactored backing vars with n…
KeesCBakker Aug 10, 2016
65ac083
Added null checks for when the device is not set.
KeesCBakker Aug 10, 2016
d5bc9db
Moved coloring implementations to the a seperate file using extension…
KeesCBakker Aug 10, 2016
264201f
Removed dependencies upon System.Windows.Forms and System.Core
KeesCBakker Aug 10, 2016
817a00e
Moved meta information to its own class. Features remain as obsolete …
KeesCBakker Aug 10, 2016
8503955
Fixed meta caching. Did some more refactoring.
KeesCBakker Aug 10, 2016
2fd28b6
Should be public, so peopel can use it.
KeesCBakker Aug 10, 2016
1d1a34f
Removed dependecy upon BlinkStick for the UsbMonitor. It should only …
KeesCBakker Aug 10, 2016
af66ead
Removed the mention of the BlinkStick dependecy
KeesCBakker Aug 10, 2016
dff1ee4
Seperated animation from the BlinkStick class. AnimationState is used…
KeesCBakker Aug 10, 2016
224dfb3
Using is not needed.
KeesCBakker Aug 10, 2016
fa99319
Devices now signal that they are being disconnected.
KeesCBakker Aug 10, 2016
924f523
Fixed StackOverflow exception
KeesCBakker Aug 10, 2016
1317dba
Pulse animation now starts dark. Fixed duration (it took twice the ti…
KeesCBakker Aug 10, 2016
3c15eba
Moved string methods to meta.
KeesCBakker Aug 11, 2016
a8c8b9a
Use same queue method. Make sure thread is not running when start is …
KeesCBakker Aug 11, 2016
b080d93
Clone with size expands or reduces array based on content.
KeesCBakker Aug 11, 2016
280965d
Added morph. Added namespaces. Animation classes are now public.
KeesCBakker Aug 11, 2016
da0be8f
Use Morph, luke!
KeesCBakker Aug 11, 2016
06042d4
Added morph. Added namespaces. Animation classes are now public.
KeesCBakker Aug 11, 2016
38a1315
Moved string methods to meta.
KeesCBakker Aug 11, 2016
9610702
Animation merge
KeesCBakker Aug 11, 2016
214a916
Version info
KeesCBakker Aug 11, 2016
8ff001e
Helps to see the difference between builds on GitHub
KeesCBakker Aug 11, 2016
c1cce0c
Nuget packag info
KeesCBakker Aug 11, 2016
a8deccf
Queue now has a connect method. It is now enumerable and clearable. C…
KeesCBakker Aug 13, 2016
00afe57
Fixed null reference exception
Aug 13, 2016
0644cd9
Moved repeat and loop to the extensions. Changed the way looping work…
Aug 13, 2016
2a0404b
Renamed to project. Hopefully MyGet will now ignore this project.
Aug 13, 2016
4afebfc
Created chase dim animation
Aug 13, 2016
6fa5e58
Processor auto connects. Current colors taken from the stick.
Aug 14, 2016
f38b9ba
Merged OpenDevice and OpenCurrentDevice into OpenDevice
Aug 14, 2016
1935fc5
Merged constructors
Aug 14, 2016
477fa02
Implemented retries on fail in the adapter.
Aug 14, 2016
18cb122
Mode is now byte? instead of an int.
Aug 14, 2016
618fa16
Removed unused references.
Aug 14, 2016
9fc2dec
Fixed CloseDevice null reference. Refactored SetInfoBlock.
Aug 14, 2016
db5bdbc
Added XML documentation
Aug 14, 2016
d2948d8
IUsbDevice now support reconnection
Aug 14, 2016
78f5dad
Implemented reconnect. Removed "attempts" from BlinkStick. Stream now…
Aug 14, 2016
a615823
Removed unneeded reference.
Aug 14, 2016
a8610b5
Added integration tests from the USB Monitor, BlinkStick connect and …
Aug 14, 2016
45d36dd
Rename
Aug 14, 2016
590b514
Renamed integration tests.
Aug 14, 2016
8ebb2cd
Naming
Aug 14, 2016
3686535
Integration tests for animation
Aug 14, 2016
84261b2
Added the animations project.
Aug 14, 2016
d2f7b24
Split the central USB monitor and the specific monitors. IUsbDevice i…
Aug 14, 2016
e008438
More animation tests
Aug 14, 2016
26ddecc
First dev checkin for parallel animations
Aug 17, 2016
633e3fa
Added direction support
Aug 18, 2016
83dd8b8
Support for parallel animations
Aug 20, 2016
6bfba4e
Merge pull request #1 from KeesCBakker/dev
KeesCBakker Aug 20, 2016
9468f4e
Moved some objects around (namespaces). Documentation.
Aug 20, 2016
93845a6
Fixed moving namespaces
Aug 20, 2016
8f8dc02
Merge pull request #2 from KeesCBakker/dev
KeesCBakker Aug 20, 2016
a65780b
Animations can be created without owner for chaining.
Aug 20, 2016
1c153a2
Improved looping support for from a sequential animation.
Aug 20, 2016
0544849
Added looping back to the extension methods. Fixed a problem with the…
Aug 20, 2016
2e0854a
Added Change Color event to the IColorProcessor and the IAnimator. Ma…
Aug 20, 2016
f769997
Possible led count fix
Aug 20, 2016
a4dc467
Added LedCount() detection from stick
Aug 20, 2016
d1ce747
Removed projects outside of the base.
Aug 21, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1,030 changes: 1,030 additions & 0 deletions .vs/config/applicationhost.config

Large diffs are not rendered by default.

35 changes: 22 additions & 13 deletions BlinkStickDotNet.sln
Original file line number Diff line number Diff line change
@@ -1,30 +1,39 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LibUsbDotNet", "Components\LibWinUsb\LibUsbDotNet.csproj", "{0A78F6FF-5586-4052-8104-E23FF83A7CE1}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HidSharp", "Components\HidSharp\HidSharp.csproj", "{0DB86674-2A7B-4BDC-93C1-3F7DC771426C}"
EndProject
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BlinkStickDotNet", "BlinkStickDotNet\BlinkStickDotNet.csproj", "{7AAEBEBE-E38D-47B1-A04C-A055DCEB0757}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BlinkStickDotNet.IntergrationTests", "IntegrationTests\BlinkStickDotNet.IntergrationTests.csproj", "{AF1EC3AC-B7B0-43F3-86CD-102541EF206B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{0A78F6FF-5586-4052-8104-E23FF83A7CE1}.Debug|x86.ActiveCfg = Debug|x86
{0A78F6FF-5586-4052-8104-E23FF83A7CE1}.Debug|x86.Build.0 = Debug|x86
{0A78F6FF-5586-4052-8104-E23FF83A7CE1}.Release|x86.ActiveCfg = Release|x86
{0A78F6FF-5586-4052-8104-E23FF83A7CE1}.Release|x86.Build.0 = Release|x86
{0DB86674-2A7B-4BDC-93C1-3F7DC771426C}.Debug|x86.ActiveCfg = Debug|Any CPU
{0DB86674-2A7B-4BDC-93C1-3F7DC771426C}.Debug|x86.Build.0 = Debug|Any CPU
{0DB86674-2A7B-4BDC-93C1-3F7DC771426C}.Release|x86.ActiveCfg = Release|Any CPU
{0DB86674-2A7B-4BDC-93C1-3F7DC771426C}.Release|x86.Build.0 = Release|Any CPU
{7AAEBEBE-E38D-47B1-A04C-A055DCEB0757}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7AAEBEBE-E38D-47B1-A04C-A055DCEB0757}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7AAEBEBE-E38D-47B1-A04C-A055DCEB0757}.Debug|x86.ActiveCfg = Debug|Any CPU
{7AAEBEBE-E38D-47B1-A04C-A055DCEB0757}.Debug|x86.Build.0 = Debug|Any CPU
{7AAEBEBE-E38D-47B1-A04C-A055DCEB0757}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7AAEBEBE-E38D-47B1-A04C-A055DCEB0757}.Release|Any CPU.Build.0 = Release|Any CPU
{7AAEBEBE-E38D-47B1-A04C-A055DCEB0757}.Release|x86.ActiveCfg = Release|Any CPU
{7AAEBEBE-E38D-47B1-A04C-A055DCEB0757}.Release|x86.Build.0 = Release|Any CPU
{AF1EC3AC-B7B0-43F3-86CD-102541EF206B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{AF1EC3AC-B7B0-43F3-86CD-102541EF206B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{AF1EC3AC-B7B0-43F3-86CD-102541EF206B}.Debug|x86.ActiveCfg = Debug|Any CPU
{AF1EC3AC-B7B0-43F3-86CD-102541EF206B}.Debug|x86.Build.0 = Debug|Any CPU
{AF1EC3AC-B7B0-43F3-86CD-102541EF206B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{AF1EC3AC-B7B0-43F3-86CD-102541EF206B}.Release|Any CPU.Build.0 = Release|Any CPU
{AF1EC3AC-B7B0-43F3-86CD-102541EF206B}.Release|x86.ActiveCfg = Release|Any CPU
{AF1EC3AC-B7B0-43F3-86CD-102541EF206B}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(MonoDevelopProperties) = preSolution
StartupItem = Components\LibWinUsb\LibUsbDotNet.csproj
Expand Down
370 changes: 370 additions & 0 deletions BlinkStickDotNet/Animations/AnimationExtensions.cs

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions BlinkStickDotNet/Animations/AnimationState.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
namespace BlinkStickDotNet.Animations
{
/// <summary>
/// Manages the animation state.
/// </summary>
public class AnimationState
{
/// <summary>
/// Gets or sets a value indicating whether this <see cref="AnimationState"/> is stopped.
/// </summary>
/// <value>
/// <c>true</c> if stopped; otherwise, <c>false</c>.
/// </value>
public bool Stopped { get; set; }
}
}
8 changes: 4 additions & 4 deletions BlinkStickDotNet/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.

[assembly: AssemblyTitle("BlinkStick.Hid")]
[assembly: AssemblyDescription("BlinkStick Generic Hid Library")]
[assembly: AssemblyTitle("BlinkStick HID")]
[assembly: AssemblyDescription("BlinkStick Generic Hid Library with KeesTalksTech modifications")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Agile Innovative Ltd")]
[assembly: AssemblyCompany("KeesTalksTech")]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably a bit presumptuous to change the company name on the assembly.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hahaha... I think it was an automatic rename. I'm moving the animations to another project.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Has been a while. I did it to see the difference between the projects (the DLL from the Nuget package is not an official DLL).

[assembly: AssemblyProduct("BlinkStick")]
[assembly: AssemblyCopyright("Arvydas Juskevicius")]
[assembly: AssemblyTrademark("")]
Expand All @@ -17,7 +17,7 @@
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
// and "{Major}.{Minor}.{Build}.*" will update just the revision.

[assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("2.0.*")]

// The following attributes are used to specify the signing key for the assembly,
// if desired. See the Mono documentation for more information about signing.
Expand Down
Loading