Commit Graph
100 Commits
Author SHA1 Message Date
Tasos Sahanidis faca39b1fb Release 0.6.0 2023-06-23 00:07:29 +03:00
Tasos Sahanidis bfdf2a03e6 gui: Increase responsiveness of mute indicator 2023-06-22 23:51:15 +03:00
Tasos Sahanidis 0234efc0f5 gui: Make copy to mode button large enough 2023-06-22 23:50:47 +03:00
Tasos Sahanidis 95482e5e5d Update translations 2023-06-22 22:45:51 +03:00
Tasos Sahanidis 3a1456af72 gui: Fix CkbMainBackgroundColour on Plasma 2023-06-21 01:22:44 +03:00
Tasos Sahanidis b5acdeaece gui: Fix transparent keywidget background under Plasma
Looks like setAutoFillBackground() doesn't always work on QOpenGLWidgets.
2023-06-21 01:21:19 +03:00
Tasos Sahanidis a13d8726d7 gui: Don't print warnings for invalid animations 2023-06-20 01:17:38 +03:00
Tasos Sahanidis dcd64c4386 Merge remote-tracking branch 'ckb-next-negril/gentoo-openrc' 2023-06-19 16:39:44 +03:00
Tasos Sahanidis 097f977ee6 Merge branch 'bragi-generic-dongle' 2023-06-19 00:15:20 +03:00
Tasos Sahanidis 4224c9484b daemon: Add bragi generic dongle id 2023-06-18 23:52:37 +03:00
Tasos Sahanidis 2dcda6e963 Remove Harpoon Pro from FILE_HWSAVE
Shrug
2023-06-08 21:23:38 +03:00
Tasos Sahanidis e77f68b0a5 Merge remote-tracking branch 'ckb-next-ripetersen/k60_pro_tkl' 2023-06-08 02:08:36 +03:00
Tasos Sahanidis 72f138d967 Merge branch 'limit_msaa' 2023-06-08 01:58:20 +03:00
Tasos Sahanidis 0e3058948e Merge branch 'hi_res_scroll' 2023-06-08 01:51:48 +03:00
Tasos Sahanidis d32b8e7bce Implement REL_WHEEL_HI_RES / REL_HWHEEL_HI_RES
Should've been done a long time ago.
2023-06-08 01:34:33 +03:00
Tasos Sahanidis a865d80e57 Fix conditions in usb.h caused by dark core PR 2023-06-08 00:29:32 +03:00
Tasos Sahanidis d4232fd36e Merge remote-tracking branch 'ckb-next-straut/feature/device_pairing' 2023-06-08 00:23:58 +03:00
Tasos Sahanidis d5eef8152d Merge remote-tracking branch 'ckb-next-clofriwen/Dark_Core_RGB_PRO' 2023-06-07 23:44:08 +03:00
Tasos Sahanidis 20e917dfc2 gui: Add option to disable MSAA 2023-05-04 21:35:34 +03:00
Tasos Sahanidis f6258b4ad1 gui: Add MSAA limits for older Intel GPUs 2023-05-04 21:35:32 +03:00
Tasos Sahanidis f1e05a53ef gui: Use organizationName() to avoid duplicate strings in settings 2023-05-04 19:09:07 +03:00
Tasos Sahanidis 73a1985f81 gui: Add settings for MSAA and SwapInterval 2023-05-04 19:09:04 +03:00
Tasos Sahanidis a3e3f4cab4 gui: Fix indentation in main.cpp 2023-05-03 19:23:57 +03:00
Tasos Sahanidis fdf9fbc09e gui: Fix crash on PA Callback with nullptr info 2023-04-30 04:15:07 +03:00
Tasos Sahanidis c0014d7ce6 gui: Fix animation settings dialogs being cut off 2023-04-19 05:18:40 +03:00
Tasos Sahanidis 8cd5af34e2 gui: Disable VSync 2023-04-19 04:55:18 +03:00
Tasos Sahanidis 275c459fe4 gui: Store the scaled device overlay 2023-04-19 03:10:34 +03:00
Tasos Sahanidis 1398617a58 mviz: Allow more PA events to be processed per frame 2023-04-18 22:07:13 +03:00
Tasos Sahanidis 55dd19e5a0 Implement AGC for mviz 2023-04-18 02:04:10 +03:00
Tasos Sahanidis 00f95a5f48 Merge branch 'wiki' 2023-04-14 17:15:00 +03:00
Tasos Sahanidis 51dec946ce Correct patch index for K55 Pro (XT) 2023-04-02 13:35:12 +03:00
Tasos Sahanidis 943c0215f0 Highlight searched key in keymap 2023-04-02 13:08:46 +03:00
Tasos Sahanidis bfa33d46d4 Fix keymap search for bragi
Turns out, the bragi keymap was not being patched in when using --search.
2023-04-02 12:57:53 +03:00
Tasos Sahanidis 1a855b1b55 Fix winlock for K55 RGB Pro XT
Closes #868
2023-04-01 17:02:43 +03:00
Tasos Sahanidis 351f746ec3 Apply offset to RGB zones on K55 Pro
Closes #913
2023-04-01 16:55:52 +03:00
Tasos Sahanidis 7c1c6566a0 Use macro to populate keypatch array 2023-04-01 16:55:52 +03:00
Tasos Sahanidis 1171b78c74 Constify keymap patches 2023-04-01 16:55:52 +03:00
Tasos Sahanidis 9e880265d6 Fix keymap patches
Quite a few keymap patches incorrectly used 0 as an LED index.

To avoid such mistakes, the existing duplicate entries are now
automatically erased from the keymap while patching.
2023-04-01 16:55:44 +03:00
Tasos Sahanidis 3ec1960ae7 Merge branch 'remove-xlib-dep' 2023-04-01 10:29:44 +03:00
Tasos Sahanidis 06a9da7953 Drop explicit Xlib dependency 2023-04-01 10:29:39 +03:00
Tasos Sahanidis 71ec0541c1 Properly handle Qt's display arg 2023-04-01 10:14:54 +03:00
Tasos Sahanidis 29e60ffeaf Merge remote-tracking branch 'ckb-next-LockBlock-dev/master' 2023-04-01 10:08:39 +03:00
Tasos Sahanidis 9a1b4ced42 Merge branch 'qrecursivemutex' 2023-03-29 05:44:03 +03:00
Tasos Sahanidis 75f107f228 Fix K55 RGB PRO lighting zones
It seems to only have 5 zones, but internally it claims to have 6.
2023-03-29 05:43:41 +03:00
Tasos Sahanidis ea9ea155ff Replace recursive QMutex with QRecursiveMutex 2023-03-20 03:53:37 +02:00
Tasos Sahanidis a46f61d679 Fix QuaZip detect failure if installed after 2023-03-20 03:46:29 +02:00
Tasos Sahanidis 3bf1591a28 Remove bundled QuaZip 2023-03-20 00:23:03 +02:00
Tasos Sahanidis 77cb5fc9dd Remove unused variables in KeyWidget 2023-03-18 20:38:15 +02:00
Tasos Sahanidis 4463d7a1a7 Fix mismatched array bound 2023-03-18 20:24:22 +02:00
Tasos Sahanidis d59d1eed73 Use nullptr for XCB calls 2023-03-18 20:22:09 +02:00
Tasos Sahanidis 2ba1620715 Mark QuaZip as a system include 2023-03-18 19:52:15 +02:00
Tasos Sahanidis a63f9e7faf Add missing override keywords 2023-03-18 17:18:17 +02:00
Tasos Sahanidis 37298ff4e5 Fix a few warnings in the daemon 2023-03-18 17:12:23 +02:00
Tasos Sahanidis d1ff70ad45 Only print bragi pairing id for wireless devices 2023-03-18 16:21:14 +02:00
Tasos Sahanidis c29a9f5e31 Fix buffer overflow detected with _FORTIFY_SOURCE
Technically there's no buffer overflow taking place, but the size
argument passed to snprintf was incorrect.

Closes #940
2023-03-18 16:20:51 +02:00
Tasos Sahanidis bc6e222e23 Merge branch 'strafe-stuck-keys-workaround' 2023-03-15 13:59:09 +02:00
Tasos Sahanidis b9a524f5ef Work around NXP Strafe RGB media keys getting stuck 2023-03-13 14:43:34 +02:00
Tasos Sahanidis ca7c2ba010 Merge branch 'source-mute' 2023-03-12 18:58:09 +02:00
Tasos Sahanidis a3336f5dae Enforce 23px minimum heading size 2023-03-12 18:56:45 +02:00
Tasos Sahanidis 75986c72bf Fix undefined reference to isMuteDeviceSupported without pulse 2023-03-12 18:53:31 +02:00
Tasos Sahanidis 8bcd11e6ad Make GUI and daemon help more consistent 2023-03-05 17:22:57 +02:00
Tasos Sahanidis efbbae2577 Merge remote-tracking branch 'ckb-next-mavchtz/macro-regex-fix' 2023-02-19 18:51:04 +02:00
Tasos Sahanidis c7d04173cc Add xprop tip in window event manager
Closes #766
2022-10-13 21:39:45 +03:00
Tasos Sahanidis 50cb44c655 Merge branch 'issue-forms'
Closes #870
2022-10-13 21:18:16 +03:00
Tasos Sahanidis be01554fff Add additional way to generate report in issue forms 2022-10-13 21:18:00 +03:00
Tasos Sahanidis 11c0bb18ab Add Ironclaw WL usb string 2022-10-13 21:00:43 +03:00
Tasos Sahanidis eabd72e9d2 Merge branch 'k65-fn'
Closes #642
2022-10-13 01:33:03 +03:00
Tasos Sahanidis 75e796af01 Fix K65 Fn LED 2022-10-07 00:30:34 +03:00
Tasos Sahanidis ad33aaceec Allow modifying layout dimensions in KWDebugger 2022-10-04 04:17:24 +03:00
Tasos Sahanidis 3e82239fe6 Clean up RebindWidget Program tab 2022-10-04 02:57:28 +03:00
Tasos Sahanidis 1609c16537 Expose horizontal scrolling binding in GUI 2022-10-03 23:44:12 +03:00
Tasos Sahanidis 176cc08fc9 Don't show tooltip for keys in wrong KeyWidget mode 2022-10-03 01:48:45 +03:00
Tasos Sahanidis 3bdc3825f8 Fix key selection disappearing on click and move 2022-10-02 01:18:10 +03:00
Tasos Sahanidis 8492d25549 Add key selection surface rendering for debug 2022-10-01 18:04:47 +03:00
Tasos Sahanidis c8a0fb9790 Fix daemon delay handling
While the previous fps delay calculations were correct, they did not
take into account the delay of each usb transfer.
This resulted in lower framerates and rgb frames being queued and dropped.

