Commit Graph
2162 Commits
Author SHA1 Message Date
Mavroudis Chatzilazaridis 7f22ea9568 gui: Port to Qt6 2024-04-28 23:55:12 +03:00
Mavroudis Chatzilazaridis c83ea95e52 gui: Get root window using xcb_get_geometry() 2024-04-27 21:08:56 +03:00
Mavroudis Chatzilazaridis b57ddc292c cmake: Make build system Qt version agnostic 2024-04-27 21:08:50 +03:00
Mavroudis Chatzilazaridis 3100b9276c gui: Update KStatusNotifierItem to latest version
- Remove KWindowSystem related code as ckb-next does not use it
- Revert commit 294970fd3ad1 ("[kstatusnotifieritem] Replace
  setAssociatedWidget with setAssociatedWindow") as show/hide does not
  work with a QOpenGLWidget parent
- Disable standard actions (Quit, Restore) as ckb-next provides its own

This also includes a vendored libdbusmenu-qt which will be used with Qt6
2024-04-27 19:19:04 +03:00
Mavroudis Chatzilazaridis 6e6517a876 gui: Replace deprecated QWheelEvent::delta()
This method has been deprecated since Qt5 and removed in Qt6
2024-04-27 17:28:12 +03:00
Tasos Sahanidis 98cd4b2b20 gui: Add FIXME for f97d5f020c 2024-04-16 19:38:08 +03:00
Tasos Sahanidis 896aec5330 Merge remote-tracking branch 'ckb-next-jerrymous3/master' 2024-04-16 19:36:45 +03:00
Tasos Sahanidis 93c569e0d6 Merge remote-tracking branch 'ckb-next-ajakk/master' 2024-04-16 19:25:28 +03:00
Tasos Sahanidis 2ed8dd12bc https://libera.chat/news/official-matrix-bridge-farewell 2024-02-20 17:05:47 +02:00
John Helmert III c5b68a0086 ckbsettingswriter: mirror QT version guards from ckbsettings
The differing definitions between ckbsettingswriter.cpp and
ckbsettings.cpp trigger compilation errors with -Werror=odr.

Signed-off-by: John Helmert III <[email protected]>
2024-02-17 12:22:13 -08:00
JerryMous3 f97d5f020c Do not write to removed cmdpath
This fixes crashing with SIGPIPE on device disconnection.
2023-11-03 20:27:08 +01:00
Tasos Sahanidis aaf48a03af Merge remote-tracking branch 'ckb-next-afcms/shellcheck_fix' 2023-10-26 18:00:26 +03:00
Tasos Sahanidis f2dbdabf5e Merge remote-tracking branch 'ckb-next-mavchtz/ckb-next-issue-1000' 2023-10-26 18:00:12 +03:00
AFCMS e17c547088 Fix shellcheck issues in quickinstall 2023-10-24 15:36:07 +02:00
Mavroudis Chatzilazaridis c93e95104a gui: Add error handling for xcb_connect
This is needed because xcb_connect returns a valid value even if it fails.
Therefore we need to use xcb_connection_has_error() to check for failure.

Resolves #1000
2023-10-21 21:17:37 +03:00
Tasos Sahanidis b2188fac7d Merge branch 'dcrgb-keypatch-fix' 2023-08-04 20:37:31 +03:00
Tasos Sahanidis 0649d7c470 daemon: Fix Dark Core RGB PRO keymap patch 2023-08-04 19:59:45 +03:00
Tasos Sahanidis f6e79e23f8 gui: Don't render keywidget before init 2023-08-04 00:48:33 +03:00
Tasos Sahanidis 3d92e6a10c Merge remote-tracking branch 'ckb-next-mproffitt/k100-optical-variant' 2023-07-19 14:18:35 +03:00
Tasos Sahanidis 2e3410eb93 Merge remote-tracking branch 'ckb-next-stacyharper/fix-openrc' 2023-07-19 14:16:17 +03:00
Tasos Sahanidis e8c5fbec8e Merge branch 'fix-ci-2' 2023-07-19 14:14:37 +03:00
Tasos Sahanidis abef6ed8da CI: Remove --skip-broken from dnf/yum 2023-07-19 14:08:59 +03:00
Willow Barraco 76a47f95b4 Fix ckb-next-daemon OpenRC service file 2023-07-19 09:38:09 +02:00
Martin Proffitt 9714d9a99f RGB support for k100 optical variant
Some K100 devices identify on different product IDs. This commit
introduces support for a known optical variant.

Key points for this commit are:

- Introduction of a new product ID 0x1bc5 as P_K100_OPTICAL_VARIANT
- This variant uses the more common endpoints 0x4 and 0x84
- This variant returns 0x06 as "not supported" instead of the
  anticipated 0x01.
2023-06-30 10:25:13 +02:00
Tasos Sahanidis 932ff431f3 CI: Run for Pull Requests as well 2023-06-24 15:37:42 +03:00
Tasos Sahanidis 0a35b033ef Merge remote-tracking branch 'ckb-next-minneyar/k70tkl' 2023-06-24 15:07:17 +03:00
minneyar d8179a02e0 Re-add voldn and volup to map 2023-06-23 18:48:17 +03:00
minneyar 73c282b4e1 Address PR comments 2023-06-23 18:48:12 +03:00
minneyar a72bcad1d8 Re-add deleted macro 2023-06-23 18:09:55 +03:00
minneyar 8e13eccc9c Work on adding support for the K70 RGB TKL
Fix number of LEDs, tweak button positions

A few more tweaks

Add patches for the logo & lock keys
2023-06-23 18:09:53 +03:00
Tasos Sahanidis 2351f05817 Merge branch 'ci-changes' 2023-06-23 17:30:54 +03:00
Tasos Sahanidis e2fcba8e25 CI: Enable CRB for AlmaLinux/RockyLinux 9 2023-06-23 17:19:19 +03:00
Tasos Sahanidis a99d4b320d gui: Don't use deprecated QProcess::start method 2023-06-23 16:29:33 +03:00
Tasos Sahanidis bcdadbd32b CI: Build in Debug mode 2023-06-23 16:06:16 +03:00
Tasos Sahanidis e6b023dccb CI: Enable Werror 2023-06-23 16:06:08 +03:00
Tasos Sahanidis 7d4687de76 CI: Switch some images 2023-06-23 16:04:34 +03:00
Tasos Sahanidis 6c44fd9eb9 scripts: add nxp_rgb_count.py 2023-06-23 15:39:03 +03:00
Tasos Sahanidis 8f9d0e5749 cmake: Add WERROR option
It is meant to be used for CI
2023-06-23 15:36:59 +03:00
Tasos Sahanidis 74f5a46d5a Merge branch 'k100-v2' 2023-06-23 15:25:46 +03:00
Tasos Sahanidis 73707dca68 Mark K65 Mini as experimental
The Fn combinations are not implemented in ckb-next and people might
not be happy that they don't function. They are too many to hack around
manually, thus it will have to wait.
2023-06-23 15:24:50 +03:00
Tasos Sahanidis bd76bae260 Add K65 Mini 2023-06-23 15:22:52 +03:00
Morgan Smith ed70884da8 Added K100 Mechanical Funcionality 2023-06-23 15:22:51 +03:00
Tasos Sahanidis ff88b9bd7e Add K100 to GUI and daemon
Readd alt K100 lighting method

Do not send 2nd lighting data

It is moved to init because I can't easily tell when CUE sends it,
and it's definitely not once every frame.

Additionally, it is commented out because it broke some lights on certain K100s

Fix K100 control wheel in GUI
2023-06-23 15:22:45 +03:00
Tasos Sahanidis 3506dc6917 Disable release flag 2023-06-23 01:17:03 +03:00
Tasos Sahanidis faca39b1fb Release 0.6.0 v0.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