As I'm working on the X11 wheel mapping, I'm finding a few weird quirks in the code. I pretty much understand 'how' things work, but I'm not sure why some things are the way they are...
1. Why does WACOM_PROP_BUTTON_ACTIONS have room for only 16 buttons, yet priv->btn_actions (storing the same data) have space for 32? The functional difference between WCM_MAX_BUTTONS and WCM_MAX_MOUSE_BUTTONS is not clear. 2. Why maintain a seperate raw button codepath when the "actions" codepath already does the same thing when given a 'button' action? 3. Why does xsetwacom take X11 buttons as the first argument to "Button X"? I can't be alone in thinking it was weird my cintiq was missing two buttons (6 & 7) and that two other buttons (4 & 5) only responded to changes via the Strip(Left|Right)(Up|Down) command. Jason --- Day xee-nee-svsh duu-'ushtlh-ts'it; nuu-wee-ya' duu-xan' 'vm-nvshtlh-ts'it. Huu-chan xuu naa~-gha. ------------------------------------------------------------------------------ Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel