Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USBButtonConfigureColor function. #49

Closed
spdimaio opened this issue Mar 16, 2017 · 8 comments
Closed

USBButtonConfigureColor function. #49

spdimaio opened this issue Mar 16, 2017 · 8 comments
Assignees

Comments

@spdimaio
Copy link

Hello,
I’m playing with the USBButton in a Linux project and would like to use the following API function that is available in the Windows lib from Ultimarc. Is this function available in the linux version of the library? If not, how difficult would it be to add?

bool USBButtonConfigureColor(char red, char green, char blue)

Thanks in advance,
Simon

@katie-snow
Copy link
Owner

Hi Simon,

Looking at the function information in the SDK I have most likely not implemented that behavior. I have implemented the USBButtonConfigurePermanent function.

Adding the functionality for the USBButtonConfigureColor would not be hard once I have the USB data format. The functionality would be in JSON configuration file format like all the other configurations.

@spdimaio
Copy link
Author

spdimaio commented Apr 13, 2017 via email

@katie-snow
Copy link
Owner

I will be happy to add this to the library. Give me a couple of weeks, but I will get it in.

@spdimaio
Copy link
Author

spdimaio commented Apr 13, 2017 via email

@katie-snow katie-snow self-assigned this Apr 24, 2017
@katie-snow
Copy link
Owner

katie-snow commented Apr 24, 2017

This enhancement is in branch usbbutton. I will add to master when I create the next release.

@spdimaio
Copy link
Author

spdimaio commented Apr 24, 2017 via email

@katie-snow
Copy link
Owner

Yes I did testing on the physical device. It maintained the color until unplugged, then returned to stored color when plugged in.

@spdimaio
Copy link
Author

spdimaio commented Apr 26, 2017 via email

katie-snow added a commit that referenced this issue Dec 31, 2017
Add functionality for USBButtonConfigureColor SDK function.  Fixes #49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants