Commit Graph
100 Commits
Author SHA1 Message Date
Tasos Sahanidis d4ed59eba2 Add packaging and fix restart script 2019-10-08 04:30:51 +03:00
Tasos Sahanidis f6bd9e56f9 Implement daemon agent and add to GUI 2019-10-08 04:10:32 +03:00
Tasos Sahanidis 7aaa5d1a4f More errors 2019-10-08 04:10:32 +03:00
Tasos Sahanidis 22020b46f7 Fix compile errors 2019-10-08 04:10:32 +03:00
Tasos Sahanidis 155254c3ad Allow the daemon to request HID access without root 2019-10-08 04:10:32 +03:00
Tasos Sahanidis 752a22d28c Enable mviz in mac builds 2019-10-08 04:02:13 +03:00
Tasos Sahanidis 098554ded7 Merge branch 'device-desc-list' 2019-09-28 20:51:37 +03:00
Tasos Sahanidis 5792f0032f Merge 'ckb-next-turtleb01/master' 2019-09-17 23:32:37 +03:00
Tasos Sahanidis d77d14a8a7 Merge branch 'ironclaw'
Closes #345
2019-09-17 19:28:26 +03:00
Tasos Sahanidis d0c8764d07 Fix ironclaw GUI 2019-09-17 19:05:17 +03:00
Tasos Sahanidis a43f3b40ff Add max DPI for Ironclaw RGB 2019-09-17 17:38:27 +03:00
Tasos Sahanidis 0b141c0cff Fix buttons for Ironclaw RGB 2019-09-17 16:41:35 +03:00
Tasos Sahanidis 050231f256 Add QOverload implementation for Qt < 5.7 2019-09-05 19:19:11 +03:00
Tasos Sahanidis 5e6bf5e7c5 Fix quazip. Was broken by 00c44947a 2019-09-05 16:17:24 +03:00
Tasos Sahanidis 00c44947a8 Update quazip to the latest version 2019-09-04 04:05:21 +03:00
Tasos Sahanidis e7815b952c Replace QSignalMapper with lambdas
This fixes all the deprecation warnings in the GUI
2019-09-04 03:52:51 +03:00
Tasos Sahanidis 1e49de8dc4 Show Qt deprecated warnings during Debug builds 2019-09-03 16:45:21 +03:00
Tasos Sahanidis d9c0a6f5d4 Allow for devices with different idVendor 2019-09-01 17:12:26 +03:00
Tasos Sahanidis 254aee5f5b Revert "Changelog update to reflect missing mac builds"
This reverts commit 3115763497.
Issue has been resolved
2019-08-27 20:20:24 +03:00
Tasos Sahanidis 30ab30eba8 Add OSX targets to build scripts 2019-08-27 18:35:42 +03:00
Tasos Sahanidis 3115763497 Changelog update to reflect missing mac builds 2019-08-27 18:22:18 +03:00
Tasos Sahanidis c00620bd7f Don't crash if an animation has no keys set 2019-08-27 17:40:55 +03:00
Tasos Sahanidis 7ff2ec8242 Revert release flag 2019-08-27 17:10:38 +03:00
Tasos Sahanidis 4d927ecb68 ckb-next 0.4.1 2019-08-27 16:36:13 +03:00
Tasos Sahanidis bc8c14135e Add FORCE_INIT_SYSTEM to cmake
It can be used to force-enabled an init system if it can't be
automatically detected during packaging.
Example usage: cmake .. -DFORCE_INIT_SYSTEM="systemd;upstart"
2019-08-26 20:22:16 +03:00
Tasos Sahanidis 7c18c141f0 Merge branch 'prefer-gpg2' 2019-08-25 18:34:43 +03:00
Tasos Sahanidis ff7320955e Search for gpg2 and fall back to gpg 2019-08-25 18:18:04 +03:00
Tasos Sahanidis b47d66e245 Merge branch 'pollrate' 2019-08-25 17:00:58 +03:00
Tasos Sahanidis f1ab5ae340 Allow setting the pollrate through the GUI 2019-08-25 16:50:01 +03:00
Tasos Sahanidis 5948041fb8 Merge branch 'device-dpi' 2019-08-21 17:03:04 +03:00
Tasos Sahanidis f59cb33817 Filter more words in device name 2019-08-21 17:00:36 +03:00
Tasos Sahanidis f1ba21a559 Add mac build scripts 2019-08-19 21:08:46 +03:00
Tasos Sahanidis 494d2fee59 Merge branch 'multiple-animation-paths' 2019-08-17 22:16:34 +03:00
Tasos Sahanidis c4c4123721 Add multiple animation paths and details dialog 2019-08-17 22:16:11 +03:00
Tasos Sahanidis fb96df0b80 Add per-mouse max DPI 2019-08-16 03:25:33 +03:00
Tasos Sahanidis 8513a68a8c Prevent wheel actions on settings comboboxes 2019-08-16 00:56:17 +03:00
Tasos Sahanidis dc361fcf8b Remove unneeded spacers in ExtraSettingsWidget 2019-08-16 00:30:12 +03:00
Tasos Sahanidis 59c070cbc0 Disable explicit HiDPI request by default 2019-08-16 00:23:57 +03:00
Tasos Sahanidis 6366702c57 Merge branch 'merged-settings' 2019-08-15 23:02:57 +03:00
Tasos Sahanidis 6a978966d5 Merge extra settings with the existing ones 2019-08-15 22:59:44 +03:00
Tasos Sahanidis 42bbd9a37e Restart GUI on multiple instances from Qt Creator 2019-08-15 21:49:49 +03:00
Tasos Sahanidis f9e2eb9539 dev-detect: Add DISPLAY in printenv grep 2019-08-15 16:09:14 +03:00
Tasos Sahanidis 5a0b5a796a Merge branch 'allow-layout-for-non-kb' 2019-07-30 13:04:02 +03:00
Tasos Sahanidis 263ffd93f3 Allow layout to be set on non KB devices
Closes issue #449
2019-07-29 00:31:19 +03:00
Tasos Sahanidis 10c2b54090 Merge branch 'issue-408/suspend-preview-animation' 2019-07-24 17:16:40 +03:00
Tasos Sahanidis 6aa94248c2 Add control option for preview on focus loss 2019-07-24 16:54:39 +03:00
Tasos Sahanidis 5621e209fb Write the XDG dummy only under safe install 2019-07-23 19:55:36 +03:00
Tasos Sahanidis 2c96f3b992 Merge branch 'fix-gradient-flicker' 2019-07-23 19:51:14 +03:00
Tasos Sahanidis 25bcd7645a Fix flicker in gradient with dithering 2019-07-23 19:50:59 +03:00
Tasos Sahanidis 6b3a6e76b1 Emulate xdg-icon-resource behaviour a bit better 2019-07-21 01:02:37 +03:00
Tasos Sahanidis df5b5c0179 Remove old issue template 2019-06-25 19:20:10 +03:00
Tasos Sahanidis 49bf816b1d Remove template that was added accidentally 2019-06-25 19:17:16 +03:00
Tasos Sahanidis 262676cb47 Update issue templates
Hopefully these are easier for people to use
2019-06-25 19:14:41 +03:00
Tasos Sahanidis 10e6b54615 Merge branch 'linux-sleep-detection' 2019-06-05 23:31:55 +03:00
Tasos Sahanidis 4354134c31 Detect suspend on linux using CLOCK_BOOTTIME 2019-06-05 23:21:40 +03:00
Tasos Sahanidis 8307593243 Merge branch 'fix/multi-device-segfault-on-mac' 2019-06-04 16:03:38 +03:00
Tasos Sahanidis 85d0e48d7e Merge branch 'new-life-preset' 2019-05-31 01:02:19 +03:00
Tasos Sahanidis dbfa2862be Add new red/green transparent preset for life 2019-05-31 01:01:53 +03:00
Tasos Sahanidis b7458d081c Add warnings when deleting items
Closes #423
2019-05-30 16:18:45 +03:00
Tasos Sahanidis 7ba6e2ee12 Merge branch 'hangul-scancodes' 2019-05-22 10:52:32 +03:00
Tasos Sahanidis 2bdf949462 Add hangul and hanja scancodes 2019-05-22 10:52:04 +03:00
Tasos Sahanidis 7786df4137 Merge branch 'nprintf-vararg-fix' 2019-05-18 22:45:49 +03:00
Tasos Sahanidis 216edbc8fd Add cmake argument to specify udev rule path 2019-05-18 09:47:30 +03:00
Tasos Sahanidis b991781f41 Merge branch 'mac-uninstall-button' 2019-05-16 18:46:01 +03:00
Tasos Sahanidis fe7ef32604 Add uninstall button for mac to GUI 2019-05-16 18:24:23 +03:00
Tasos Sahanidis a2b5061be3 Add mac uninstall script to the package 2019-05-16 18:24:22 +03:00
Tasos Sahanidis fe369d6840 Switch udev rule installation path to /lib
On distros where /lib is symlinked to /usr/lib we do not try to
remove the old rule.

