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

391 Commits

Author SHA1 Message Date
Dylan Baker
04370a1dae meson: Add a meson build system
meson is a build system generator similar to cmake or autotools, but
without the crazy of either of those languages. It provides a pleasant
scripting language that is inspired by languages like python, but is not
python. It has a non-turing complete language, with an emphasis on
upstream functionality instead of downstream scripts. It has support for
most Unix-like OSes, including linux, the four major BSDs, and macOS.
this includes support for abstracting dependency discovery, using
pkg-config, macOS frameworks, cmake, and some hand coded extensions.

It provides nice features like builtin support for debug builds,
changing from static to shared library builds, turning warning arguments
on and off, generates for pkg-config, and other modern niceties.

For g810-led this provides a number of advantages for distro packaging.
Distros already use meson for projects like mesa, systemd, and gnome, so
they're packaging wrappers already know how to configure, build, and
install meson based packages. It also provides advantages when moving to
other platforms, as meson understands the difference between clang,
apple's clang fork, gcc, and a host of other compilers.
2020-05-07 15:53:29 -07:00
e1c529c1cd Version 0.4.1 2020-05-06 01:20:11 +02:00
6d9058a017 Finalize g815 2020-05-06 01:13:18 +02:00
5e093c1581 Version 0.4.0 2020-04-28 02:21:29 +02:00
9056fad33a Update README 2020-04-28 02:20:34 +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
999889f7de
Merge pull request #208 from pfsmorigo/master
Add support for g512
2020-04-25 22:26:35 +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
81aff33c1f Merge branch 'cornernote-develop' into g815 2020-04-25 17:41:36 +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
a1b1127046
Merge pull request #195 from localleon/profile-docu
Improving Documentation for Profiles
2019-11-18 23:19:01 +01:00
localleon
14e331ad2a Adding seperate Profile Sections in README 2019-10-29 17:46:51 +01:00
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
MatMoul
37d98ada71
Merge pull request #191 from pearsonk/g815
G815 Effects Support
2019-10-16 22:58:16 +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
MatMoul
3c42eee3e8
Merge pull request #190 from pearsonk/g815
Set two protocol bytes for effects
2019-09-23 21:38:57 +02:00
118631d184 Version 0.3.9 2019-09-21 00:44:32 +02: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
MatMoul
895861c185
Merge pull request #184 from Krutonium/master
Updated Install.MD
2019-09-09 21:28:00 +02:00
Krutonium
4f927ea954
Add Trizen 2019-09-08 15:28:43 -04:00
Krutonium
2a23006c9b Updated Arch Instructions; yaourt is deprecated and yay has effectivly replaced it 2019-09-06 03:37:25 -04:00
Krutonium
3c26fc81cf Add Solus install instructions, Minor Formatting 2019-09-06 03:36:18 -04:00
dfd170f0c1 Version 0.3.8 2019-08-28 22:35:47 +02:00
MatMoul
0d4600e8f7
Merge pull request #181 from lanodan/fix/makefile-clang
makefile: Fix compiling with clang
2019-08-28 22:32:16 +02:00
Haelwenn (lanodan) Monnier
0f1853e30b
makefile: Fix compiling with clang 2019-08-28 10:22:52 +02:00
b00ba8aa0c Version 0.3.7 2019-07-25 22:00:58 +02:00
a6586266f1 upadate udev rules 2019-07-25 21:59:49 +02:00
8d39f90e10 Version 0.3.6 2019-07-19 21:48:44 +02:00
MatMoul
8ce51a2295
Merge pull request #177 from olayad/master
Fixed path in Sample instructions from README.md
2019-07-19 21:45:56 +02:00
Daniel Olaya
d5b2507e41 Fixed path in Sample instructiosn 2019-07-18 22:15:40 -07:00
linusmartensson
3c06d8f952
Update g810-led.rules
I had problems (with g513) where the udev rules were causing the script to run repeatedly, glitching any effects and stopping regular commands from executing. The singular version "SUBSYSTEM" instead of "SUBSYSTEMS" seems to fix that. YMMV
2019-06-26 17:34:27 +02:00
acdac95624 Version 0.3.5 2019-06-23 19:11:24 +02:00
1c487472df Merge branch 'misuchiru03-muslfix' into develop 2019-06-23 19:09:41 +02:00
Alex Childs
31b7aa7754 Use correct stdint types 2019-06-18 08:18:46 -05:00
170b8a488d Version 0.3.4 2019-05-26 02:08:55 +02:00
24c8ae45a3
Merge pull request #171 from sebdel/develop
Add missing -p argument help
2019-04-02 21:36:10 +02:00
Sebastien Delestaing
b39e899101 Add missing -p argument help 2019-04-02 10:33:20 +02:00