qua-non suggests using this instead:
<pre><code>
         if 'button' in touch.profile and touch.button.startswith('scroll'):
             return
</code></pre>