Commit Graph
49 Commits
Author SHA1 Message Date
Tasos Sahanidis 917a640dd8 gui: K55 Core keymap WIP 2026-03-06 15:37:56 +02:00
Cédric Beauduffe a8155ec9ab gui: Add support for MM700 2024-10-27 18:48:49 +02:00
Mavroudis Chatzilazaridis 7f22ea9568 gui: Port to Qt6 2024-04-28 23:55:12 +03:00
Tasos Sahanidis 98cd4b2b20 gui: Add FIXME for f97d5f020c 2024-04-16 19:38:08 +03: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
Clofriwen bf1c95b3dc Merge branch 'master' into Dark_Core_RGB_PRO 2022-08-15 15:42:28 +02:00
Tasos Sahanidis 13b5ffb12a Add K55 Pro to GUI 2022-08-04 17:29:23 +03:00
Clofriwen e6a4ff77e6 Add DPI 3-Level+sniper, Battery charging/low indicator, Profil button and Tatokis's cleaning ask 2022-07-09 21:48:06 +02:00
Tasos Sahanidis 88bd0ef858 Add support for pollrates faster than 1ms
Additionally, remove the hwload command because it depended on a specific
pollrate value, and it was pointlessly complicated for no reason
2022-06-12 03:17:19 +03:00
Tasos Sahanidis 489ea2a84f Replace 0 with nullptr for pointers 2022-05-27 21:08:28 +03:00
Tasos Sahanidis b5277c9cc4 Do not load demo profile bindings 2022-05-22 15:56:33 +03:00
Tasos Sahanidis cb09ff7936 Modify GUI to support new bragi FW version numbers 2022-05-22 02:22:35 +03:00
Eric Herman 9cca969507 Fix maybe-uninitialized warning
Initialize to zero at declaration.
2022-03-08 21:29:47 +01:00
Tasos Sahanidis 1c98bf9b2a Fix GUI segfault on HW profile switch w/clean config
Closes #763
2021-11-19 18:23:29 +02:00
Tasos Sahanidis fbc028ac7e Use monotonic clock in GUI 2021-11-08 02:57:48 +02:00
Tasos Sahanidis 5a279b7bb2 Move GUI save functionality to its own timer
This way we avoid issues with time changes
2021-11-06 21:06:56 +02:00
Tasos Sahanidis 0d38a43754 Clean up GUI notify Kb destructor 2021-08-20 02:10:29 +03:00
Tasos Sahanidis 95e81c3d7f Don't call terminate in GUI unless necessary 2021-08-20 01:42:42 +03:00
Tasos Sahanidis 1e61686f60 Add support for bragi battery reading
Also clean up the GUI battery code.
2021-08-08 19:02:47 +03:00
Tasos Sahanidis cafb5435e0 Properly parse the features string in the GUI 2021-08-07 14:18:59 +03:00
Tasos Sahanidis 3a57b1e8ed Add initial bragi dongle support 2021-08-07 14:09:31 +03:00
Doğukan Korkmaztürk dc9ccc0b55 Fix some problems reported by clang-tidy
Fix the problems reported by performance-unnecessary-value-param
2021-06-28 00:17:41 +03:00
OrsanZ 98e01f5771 Fixed issues with lift height and battery indicator 2021-06-21 01:51:11 +03:00
OrsanZ 36bbf46f3e Added battery system tray icon 2021-06-21 01:51:11 +03:00
OrsanZ 5bf2cb5b0b Added battery support 2021-06-21 01:31:24 +03:00
Tasos Sahanidis 7bf1e19861 Don't dim lights when devices are used outside X
Also fixes a bug where lights wouldn't be restored if a device
was plugged in while the system was idle.
2020-12-27 14:56:12 +02:00
Tasos Sahanidis 247f2bd973 Fix segfault when creating new profile 2020-12-25 16:25:14 +02:00
Tasos Sahanidis 449f5cbe97 Squashed commit of the following:
commit 4dfe9ad09f9cae9b8ac3519bef5f770c48330ff7
Author: Tasos Sahanidis <[email protected]>
Date:   Wed Dec 9 01:35:24 2020 +0200

    Fix build errors without xcb

commit 4ac12f64fc28d5e7527a022722fd2e897210ffa1
Author: Tasos Sahanidis <[email protected]>
Date:   Tue Dec 8 23:55:34 2020 +0200

    Follow window title changes