Since the daemon now supports many more device types and protocols,
the fps command handling was moved to the device vtable so that each
protocol can set better suited delays. For example bragi doesn't need any.
2022-10-01 03:46:47 +03:00
Tasos Sahanidis 89f3c324e9 Revert FPS throttling in daemon 2022-09-29 03:21:03 +03:00
Tasos Sahanidis 7304323c66 Allow multiple command lines to be processed at once
This prevents delayed rgb commands from endlessly building up until
the pipe fills up and stalls.

Also fixes frames being delayed due to f54f4ab350.

Closes #882
2022-09-29 03:18:32 +03:00
Tasos Sahanidis d860e8b13d Fix KeyWidgetDebugger segfault on close 2022-09-26 15:18:38 +03:00
Tasos Sahanidis 87a5815815 Move KeyWidget tooltip handling to the tooltip event
This eliminates the need to constantly check which key is under the cursor
on every mouse move event.
2022-09-26 13:40:55 +03:00
Tasos Sahanidis 1b34466d23 Add GUI main lighting loop FPS counter 2022-09-25 22:43:21 +03:00
Tasos Sahanidis eb57bb8746 Add GL Renderer FPS counter 2022-09-25 00:41:14 +03:00
Tasos Sahanidis 4f274b3165 Fix GUI FPS calculation
60HZ ended up being 62.5HZ due to improper integer division
2022-09-24 00:34:49 +03:00
Tasos Sahanidis 3d5c76a133 Add FPS counter for daemon 2022-09-24 00:34:22 +03:00
Tasos Sahanidis e64edc2135 Fix assertion in keywidgetdebugger with no devices 2022-09-21 21:29:50 +03:00
Tasos Sahanidis dd4c495d18 Merge branch 'opengl' 2022-09-18 17:56:06 +03:00
Tasos Sahanidis 40c53ab0a9 Use OpenGL to render the KeyWidget
Some code has also been cleaned up.
These changes greatly reduce CPU usage and increase overall responsiveness.
2022-09-18 17:25:07 +03:00
Tasos Sahanidis c21a730ef5 Bump min Qt version to 5.6.0 2022-09-18 17:05:06 +03:00
Tasos Sahanidis ad30cdf819 Fix clang warnings in GUI
Unused variables and a potential null dereference
2022-09-18 10:02:36 +03:00
Tasos Sahanidis 6eb6c1d85f Fix URB logging for > 64 byte packets 2022-09-17 19:48:32 +03:00
Tasos Sahanidis d0a5ce6e5a Re-add DEBUG_USB_RECV 2022-09-17 10:56:00 +03:00
Tasos Sahanidis 8813d37022 Fix builds with USE_DBUS_MENU=0
Closes #875
2022-09-17 08:00:50 +03:00
Tasos Sahanidis db7d3b6b94 Merge branch 'parser' 2022-09-17 07:47:41 +03:00
Tasos Sahanidis f54f4ab350 Rewrite command fifo reader 2022-09-12 12:21:59 +03:00
Tasos Sahanidis 417d03b93b Fix delay when turning lights off in bragi hw 2022-09-12 12:19:16 +03:00
Tasos Sahanidis 5a570eb97d Add missing full stop in daemon already running prompt 2022-09-06 04:36:47 +03:00
Tasos Sahanidis fd6ef6a9a0 Add systemctl hint in daemon already running prompt 2022-09-06 04:36:07 +03:00
Tasos Sahanidis 1f9705cd95 Move daemon already running message to main 2022-09-06 04:33:41 +03:00
Tasos Sahanidis c4c9e502ff Add key widget debugger 2022-08-22 20:20:08 +03:00
Tasos Sahanidis 6c5744262a Fix mviz static_assert 2022-08-10 18:25:41 +03:00
Tasos Sahanidis d4feee5301 Rewrite mviz
Closes #856
2022-08-10 18:17:47 +03:00