Hi Chris, Actually you're up to speed I think. They're meant to be a stop gap for the user while we're waiting for a gui. They're examples that can be used currently with the intention of the user modifying the parameter values to what they want/require.
Since they essentially duplicate wacomcpl's backend .xinitrc, solutions like daemons that worked for it will work for the .xsetwacom.sh scripts too. You're just going further along the road Peter started and actually coming up with a replacement for wacomcpl. Just needs a simple gui slapped on it. Favux On Wed, Feb 23, 2011 at 3:35 PM, Chris Bagwell <ch...@cnpbagwell.com> wrote: > > OK. I guess I'm missing parts of this topic. Sometimes it sounds > like these are examples only but other times it sounds like its meant > to be ran by some daemon backend or similar during hotplugs. > > If they are ever meant to be plugged into a backend then I'd assume > most the hard stuff like xsetwacom_version or $STYLUS are > automatically set for user. But then again, I'd go the easier route > for user and just have them set things like: > > TOUCH_THRESHOLD=27 > STYLUS_PRESSURECURVE=0 0 100 100 > STYLUS_THRESHOLD=27 > > Then user doesn't even now they are really a bash script and looks > dangerously close to windows *.INI they may already be familiar with > for same types of stuff. > > At plugin time, source the above file, and start updating everything > optionally and one by one: > > if xinput list | grep $HOTPLUG_NAME | grep touch; then > TOUCH="$HOTPLUG_NAME touch" > fi > if [ "${TOUCH}x" != "x" ]; then > if [ "${TOUCH_THRESHOLD" != "x" ]; then > xsetwacom $TOUCH $threshold_name[$xsetwacom_version] $TOUCH_TRESHOLD > fi > fi > > Then you are at long term easier to maintain all-in-one script as > Peter suggestions. > > But I think I must be missing overall intent here. > > Chris > ------------------------------------------------------------------------------ Free Software Download: Index, Search & Analyze Logs and other IT data in Real-Time with Splunk. Collect, index and harness all the fast moving IT data generated by your applications, servers and devices whether physical, virtual or in the cloud. Deliver compliance at lower cost and gain new business insights. http://p.sf.net/sfu/splunk-dev2dev _______________________________________________ Linuxwacom-devel mailing list Linuxwacom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel