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

50 Commits

Author SHA1 Message Date
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
ac8ce20fff Expose SupportedKeyboards var in LedKeyboard class 2017-05-07 04:02:34 +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
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
9ae812b88e Finalization of g213 support 2017-04-21 23:00:21 +02:00
Kevin Pearson
793aa0d557 Initial work to add G213 support
Currently supported:
- G213 by region {1..5}
- Standard FX calls
- Startup behavior
- Help and command-line app support

resolves MatMoul/g810-led#69

Signed-off-by: Kevin Pearson <pearson.kevin.m@gmail.com>
2017-04-20 21:26:48 -04:00
5bdc691ddd Clean code 2017-03-11 21:35:39 +01:00
5ca929f15e Clean code 2017-03-11 21:34:29 +01:00
e233ad903f Remove commit for RM Keys 2017-03-11 21:16:38 +01:00
8931db5685 Add GKeys mapping mode suport 2017-03-11 21:14:50 +01:00
148bd480df Add MKeys profile support 2017-03-11 18:11:40 +01:00
be7d367079 Add MKeys led control 2017-03-11 17:56:40 +01:00
529c22aecb Update FX indicators color 2017-01-26 04:49:15 +01:00
bcdcee88f1 Switch to hidapi 2017-01-21 22:45:48 +01:00
c2c8f6b7ac Full refactor code 2017-01-21 09:15:18 +01:00
83d16a23c1 Bug correction in sendDataInternal 2017-01-11 20:25:37 +01:00
f4ea0405cd Add FX features 2017-01-08 03:23:13 +01:00
c8a579a8f2 Clean code 2017-01-06 06:31:42 +01:00
3596a85315 Add profile pipe support 2017-01-06 06:08:09 +01:00
56d5307043 Add natives effects support in profile 2016-12-30 22:27:53 +01:00
4bfa9811b3 Add wave effect 2016-12-30 21:35:26 +01:00
3b13f247b5 Add native effect support 2016-12-30 17:55:19 +01:00
5a2bff5225 Add first shot for effect code 2016-12-30 01:30:17 +01:00
800548ac5b Add gkeys in help 2016-12-24 05:50:14 +01:00
3af149101e Reindent with tab 2016-12-08 22:43:08 +01:00
69281f01d5 Imrove help and readme for g910 2016-12-03 15:22:03 +01:00
31144f67ce Move keyboard detection to Keyboard.cpp 2016-11-12 00:34:59 +01:00
7afb90dc20 Merge branch 'master' of git://github.com/larsnaesbye/g810-led into larsnaesbye-master 2016-10-31 22:31:56 +01:00
Lars Næsbye Christensen
24f8bf2c2f simple typo fix 2016-10-31 18:16:36 +01:00
089ff25f3e Clean code 2016-10-30 01:03:14 +02:00
bcafbf8f62 Merge branch 'keynames_backup' into keynames 2016-10-30 00:58:20 +02:00
bd1fbd9983 Optimize multiple pid detection 2016-10-29 22:49:35 +02:00
a7bd3687b3 Add support of multiple pid 2016-10-29 22:22:30 +02:00
d5e608d666 test 2016-10-29 18:48:47 +02:00
76a8e09fe1 align key name to const name 2016-10-29 16:42:44 +02:00
0068071c0c Add -lk (list keys) help) 2016-10-29 15:36:14 +02:00
e66e6af560 Add -lk (list keys) help) 2016-10-29 15:35:31 +02:00
0a33131ce6 Add -lk (list keys) help) 2016-10-29 15:20:41 +02:00
e974c23ac8 Reactivate no commit features 2016-08-17 00:15:02 +02:00
631f2b3c95 Remove no commit features 2016-08-09 21:40:09 +02:00
77bdebc998 Make var generic for other models 2016-08-07 20:22:27 +02:00
44e029c57d Add G410 support 2016-08-07 19:40:48 +02:00
345bcbfcbf Improve code 2016-06-19 00:38:19 +02:00
c93f8beae8 Remove Raws because it work best as profile 2016-06-17 21:13:04 +02:00
a34d7e230f Remove Raws because it work best as profile 2016-06-17 21:10:41 +02:00
cea8c98f03 Remove Raws because it work best as profile 2016-06-17 21:09:02 +02:00
6919d66847 remove text feature 2016-06-12 23:37:07 +02:00
fdc8220e70 First commit 2016-06-12 22:16:07 +02:00