commit 761213dbafdeaace4d34209334f5949e04efd4db
Author: Tasos Sahanidis <[email protected]>
Date:   Mon Dec 7 01:55:08 2020 +0200

    Enable drag and drop in eventmgr

commit 51976f702ab8779f16c24de1f834d3f0f43cb64c
Author: Tasos Sahanidis <[email protected]>
Date:   Mon Dec 7 01:46:57 2020 +0200

    Rewrite window info backend and redesign ui

commit e8c4843bede3a9ea2e1cc08946c7bbad89aed16a
Author: Tasos Sahanidis <[email protected]>
Date:   Fri Dec 4 20:28:22 2020 +0200

    Re-enable event mode switching on double click

commit d963b8f7d41b96e3be3a0e76a5ddaf9828a633d8
Author: Tasos Sahanidis <[email protected]>
Date:   Fri Dec 4 20:21:52 2020 +0200

    Add wayland warning to event manager

commit 8a87d8212f55007be5cbab0d99295ea8bcaaa8a0
Author: Tasos Sahanidis <[email protected]>
Date:   Fri Dec 4 19:19:47 2020 +0200

    Add floating eventmgr tableview

commit 935843e88fe3aa1048d5ba9db8c5951196afb9fe
Author: Tasos Sahanidis <[email protected]>
Date:   Wed Dec 2 19:46:02 2020 +0200

    Switch modes based on XCB focus
2020-12-09 01:42:09 +02:00
Tasos Sahanidis d7bd30026a Finish up nightsword support 2020-11-20 03:56:27 +02:00
Tasos Sahanidis cf05f05192 Rework macro code
GUI code has been completely rewritten and UI has been redesigned

Daemon no longer supports the global delay, and the command for it
is removed

Random delays are now supported for each key by specifying it as
min_max in the delay field

Various daemon issues regarding macros have been fixed, including
memory leaks
2020-10-26 03:20:29 +02:00
Tasos Sahanidis c44bb1c5bd Fix Shadow warnings 2020-09-03 02:54:27 +03:00
Tasos Sahanidis 50865dc8e4 Don't send commands to daemon while idle 2020-03-16 10:50:23 +02: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 fb96df0b80 Add per-mouse max DPI 2019-08-16 03:25:33 +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 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 418af41193 Fix STRAFE_MK2 logo
Closes #300
2018-11-26 05:21:20 +02:00
Tasos Sahanidis 9624cbe166 Force a frame to the daemon on profile switch
This is needed as the daemon wipes the RGB data when deleting
and creating a new profile, resulting in a black keyboard when
switching to a static profile
2018-08-17 17:50:34 +03:00
Tasos Sahanidis 56b6f1fe50 Fix m3(logo) and profswitch for MK2 in GUI 2018-07-31 07:50:49 +03:00
Tasos Sahanidis 3c5903f3e4 Fix bind reset regression 2018-05-03 15:10:42 +03:00
Tasos Sahanidis 61fa8b3d31 Initialise _layout in the Kb constructor 2018-04-09 15:31:43 +03:00
Tasos Sahanidis 6b32a1e73b Make device layout non static 2018-03-29 16:37:22 +03:00
Tasos Sahanidis 259616bdc7 Categorise and pick only suitable layouts 2018-03-25 09:43:03 +03:00
Tasos Sahanidis 3931fda2fb Make HW layouts device-specific 2018-03-21 12:20:22 +02:00
Oleksii Vilchanskyi 29f68ddeda Move files to prepare them for CMake
Move: src/ckb -> src/gui

Move: src/ckb-daemon -> src/daemon

Move: src/ckb-{anim} -> src/animations/{anim}

Move: src/gui/{*.png,*.svg,*.gpg,*.conf} -> /src/gui/resources/

Move: src/gui/ckb-anim.h -> src/libs/ckb-next/include/ckb-next/animation.h

Move: src/animations/mviz/{kissfft_files} -> src/libs/kissfft/

Move: src/libs/kissfft/{*.h} -> src/libs/kissfft/include/kissfft/{*.h}

Move: src/gui/quazip -> src/libs/quazip

Move: ckb-dev-detect -> ckb-next-dev-detect
2018-03-17 18:00:14 +02:00