I've tested the FX support on a g512 and all command work just fine with
the exception of not being able to set a logo color simply because there
is no backlit logo…
This patch just updates the help notice which mentions that the FX
commands are only tested on the g810, suggesting that they might not
work on other keyboards.
I took the liberty to create a Fedora Copr repository for this project
to make this easier to install. I've added the installation instructions
to `INSTALL.md` in case you want to add it there.
> https://copr.fedorainfracloud.org/coprs/lkiesow/g810-led/
Raw use of 0xFF as the effectpart byte is device-undefined and was
implemented as a wrapper around mutliplle native effects calls as well
as handling the indicators. Logic was previously implemented in the
application, allowing for library use in this particular case to have
undefined behavior.
Signed-off-by: Kevin Pearson <pearson.kevin.m@gmail.com>
GPRO udev rule needs to use the /etc/g810-led/profile path like
the others.
Removed uninstallation of g810-led.service that is not being installed
in setup.
Signed-off-by: Lauri Leukkunen <lauri@rahina.org>
Help output does not need to initialize a device, so rearrange
the parsing to check for help commands prior to performing
any device IO.
Signed-off-by: Kevin Pearson <pearson.kevin.m@gmail.com>
Change argument parsing to segregate options from the command
Add -dv -dp and -ds options to allow matching a vendor ID, device ID,
and/or device serial number.
Modify --list-keyboards to parse the DeviceInfo vector and output
information to stdout.
Signed-off-by: Kevin Pearson <pearson.kevin.m@gmail.com>