View Single Post
Old 06-03-2007, 11:39 PM   #1
jayk
Enthusiast
jayk doesn't litterjayk doesn't litterjayk doesn't litter
 
Posts: 26
Karma: 201
Join Date: Mar 2007
Device: Iliad
Lightbulb Multiple Button support for iLiad stylus

Hey all,

Just wanted to post a note here, I know a lot of you are working on some more advanced apps, and thought you might be interested in this...

I just added support for multiple buttons to tslib/kdrive. This basically makes the eraser and button on fancier stylii functional as your second and third 'mouse' button.

I also wrote a plugin (taphold) that allows those with only the stock stylus to trigger a mouse-button 3 (aka right click) by pressing and holding the tip for a half-second. (this effectively converts all pressure input to be button 3 until you lift the stylus again)

So this basically means you can use multiple-button / right click in your apps and everyone can access them - assuming this tslib/kdrive combo is installed anyway.

My announcement on the iRex forums is here

The files are here.

Feedback welcome!

JayK

PS - This works fine locally... and I don't see any other ways to really improve things... Assuming it works for other folks - I'd be comfortable saying the new stylus code is solid and a general-purpose binary package can be created.
jayk is offline   Reply With Quote