[Qt5-feedback] X11 mouse buttons in qt4, qt5, and KDE: please, PLEASE review this design.
Иван Комиссаров
abbapoh at gmail.com
Thu Jul 28 16:29:47 CEST 2011
As soon as we have only 10 fingers, it seems be sufficient:)
In fact, user can't press more than 5 buttons at the same time (if he has no more than 5 fingers on one hand, of course), so supporting device with 32+ buttons seems useless.
Using list of ints will receive a lot of memory for very frequent event. also we have to spent time to get buttons from list… I think int is best solution; in any case we can reserve -1 for using other mechanism (such a list)
Just wonder - can i receive apple magic mouse gestures in Qt (maybe using QGesture?) or not?
28.07.2011, в 17:43, Thiago Macieira написал(а):
On Thursday, 28 de July de 2011 10:25:17 Samuel Rødal wrote:
> Oh, another thought, can't we just extend the MouseButtonMask to include
> more bits in Qt 5? Would 32 buttons be sufficient for any reasonable use?
Yes, just like 640 kB will be sufficient for any reasonable use :-)
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
_______________________________________________
Qt5-feedback mailing list
Qt5-feedback at qt.nokia.com
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback
More information about the Qt5-feedback
mailing list