Closes #410
2019-05-16 15:14:27 +03:00
Tasos Sahanidis 7e7f219ef8 Merge branch 'modprobe-fix' 2019-05-16 13:55:40 +03:00
Tasos Sahanidis fd509f5bb2 Merge branch 'k65-media-keys' 2019-05-07 17:05:11 +03:00
Tasos Sahanidis 54ad20048f Fix media keys for the K65 Legacy 2019-05-05 15:51:40 +03:00
Tasos Sahanidis 55b15c28a3 Update copyright year to 2019 2019-04-18 02:45:21 +03:00
Tasos Sahanidis 0266301e91 Fix pipe quitting due to read returning -1 2019-04-14 00:51:46 +03:00
Tasos Sahanidis 11af88ddff Fix device layout not being saved
Kb::save() would run and wipe the old value because the CkbSettings
object used by it was initialised with eraseExisting = true
2019-03-19 16:25:09 +02:00
Tasos Sahanidis a0a662e0e9 Set release flag to false 2019-03-18 10:39:53 +02:00
Tasos Sahanidis d33cc90ec4 Merge branch 'linux-input-thread-quit' 2019-03-17 16:49:42 +02:00
Tasos Sahanidis 5194fd6d1c Don't submit another URB while shutting down [V2]
This fixes:
- usbfs: process (ckb1 input) did not claim interface X before use
- daemon not passing control back to the kernel
2019-03-17 16:49:06 +02:00
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