Karl Fleischmann
d4c07dcde6
gui: keyaction - Make the dial on the K70 CORE RGB behave like the volume barrel
2026-06-02 17:43:44 +02:00
Karl Fleischmann
444a250367
gui: keymap - Revise UI definition for the K70 CORE RGB
...
- Replace the classic volume keys with the general-purpose dial,
- replace the "mr" button with the generic "g1" key, that is named to
"Play/Pause",
- remove some unnecessary whitespace.
2026-06-02 17:37:35 +02:00
Karl Fleischmann
5f489ba71b
daemon: input, keymap - Vacant keymap slot 129
...
Move "ctrlwheelcw" to another place to make room for scan code 129.
Potentially this creates another conflict for a currently unhandled
scancode.
2026-06-02 17:37:35 +02:00
Karl Fleischmann
e50401edf6
daemon: keymap_patch - Update K70 CORE RGB
...
Patch in "ctrlwheelb" for scan code 129.
2026-06-02 17:36:45 +02:00
Karl Fleischmann
917d2137bc
gui: keymap - Fix indentation of K70 CORE RGB definition
2026-06-02 14:44:59 +02:00
Tasos Sahanidis
5edd3c1481
scripts: Add update_changelog.sh
...
It is of unknown quality and whether it actually works or not
2026-06-02 14:41:38 +03:00
Tasos Sahanidis
82393e1e0b
Merge remote-tracking branch 'fleischie/CKB-1322/fix-macro-delay'
2026-06-01 10:58:42 +03:00
Karl Fleischmann
37e511356b
gui: rebindwidget - Make macro repetition delay a minimum of 1ms
...
Otherwise the daemon will disregard it.
2026-06-01 09:52:08 +02:00
Karl Fleischmann
b9e6df320c
gui: Guard against accessing unavailable macro delay content
2026-06-01 09:49:58 +02:00
Tasos Sahanidis
69e0a82264
Merge remote-tracking branch 'fleischie/CKB-1277/copy-buttons'
2026-05-26 21:20:58 +03:00
Tasos Sahanidis
1fddf7bed8
gui: Add Greek DaemonWarnDialog translations
2026-05-26 21:19:13 +03:00
Karl Fleischmann
a9cdfaf2dd
gui: resources - Add german translations for DaemonWarnDialog
...
Some of which were already available but still marked unfinished.
2026-05-26 21:19:08 +03:00
Karl Fleischmann
801535bc7b
gui: resources - Add DaemonWarnDialog translation files
...
Run `lupdate` target to update all translation files.
2026-05-26 21:18:33 +03:00
Karl Fleischmann
97a63ea92c
gui: Implement Daemon Warn Dialog
...
Replace generic MessageBox with a manually programmed dialog, that
allows copying the appropriate text into the clipboard.
2026-05-26 21:18:11 +03:00
Tasos Sahanidis
389af0b63c
Merge remote-tracking branch 'fleischie/chore/add-missing-de-translations'
2026-05-26 00:38:14 +03:00
Karl Fleischmann
8ecca15a7c
gui: translations - Add german versions of unfinished items
2026-05-26 00:07:36 +03:00
Karl Fleischmann
e4e569d143
gui: Update translation files
...
Done by executing "lupdate" target.
2026-05-26 00:01:25 +03:00
Karl Fleischmann
cfa1b13f7f
gui: extrasettingswidget - Make window title translatable
2026-05-26 00:00:50 +03:00
Karl Fleischmann
ee5197cb4c
gui: extrasettingswidget - Prefix type for qt enum values
...
This was done automatically by the Qt Widget Designer.
2026-05-26 00:00:49 +03:00
Tasos Sahanidis
46a78d9668
Merge remote-tracking branch 'fleischie/feature/configurable-repetition-delay'
2026-05-25 22:01:15 +03:00
Tasos Sahanidis
202d1e2f35
daemon: input: Clean up macro repetition types and enforce compile time limit
2026-05-25 22:00:19 +03:00
Tasos Sahanidis
197ae4795c
gui: Add Greek macro repetition translations
2026-05-25 21:59:16 +03:00
Karl Fleischmann
c86d0962a9
gui: translations - Add german versions of the new macro repetition delay UI
2026-05-25 21:59:15 +03:00
Karl Fleischmann
4ca82f697b
gui: kbbind, rebindwidget - Transfer the appended macro debounce and delay values
...
Append the value from the GUI into the message sent to the daemon. Parse
the response to display the correct value in the approriate field.
2026-05-25 21:59:14 +03:00
Karl Fleischmann
f892aad434
daemon: input - Replace plain numbers with named macros
2026-05-25 21:59:13 +03:00
Karl Fleischmann
3671316ba5
daemon: input - Replace default repetition delay with stored value
2026-05-25 21:59:12 +03:00
Karl Fleischmann
57aa57b39e
daemon: structures, input - Store macro repetition delay if it was sent
...
Macro commands currently come in the form "$macro:<payload>". This
command extends the parsing of the payload to store a suffix ":<delay>"
into the keymacro struct.
2026-05-25 21:59:10 +03:00
Karl Fleischmann
9a8b7e9ad3
daemon: input - Clarify values for macro delays
...
Use a verbose name for the multiplier, so to better grasp the intended
values and units.
2026-05-25 21:58:12 +03:00
Karl Fleischmann
367f57963f
gui: keyaction, kbbind - Resolve macro content retrieval in KbBind::update()
...
This makes it easier to append the repetition delay.
2026-05-25 21:58:11 +03:00
Karl Fleischmann
de6b946ab2
gui: rebindwidget - Make magic colon replacement string a macro
...
This should help prevent making typos when using it to replace an actual
colon in the macro data.
2026-05-25 21:58:10 +03:00
Karl Fleischmann
a8d85ab55a
gui: Update translation files
...
Done by executing "lupdate" target.
2026-05-25 21:58:09 +03:00
Karl Fleischmann
35ef0cddba
gui: rebindwidget - Add input for repetition debounce and delay
2026-05-25 21:58:08 +03:00
Karl Fleischmann
71bd73063b
gui: rebindwidget - Prefix type for qt enum values
...
This was done automatically by the Qt Widget Designer.
2026-05-25 21:58:04 +03:00
Tasos Sahanidis
975070c44c
Merge remote-tracking branch 'fleischie/CKB-863/gradient-dialog-layout'
2026-05-22 18:19:21 +03:00
Tasos Sahanidis
ec760d7381
animation: Ignore truncated keys and remove Wformat-truncation pragma
2026-05-22 18:17:24 +03:00
Tasos Sahanidis
40c050f81e
animation: Explicitly ignore Wformat-truncation warning
2026-05-22 18:08:52 +03:00
Tasos Sahanidis
a828ed18a5
daemon: Replace strncpy with snprintf
2026-05-22 17:53:35 +03:00
Tasos Sahanidis
0ee5df1c70
Merge branch 'k100-wheel-test' into HEAD
2026-05-22 17:53:02 +03:00
Karl Fleischmann
46f2f08e76
daemon, gui: Consolidate keyname length in project
...
This commit fixes incorrect behavior of the 'w' key which was linked to
the "ctrlwheelcw" event, because the keyname was read in 10 character
chunks.
Create a consolidated macro, with a large enough limit to allow all
currently relevant keys. Replace all custom keyname lengths with this
macro. Ensure that relevant sscanf() calls use an appropriate string
version of this length (minus one for the trailing '\0').
CKB_KEYNAME_MAX in animation.h still needs to be kept in sync manually
due to it being a standalone header.
2026-05-22 17:51:42 +03:00
Tasos Sahanidis
b48e9108d3
daemon: Fix incorrect pid path error message
2026-05-22 17:34:13 +03:00
Karl Fleischmann
b95f3b272d
daemon: Emulate keyup event for control wheel events
...
This allows for appropriate, repeatedly emitted events from a control
wheel dial.
2026-05-20 16:34:56 +02:00
Karl Fleischmann
8631b804fe
daemon: Clear K100 dial bits
...
Unconditionally clear the controlwheel keybits for all devices, that
have a control wheel.
2026-05-20 16:33:52 +02:00
Karl Fleischmann
cf856752dd
daemon: Clarify byte/bit iteration in is_wheel_keybit()
...
This commit renames the variables in is_wheel_keybit() to match the ones
used in inputupdate_keys() (and also make more sense).
2026-05-20 16:33:52 +02:00
Karl Fleischmann
db85c03798
gui: gradientdialog - Update design files
...
- Convert main layout to a vertical one, as there is only one column,
- resize preset list widget to allow for more visible items,
- make dialog resizable vertically,
- change flow of preset list to be more intuitive (fill the items left
to right and wrap at the width, instead of listing into a horizontal
scrolling view),
- display scroll bars in preset list only when necessary, and
- minor changes like spacer changes, etc.
2026-05-19 20:12:20 +03:00
Tasos Sahanidis
b4e8c6988f
Merge remote-tracking branch 'fleischie/feature/pastel-rainbow'
2026-05-19 19:32:03 +03:00
Tasos Sahanidis
0ec132c2b7
gui: Link against OpenGL on Qt5
2026-05-19 19:17:20 +03:00
Tasos Sahanidis
8deff8cc90
Merge branch 'fix-gpg-homedir'
2026-05-19 18:32:25 +03:00
Tasos Sahanidis
bde33cb87f
gui: Remove CkbMainBackgroundColour
...
Qt first draws the QOpenGLWidget then the rest of the widgets.
This results in the widget having no background. Asking Qt to
fill the background from the palette would result in the wrong
background colour, since the platform theme can override it.
CkbMainBackgroundColour was an ugly hack to try to get the
correct background colour for the widget. It mostly worked but
also failed when the theme would change, and also wouldn't do
gradients.
Resolve this by setting WA_AlwaysStackOnTop on the QOpenGLWidget
and using glClear before drawing.
2026-05-19 18:29:40 +03:00
Tasos Sahanidis
f1aabd05cf
gui: Fix firmware update check needing 6 hours of uptime
2026-05-13 13:59:07 +03:00
Karl Fleischmann
6348dfbe68
gui: gradientdialog - Add pastel rainbow colors
...
Based on the default rainbow but with a softer hue.
2026-05-12 09:10:36 +02:00