On Sunday 06 February 2011, Rick Stockton wrote: > So, here's my tentative design: At KDE startup, do an "xinput list > --short" and grep for pointer device names. Then, if we ALREADY have a > matching [device-name] section in our config file (maybe with filename > "./kde/share/conf/mousebuttonconfigs.rc"), and the device is enabled, > execute "xinput set-button-mapping" with the values in the file stored > for that device. Here's an optional add-on, and my vote would be to do > this as well:
First of all I want to point out that this discussion is off-topic on this mailing list, since the KCM's for configuring input devices have nothing to do with Plasma. Please move this discussion to a more suitable list, such a kde-core-devel. Secondly, XInput provides a list of labels for the buttons on each device, and Qt should use the label to determine what a particular button does. Also, please don't write frontends for command line utilities when there is a perfectly good library available (which the command line utility also uses). Regards, Fredrik _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel