Commit Graph
100 Commits
Author SHA1 Message Date
Tasos Sahanidis d6a5c4f3c6 Merge branch '0.4.0-release' 2019-03-09 01:26:57 +02:00
Tasos Sahanidis 666f2d074d Update changelog and enable release flag 2019-03-09 01:26:19 +02:00
Tasos Sahanidis d5e080b160 Fix mviz defaulting to single colour mode 2019-03-08 08:03:33 +02:00
Tasos Sahanidis 6fdf6c4fd4 Merge branch 'monochrome-red-only' 2019-03-07 13:27:42 +02:00
Tasos Sahanidis 149bb79523 Only send the red channel for monochrome devices 2019-03-07 13:27:33 +02:00
Tasos Sahanidis e1db20fca1 Merge branch 'null-ptr-fix' 2019-03-07 13:10:33 +02:00
Tasos Sahanidis 948d2ac301 Fix a few null pointer issues 2019-03-07 13:10:27 +02:00
Tasos Sahanidis 385583ee3f Add default profiles for K55, ST100, Polaris 2019-03-07 12:24:04 +02:00
Tasos Sahanidis fe3a27bd9f Squashed commit of the m95 branch:
This commit adds support for the M95 mouse

As a sideffect, a new generic usbsend function for URB Controls has
been added. This will be used as a base for the Void and the Y730.
2019-03-07 09:38:23 +02:00
Tasos Sahanidis 4dcd68d91f Don't enable mviz by default on mac 2019-03-06 12:25:53 +02:00
Tasos Sahanidis c8dac91f8a Merge branch 'mac-ini-settings' 2019-03-05 23:04:45 +02:00
Tasos Sahanidis ef255342c5 Disable unsupported hwsave in kbprofiledialog
Closes #312
2019-03-05 22:52:41 +02:00
Tasos Sahanidis 8e8ac7c2fc Various GUI fixes
- Empty animation names are no longer allowed
- Animation script names are added in parentheses after the preset
- Default preset names are replaced with script names
- Longer animation names can now fit in the GUI
2019-03-05 21:49:53 +02:00
Tasos Sahanidis 060a888267 Use ini storage for the GUI on mac
This code also migrates from plist to ini
2019-03-05 19:33:35 +02:00
Tasos Sahanidis ff4371b6dc Merge branch 'feature/increase-signal-safety' 2019-03-05 19:32:57 +02:00
Tasos Sahanidis e28973b04b Remove sigprocmask
It was a left over from a long time ago and broke signals in tsan
2019-03-05 19:25:11 +02:00
Tasos Sahanidis db1eb4ea44 Merge branch 'rework-mviz' 2019-03-05 19:23:47 +02:00
Tasos Sahanidis 2be65f88ea Add link to mviz instructions 2019-03-05 19:22:48 +02:00
Tasos Sahanidis 275848126a Re-enable single colour mode in mviz 2019-03-05 19:22:48 +02:00
Tasos Sahanidis c7afd2538e Add PortAudio switch to cmake and various fixes 2019-03-05 19:22:47 +02:00
Tasos Sahanidis 4eca7c161d Various fixes and improvements
- Updated KissFFT
- Added device id choice for PortAudio
- Fixed memory leak during FFT
2019-03-05 19:22:15 +02:00
Tasos Sahanidis 1333e40d87 Start implementing variables to mviz 2019-03-05 19:22:15 +02:00
Tasos Sahanidis f6ed85350f Rework mviz code
- A good chunk of the code has been rewritten.
- The keys are now mapped properly, and a Hann window is applied
to the data before being passed to kissfft.
- Attempt to add portaudio support

Needs some cleanup, as there are some duplicate arrays and other
minor issues
2019-03-05 19:22:15 +02:00
Tasos Sahanidis 47ce5e2e02 Merge branch 'pipe-rewrite' 2019-03-05 17:21:34 +02:00
Tasos Sahanidis 6b7eebff69 Add pipe animation 2019-03-05 17:13:45 +02:00
Tasos Sahanidis 0552b8be71 Allow AppIndicator if the platform theme is gtk2 2019-03-04 18:35:04 +02:00
Tasos Sahanidis 34417d7ea8 Merge branch 'snake' 2019-03-02 03:06:13 +02:00
Tasos Sahanidis 9e9cc83214 Add snake animation 2019-03-02 03:05:56 +02:00
Tasos Sahanidis d2e573cc9c Update FW table 2019-02-27 21:36:00 +02:00
Tasos Sahanidis 7cce023362 Update FW table 2019-02-17 20:35:53 +02:00
Tasos Sahanidis 6289c340c9 Add missing break for M65E 2019-02-17 19:52:53 +02:00
Tasos Sahanidis 569faa1ae7 Merge branch 'm65-rgb-elite' 2019-02-17 19:17:40 +02:00
Tasos Sahanidis 12c863fee7 Disable hwload for M65 Elite 2019-02-17 19:15:52 +02:00
Tasos Sahanidis 817528596e Split M65 Elite to its own layout
It uses "wheel" instead of "front", so it needs to be on a separate
layout, otherwise it won't trigger the incompatible layout warning
in the GUI when importing profiles from M65/M65 Pro
2019-02-17 19:14:01 +02:00
Tasos Sahanidis 80ffcec9c5 Merge branch 'm65-no-deactivation' 2019-02-17 18:45:59 +02:00
Tasos Sahanidis d5adfb1505 Revert "Don't submit another URB while shutting down"
This reverts commit 106c474462.
Needs further investigation as it sometimes breaks coming
out of sleep
2019-02-17 18:15:47 +02:00
Tasos Sahanidis cf0d31f3ea Add M65 RGB Elite to FW table 2019-02-08 06:06:23 +02:00
Tasos Sahanidis c98698b95f Update FIRMWARE 2019-02-08 05:41:46 +02:00
Tasos Sahanidis 276d2b6382 Remove M65 deactivation packet 2019-02-03 22:36:10 +02:00
Tasos Sahanidis f826ff64f3 Merge branch 'mac-handles-log' 2019-01-31 20:47:11 +02:00
Tasos Sahanidis f2c7c10672 Print handles to stdout by default on mac 2019-01-30 00:14:39 +02:00
Tasos Sahanidis d7187fae15 Revert "Unlock dmutex from the same thread"
This reverts commit 3f7384c1b7.
Seems to cause a rare bug where the daemon only initialises the first
device, and then starts the input thread twice for the same device
2019-01-27 22:59:00 +02:00
Tasos Sahanidis 106c474462 Don't submit another URB while shutting down
This fixes:
- usbfs: process (ckb1 input) did not claim interface X before use
- daemon not passing control back to the kernel
2019-01-27 16:33:02 +02:00
Tasos Sahanidis 1be7af8244 Merge branch 'feature/remove-restart' 2019-01-27 14:50:18 +02:00
Tasos Sahanidis 0932a819c5 Fix builds with Qt 5.2
QProcess:processId() was added in 5.3, but trusty has 5.2
2019-01-20 21:15:17 +02:00
Tasos Sahanidis 6d09c1c718 Merge branch 'ushort_ids' 2019-01-20 15:28:13 +02:00
Tasos Sahanidis 74e9484e2a Merge branch 'mutex-fix' 2019-01-20 15:20:49 +02:00
Tasos Sahanidis 900a3d7741 Fix iconv data race 2019-01-19 11:56:29 +02:00
Tasos Sahanidis 3f7384c1b7 Unlock dmutex from the same thread 2019-01-19 11:56:29 +02:00
Tasos Sahanidis 46e7cdb232 Update FIRMWARE 2019-01-18 23:16:30 +02:00
Tasos Sahanidis 66b457fdd4 Convert usb ids to unsigned shorts 2019-01-14 14:55:18 +02:00
Tasos Sahanidis 0afde02f68 Merge branch 'new-udev-rules-location' 2019-01-12 17:50:37 +02:00
Tasos Sahanidis de3af263e2 Remove old udev rules only if unmodified
Additionally, rules are now installed in /lib/udev/rules.d/
in order to account for older udev/systemd versions
2019-01-12 17:48:47 +02:00
Tasos Sahanidis afd4baf46b Merge 'ckb-next-kedstar99/rename-udev-rules' 2019-01-12 17:46:13 +02:00
Tasos Sahanidis 901eb84d54 Merge branch 'issue-template' 2019-01-12 15:00:34 +02:00
Tasos Sahanidis 31a55aff57 Reword and simplify the issue template 2019-01-12 14:01:38 +02:00
Tasos Sahanidis 2df8286532 Merge branch 'named-threads'
Closes #343
2019-01-10 10:06:30 +02:00
Tasos Sahanidis 618e0d4606 Add warning regarding DEV_MAX 2019-01-10 10:06:16 +02:00
Tasos Sahanidis ad2ed2e3fc Refuse to load animations with no presets 2019-01-08 12:13:44 +02:00
Tasos Sahanidis a02e463702 Fix rename action in profile manager
repopulate() would get callled, deleting the item that was supposed
to be renmamed by the user.
2019-01-07 15:43:26 +02:00
Tasos Sahanidis 6306c688e9 Revert "Don't hardcode systemd unit file install path"
This reverts commit 4e9b70c316.
2018-12-27 21:54:57 +02:00
Tasos Sahanidis 2fb5ba67db Merge branch 'cli-switch' 2018-12-24 21:19:50 +02:00
Tasos Sahanidis 00cd6e3a8f Add --profile and --mode to GUI 2018-12-24 21:19:24 +02:00
Tasos Sahanidis a2d406509a Merge branch 'tray-brightness' 2018-12-23 02:00:30 +02:00
Tasos Sahanidis f8678b898f Merge branch 'daemon-version-flag' 2018-12-23 02:00:14 +02:00
Tasos Sahanidis 03ffc2ddee Show warning about scroll on tray being disabled 2018-12-23 01:43:34 +02:00
Tasos Sahanidis 09f1f0faa5 Change brightness when scrolling on the tray icon 2018-12-23 01:43:33 +02:00
Tasos Sahanidis 41f8c28563 Merge branch 'monochrome-tray-icon' 2018-12-23 01:38:23 +02:00
Tasos Sahanidis d681c33df5 Merge branch 'l2yfix' 2018-12-22 21:37:52 +02:00
Tasos Sahanidis 8db1a7d112 Add new FIRMWARE blobs to the table 2018-12-10 22:56:55 +02:00
Tasos Sahanidis de483fe7a4 Fix stack buffer overflow in firmware.c
Off by one
2018-12-09 21:10:10 +02:00
Tasos Sahanidis 2b7b3e4b57 Remove -Og from Debug
Causes more trouble than it's worth
2018-12-04 19:32:34 +02:00
Tasos Sahanidis 57cdf16aa9 Properly implement AppIndicator env var
It's been renamed to CKB_NEXT_USE_APPINDICATOR and can now also
be used to force-disable it
2018-12-01 02:11:18 +02:00
Tasos Sahanidis 1851f03dd3 Properly position Strafe MK2 Mute and Volup/dn
Thanks to @rafaelpap
Closes #302
2018-11-29 04:19:17 +02:00
Tasos Sahanidis 0611711a2c Update K95 Platinum FW to 0321 2018-11-27 04:48:14 +02:00
Tasos Sahanidis 418af41193 Fix STRAFE_MK2 logo
Closes #300
2018-11-26 05:21:20 +02:00
Tasos Sahanidis 864f91f81b Add K70 MK2 LP 2018-11-23 21:34:45 +02:00
Tasos Sahanidis 454236cedc Add K70 RGB MK2 LP to FIRMWARE 2018-11-23 20:30:44 +02:00
Tasos Sahanidis 448f337b52 Merge branch 'mac-u16dec-align' 2018-11-03 21:55:01 +02:00
Tasos Sahanidis ab9b176680 Fix u16dec alignment warning
cast from 'char *' to 'ushort *' (aka 'unsigned short *') increases
  required alignment from 1 to 2 [-Wcast-align]
u16dec((ushort*)buffer + 1, output, &inl, &outl);
       ^~~~~~~~~~~~~~~
1 warning generated.
2018-11-03 12:12:51 +02:00
Tasos Sahanidis 0429e1afff Merge 'ckb-next-ryanfitzsimon/master' 2018-11-02 16:44:03 +02:00
Tasos Sahanidis 6c83cdf284 Remove extra whitespace 2018-11-01 22:52:54 +02:00
Tasos Sahanidis eb106ffb90 Only show the colour picker warning on linux 2018-10-28 05:43:28 +02:00
Tasos Sahanidis fe933d1740 Merge branch 'improved-cond-error' 2018-10-25 02:58:01 +03:00
Tasos Sahanidis 84ffa8153d Merge branch 'st100-mac' 2018-10-15 14:41:27 +03:00
Tasos Sahanidis 48a4657ab2 Add ST100 to usb_mac 2018-10-15 14:41:10 +03:00
Tasos Sahanidis 9ac01205b7 Make GUI version text selectable 2018-10-11 13:21:07 +03:00
Tasos Sahanidis 487d2d9b18 Set IS_RELEASE flag to false 2018-10-09 15:56:26 +03:00
Tasos Sahanidis 79b44e604b Merge branch 'updater' 2018-10-08 23:56:27 +03:00
Tasos Sahanidis a82939c5c9 Merge 'ckb-next-kedstar99/master' 2018-10-08 23:45:46 +03:00
Tasos Sahanidis 89e95b53b4 Add updater 2018-10-08 00:45:32 +03:00
Tasos Sahanidis e2c0b97cf0 Update FIRMWARE to prevent fw updates on older sw
This will prevent Scimitar Pros from getting bricked due to FW
updates, and possibly STRAFE ISSI/Fullrange Monochrome
2018-10-08 00:22:50 +03:00
Tasos Sahanidis 1198b9aa13 Merge 'ckb-next-maage/kissfft-static' 2018-10-08 00:05:48 +03:00
Tasos Sahanidis 5416a6843a Merge branch 'wheel-unbind'
Closes #259
2018-10-07 16:11:20 +03:00
Tasos Sahanidis 1788b6c1fd Merge branch 'mac-kext-wait' 2018-10-07 14:07:38 +03:00
Tasos Sahanidis 2447df0742 Wait for the kext to be ready after loading it
Closes #257
2018-10-07 14:06:25 +03:00
Tasos Sahanidis 9986dc2831 Add --version flag to daemon
Additionally, update the url to the daemon manual
2018-10-06 18:45:32 +03:00
Tasos Sahanidis 2c39451066 Fix unbound wheel notifications 2018-10-04 23:11:13 +03:00
Tasos Sahanidis a2fc54cf3e Merge branch 'invaders' 2018-09-21 19:09:22 +03:00
Tasos Sahanidis 7132ad01b4 Merge 'ckb-next-pearsonk/segregate-quazip' 2018-09-21 19:08:53 +03:00