1
0
mirror of https://github.com/MatMoul/g810-led.git synced 2024-12-23 17:26:11 +00:00
Commit Graph

310 Commits

Author SHA1 Message Date
Lars Kiesow
e13deb8460 Fedora Packages
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/
2018-10-31 19:20:09 +01:00
b707deb6d3 Version 0.2.8 2018-09-13 22:07:08 +02:00
1e16ee0844 Merge branch 'lanodan-fix/makefile' into stdvar 2018-09-13 21:48:03 +02:00
Haelwenn (lanodan) Monnier
87b2de95c9
makefile: Fix issues on code review
Code review: https://github.com/gentoo/gentoo/pull/9476#discussion_r216123340
2018-09-09 05:15:51 +02:00
Haelwenn (lanodan) Monnier
5fa7760e53
makefile: Use standard variables and reuse the environment 2018-08-31 01:25:29 +02:00
68551c65ec Add support to G512 and G513 2018-08-01 23:37:29 +02:00
92e656d199 Merge pull request #107 from simon-wh/develop
Fixed spelling and grammar in the README and INSTALL md files
2017-10-26 20:57:20 +02:00
GREAT_BIG_BUSHY_BEARD
33912d8dce Fixed heading consistency 2017-10-25 23:38:46 +01:00
GREAT_BIG_BUSHY_BEARD
7961599cec Fix spelling mistakes and grammar in README and INSTALL 2017-10-25 23:37:43 +01:00
f820ef62df Update README.md 2017-08-09 22:06:35 +02:00
1b480ae4c2 Version 0.2.7 2017-08-09 17:02:37 +02:00
0a7ee5b858 Add G413 support 2017-08-02 11:43:03 +02:00
476bf8b5af Add G413 support 2017-08-01 22:51:20 +02:00
a3469402ba Version 0.2.6 2017-05-26 20:14:59 +02:00
16b10741b2 Update CONTRIBUTING.md 2017-05-26 20:14:05 +02:00
7d40992489 patch multiple keyboards lost support 2017-05-26 17:26:43 +02:00
96f524a532 Merge pull request #91 from pearsonk/fix-native-all
Move handling of NativeEffectPart::all to library
2017-05-26 17:25:03 +02:00
Kevin Pearson
07aa241058 Move handling of NativeEffectPart::all to library
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>
2017-05-26 10:11:16 -04:00
9944719656 Version 0.2.5 2017-05-21 00:37:50 +02:00
1a65c3914c Merge pull request #87 from PFCKrutonium/bug_sometime_wrong_key_color
Create colors profile
2017-05-21 00:28:14 +02:00
Krutonium
f7edfe31bf Fix Bad Character on fkeys as noticed in #85 2017-05-20 18:26:23 -04:00
Krutonium
a1631f15c7 Create colors 2017-05-20 18:21:31 -04:00
d6d976322e Bug Solution 1 2017-05-19 20:37:49 +02:00
7646be49cb Version 0.2.4 2017-05-14 19:02:40 +02:00
a40867b190 Merge pull request #79 from lleukkun/fix-gpro
Fix gpro and uninstall target
2017-05-14 13:40:47 +02:00
Lauri Leukkunen
3f40566063 Fix gpro and uninstall target
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>
2017-05-14 09:46:34 +03:00
a77afe92f4 bug correction 2017-05-13 01:12:39 +02:00
9b7158c6f0 Add resources repo 2017-05-12 22:55:24 +02:00
16e4784164 Version 0.2.3 2017-05-12 21:34:08 +02:00
c540803266 Make gpro ready for release 2017-05-12 21:29:12 +02:00
40cdb3c731 Merge pull request #76 from lleukkun/add-pro-support
Add PRO support
2017-05-12 19:55:34 +02:00
Lauri Leukkunen
bca3eeb469 Add PRO support
Initial PRO support, effectively treat as g810

Signed-off-by: Lauri Leukkunen <lauri@rahina.org>
2017-05-10 14:10:38 +03:00
ac8ce20fff Expose SupportedKeyboards var in LedKeyboard class 2017-05-07 04:02:34 +02:00
2e5519260f Version 0.2.2 2017-05-07 02:06:04 +02:00
612ebf61b1 Update INSTALL.md 2017-05-07 02:04:35 +02:00
323b7e6fad Update makefile : add make bin 2017-05-07 01:34:37 +02:00
b88e839978 Add feature flags to filter help messages 2017-05-07 01:32:31 +02:00
2e20286a07 Rename TODO.md to CONTRIBUTING.md 2017-05-06 23:13:52 +02:00
ebb41b8037 Add new arg -tuk for testing unsuported keyboard 2017-05-06 22:41:08 +02:00
11865ca560 Version 0.2.1 2017-04-29 17:09:43 +02:00
775eb5f549 Update makeversion 2017-04-29 17:09:27 +02:00
a0d6156f58 Update README 2017-04-29 17:06:01 +02:00
7c96ec51bc Code formating 2017-04-29 16:58:02 +02:00
c475fc46fd Update project 2017-04-29 16:57:23 +02:00
cbb416527b Merge pull request #73 from pearsonk/SpecDevice
Support specifying a specific device for executing commands
2017-04-29 15:15:44 +02:00
Kevin Pearson
c19d4760ce Rearrange argument parsing for help commands
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>
2017-04-29 08:55:53 -04:00
Kevin Pearson
114fa9b703 Augment command arg parsing to set specific device
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>
2017-04-28 16:18:37 -04:00
Kevin Pearson
53876ac54e Add utility to convert string to uint16_t
Purpose for this is for command argument parsing of vendor and product
IDs

Signed-off-by: Kevin Pearson <pearson.kevin.m@gmail.com>
2017-04-28 16:18:37 -04:00
Kevin Pearson
4b2a1002e8 Add support for opening a specific device
Allow filtration and matching of specified Device ID, Product ID, Serial
Number

Fix an issue in listKeyboards (hidapi) with an out of bounds search when
using serial number

Fix possible null reference problem in listKeyboards (hidapi) that
caused rare segfaults when traversing the device enumeration in
increments of two

Fix handling of output of listKeyboards (hidapi) where it was
incrementing the dev list pointer, then accessing the node to look for
device serial number (potential security risk)

Fix handling of serial number output of listKeyboards (hidapi) to handle
wchar_t instead of outputting the memory address

Fix issue in listKeyboards (libusb) failure to finish cleaning up USB
contexts, leading to a segfault if calling a separate function after
listing keyboards.

Fix issue in close (libusb) segfaulting if m_hidHandle was null, so
added a check.

Modify listKeyboards to provide a vector of DeviceInfo objects that can
be used by calling applications instead of outputting to stdout directly.

Implement a struct to hold information regarding device information and
ability for a library caller to query this information to make decisions
about the currently targeted device.

Signed-off-by: Kevin Pearson <pearson.kevin.m@gmail.com>
2017-04-28 16:18:37 -04:00
fa7ed57ec1 Merge pull request #71 from pearsonk/IntegrateVersioning
Unify version string
2017-04-28 22:05:43 +02:00