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

175 Commits

Author SHA1 Message Date
MatMoul
db6fae8e80
Merge pull request #241 from dioni21/abnt_keyboard
Add new key for ABNT keyboards: abnt_slash
2021-09-05 03:29:42 +02:00
Kevin Pearson
0998cc370d Add error context to failures to open devices
This should address common misconceptions of "No matching or compatible
device found" by isolating permission problems from lack of a matching
device in the system.
2020-10-01 10:55:03 -04:00
Joao Carlos Mendes Luis
e0cade190f Add new key for ABNT keyboards: abnt_slash
USB Scan Code: 0x87
Windows Direct Input Name: ABNT_C1
2020-09-12 17:11:30 -03:00
669b9d9479 Bug: G812 set individual keys 2020-05-19 23:41:09 +02:00
6d9058a017 Finalize g815 2020-05-06 01:13:18 +02:00
5ba6063ad2 Resolve merge conflicts 2020-04-26 18:48:26 +02:00
3cea57cf4b g815 basic support 2020-04-26 18:36:18 +02:00
b6051dfe8a g815 all keys support 2020-04-26 08:57:20 +02:00
MatMoul
10b01b6206
Merge pull request #204 from cornernote/patch-1
fix error when compiling - missing enums in switch
2020-04-25 22:29:44 +02:00
MatMoul
b61655fe59
Merge branch 'develop' into master 2020-04-25 22:22:11 +02:00
0a1cc29e8d Fix make error 2020-04-25 22:14:08 +02:00
b8f51d777a Merge branch 'cornernote-patch-1' into g815 2020-04-25 22:09:23 +02:00
376b61f791 Merge branch 'patch-1' of https://github.com/cornernote/g810-led into cornernote-patch-1 2020-04-25 22:08:52 +02:00
cornernote
f1284cc0b7 remove unneeded switch 2020-01-17 10:45:26 +10:30
cornernote
b881e69698 tweak 2020-01-14 09:16:53 +10:30
cornernote
a5acdf4113 add support for g815 on-board-mode 2020-01-14 08:40:45 +10:30
cornernote
a3cbef418d updates for G815 support 2020-01-13 12:47:29 +10:30
Paulo Flabiano Smorigo
1642d2dc02
Add support for g512
Signed-off-by: Paulo Flabiano Smorigo <pfsmorigo@gmail.com>
2020-01-04 22:10:00 -03:00
Brett O'Donnell
60cefd4ee8
fix error when compiling - missing enums in switch 2019-12-20 20:05:59 +10:30
MatMoul
394f7fbbb0
Merge pull request #192 from DanEble/develop
Stop prepending a zero byte to the input of hid_write()
2019-10-16 23:10:15 +02:00
Dan Eble
d438ec2e3a Stop prepending a zero byte to the input of hid_write()
hid_write() expects a report ID in the first byte.  The 0x11 and 0x12
values sent as the first byte of commands are consistent with report
IDs published in the keyboard's USB descriptors.

This change was motivated by commands not working reliably using
hidapi on macOS with a G Pro keyboard.
2019-09-30 11:16:37 -04:00
Kevin Pearson
b938bf6c1d Add ripple and off effects
NOTE: Ripple effect (0x05) seems to have a conflict with an unadvertised
"stars"-like effect for the G410 and G810. Did not explore setting
timing for the G410/G810 effect, but is likely contrasted greatly with
the timing of the new Ripple effect. GHub limits ripple timing between
20ms and 200ms, but actual values are arbitrary and were tested up to
5000ms. Ideally should be kept within the 20-200ms range for best feel
of the effect. Logo does not honor the effect, and GHub simply sets to
the default "Logitech Blue".

Signed-off-by: Kevin Pearson <kevin.pearson@ortmanconsulting.com>
2019-09-26 08:50:46 -04:00
Kevin Pearson
1a26bf7e64 Initial g815 support: native effects
TODO: There is a new ripple effect that needs to be added. This commit
only provides support for the current effects.

Signed-off-by: Kevin Pearson <kevin.pearson@ortmanconsulting.com>
2019-09-25 08:15:22 -04:00
Kevin Pearson
59aafb262a Set two protocol bytes for effects
The g815 doesn't use 0x3c as the 5th byte, so have it specified per
device.

Signed-off-by: Kevin Pearson <kevin.pearson@ortmanconsulting.com>
2019-09-20 09:37:49 -04:00
Alex Childs
31b7aa7754 Use correct stdint types 2019-06-18 08:18:46 -05:00
Sebastien Delestaing
b39e899101 Add missing -p argument help 2019-04-02 10:33:20 +02:00
Stephen Kitt
41c930adc3
Fix 'unsupported' spelling
Signed-off-by: Stephen Kitt <steve@sk2.org>
2019-01-18 08:56:13 +01:00
f722362d66 Reverting back LICENCE file and updating src licence header file 2019-01-06 00:48:31 +01:00
0ca32299ac Update files for licences accuracy 2019-01-05 02:48:43 +01:00
Daniel Eble
af802446fb Issue #157: -fx-store sets user-stored lighting on G Pro 2019-01-02 07:21:15 -05:00
Daniel Eble
886021d033 Issue #156 (2/2): update help 2019-01-01 13:55:02 -05:00
Daniel Eble
144be79731 Issue #156 (1/2): support setting effect period in s or ms 2019-01-01 13:55:02 -05:00
Daniel Eble
2426ef641d Issue #158: Add "waves" effect found on G Pro 2019-01-01 10:12:14 -05:00
Daniel Eble
4b458ef6b7 Define g513 features as requested in pull-request feedback. 2018-12-30 21:44:02 -05:00
Daniel Eble
a4152d8a97 Issue 152: Ignore "multimedia" key group for g410, g513, and gpro.
These keyboards lack dedicated multimedia keys.
2018-12-30 21:38:24 -05:00
ea3364b791 Merge branch 'g513fix' of https://github.com/kenthor/g810-led into kenthor-g513fix 2018-12-22 02:06:09 +01:00
kenthor
1c6e6a4958 Add missing case for G513 when sending keys 2018-11-21 20:38:07 +01:00
Lars Kiesow
34496f1d48 Update FX Support Notice
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.
2018-10-31 19:23:46 +01:00
68551c65ec Add support to G512 and G513 2018-08-01 23:37:29 +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
7d40992489 patch multiple keyboards lost support 2017-05-26 17:26:43 +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
d6d976322e Bug Solution 1 2017-05-19 20:37:49 +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
b88e839978 Add feature flags to filter help messages 2017-05-07 01:32:31 +02:00
ebb41b8037 Add new arg -tuk for testing unsuported keyboard 2017-05-06 22:41:08 +02:00
7c96ec51bc Code formating 2017-04-29 16:58:02 +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