D25764: Provide a fake approach to tablet event propagation
Vlad Zahorodnii
noreply at phabricator.kde.org
Thu Dec 5 16:24:09 GMT 2019
zzag added inline comments.
INLINE COMMENTS
> pointer_input.h:60
>
> +const QHash<uint32_t, Qt::MouseButton> &buttonCodeToQt();
> +
Wouldn't it be better to have an utility function that one can use to get a button code for the given Qt::MouseButton?
API-wise, I think we need something like this
Qt::MouseButton buttonToQtMouseButton(uint32_t button);
uint32_t qtToButtonMouseButton(Qt::MouseButton button);
REPOSITORY
R108 KWin
REVISION DETAIL
https://phabricator.kde.org/D25764
To: apol, #kwin
Cc: zzag, kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20191205/03091bfb/attachment.html>
More information about the kwin
mailing list