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.
- 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.