D25921: [libinput] Send touch events with respect to device rotation

Aleix Pol Gonzalez <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
apol added a comment.


  In D25921#579549 <https://phabricator.kde.org/D25921#579549>, @romangg wrote:
  
  > In D25921#579478 <https://phabricator.kde.org/D25921#579478>, @apol wrote:
  >
  > > Just tested it, works okay.
  > >
  > > Now the pen is broken. 😅
  >
  >
  > Oh right. But before you put any time into trying to fix it. I think I found a generic fix: There is a function in our libinput code setting the device input matrix dependent on rotation but I accidentally "deactivated" it some time ago when moving around code in the Screens class. I would look into that soon and then might revert the patch here as well (in case setting the matrix also fixes the touch events).
  
  
  Okay, a generic solution from libinput could break on multiscreen. This patch works, checked yesterday.

BRANCH
  touch-rotation-fix

REVISION DETAIL
  https://phabricator.kde.org/D25921

To: romangg, #kwin, zzag
Cc: apol, zzag, kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, zachus, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, ahiemstra, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.