D25764: Provide a fake approach to tablet event propagation
Vlad Zahorodnii <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
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