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.
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.
- 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.
- Place whole control-cluster further left to be more similar to the
design,
- replace individual attribution of control-wheel-button with
consolidated assignment for easier reading, and
- separate control-wheel and media control groups.
Qt Version 6.7.0 deprecates the QCheckBox::stateChanged() signal in
favor of the QCheckBox::checkStateChanged() signal. This commit handles
the deprecation for later versions while remaining the current
implementation for earlier ones.