![]() |
#1 |
Enthusiast
![]() ![]() ![]() Posts: 26
Karma: 201
Join Date: Mar 2007
Device: Iliad
|
![]()
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. |
![]() |
![]() |
![]() |
#2 |
fruminous edugeek
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,745
Karma: 551260
Join Date: Oct 2006
Location: Northeast US
Device: iPad, eBw 1150
|
Cool! I was actually wishing for this recently. I do have a stylus from another wacom tablet that has the eraser tip, and I was missing it on the iLiad.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
Good work JayK, the iLiad has needed this from the very beginning!
This will be very useful for applications such as Jarnal. |
![]() |
![]() |
![]() |
#4 | |
Enthusiast
![]() ![]() ![]() Posts: 26
Karma: 201
Join Date: Mar 2007
Device: Iliad
|
Quote:
![]() I saw you posted on the abiword thread that you are using it. How's it working for you - Are you just using the button on your stylus or have you tried the taphold stuff too? JayK |
|
![]() |
![]() |
![]() |
#5 |
Addicted to Porting
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
I've installed it as well (even created a "dangerous" installation package for those interested).
I used a friend's stylus from a Fujitsu Lifebook, right click works well. I don't think there are any current apps that take advantage of button three though. Great work. ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
Quote:
![]() After startup I've had problems with the stylus either not working at all or the calibration being back to factory original. But when its working the right click and eraser are good stuff! I've been using it the last two days on the bus with dillo and it makes dillo a bit more usable to be able to right click. I hope you can fix the remaining bugs soon! |
|
![]() |
![]() |
![]() |
#7 | |
Enthusiast
![]() ![]() ![]() Posts: 26
Karma: 201
Join Date: Mar 2007
Device: Iliad
|
Quote:
Can you give me any more information? The multi-button support should not affect calibration in any way. Are you sure that it's not reverting to the original Xfbdev ? How do you solve it when this happens? Does it still happen with the taphold plugin disabled? any info you can provide would be great... JayK |
|
![]() |
![]() |
![]() |
#8 | |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
Quote:
After viewing document I decide to fire up WiFi on the bus and dillo around. Wonder Stylus is working then but calibration is off. I switch to Penabled Stylus to get right clock and calibration is better (as always.) i know I'm running your code because I have no clock. If I'm running old X I have clock. I don't know if you have any diagnostics to enable and grab for you. |
|
![]() |
![]() |
![]() |
#9 | |
Enthusiast
![]() ![]() ![]() Posts: 26
Karma: 201
Join Date: Mar 2007
Device: Iliad
|
Quote:
Also - did you re-run the calibration? the binary package I have up there contains a pointercal file - it's possible yours got overwritten.... Anyway - I'll look into it and will let you know what I find. Thanks for the feedback. Definitely want to track that down. JayK |
|
![]() |
![]() |
![]() |
#10 |
Addicted to Porting
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,697
Karma: 7194
Join Date: Oct 2006
Location: Indianapolis, IN
Device: iRex iLiad, Nokia 770, Samsung i760
|
FYI, I've been using my iLiad for the last 4 days with all the plugins enabled without a problem...
|
![]() |
![]() |
![]() |
#11 |
Enthusiast
![]() ![]() ![]() Posts: 26
Karma: 201
Join Date: Mar 2007
Device: Iliad
|
|
![]() |
![]() |
![]() |
#12 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
Upgrading to 2.10 solved the problem.
![]() I haven't reinstalled your software not knowing if it was 2.10 compatible yet. |
![]() |
![]() |
![]() |
#13 | |
Enthusiast
![]() ![]() ![]() Posts: 26
Karma: 201
Join Date: Mar 2007
Device: Iliad
|
Quote:
JayK |
|
![]() |
![]() |
![]() |
#14 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
|
|
![]() |
![]() |
![]() |
#15 | |
Enthusiast
![]() ![]() ![]() Posts: 26
Karma: 201
Join Date: Mar 2007
Device: Iliad
|
Quote:
Long story short is that we were getting coordinates that made no sense at all... and the X server was dutifully ignoring them. Once some real events came through, it would sync up and start working again. I've solved this problem by putting the device query in to the initialization routine. Even though we don't need / care about the tablet size, etc.... it does clear out the cruft and eats the garbage data before the x server has to deal with it. I have not packaged it up yet, but I will do so, probably tomorrow, and put it online. JayK |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Prev Page button skips back multiple pages | Yetchtoo | Amazon Kindle | 9 | 03-08-2010 12:48 PM |
iLiad iLiad button support | renpytom | iRex Developer's Corner | 8 | 10-14-2009 09:55 AM |
What is the button on the stylus for? | physics@war | iRex | 17 | 08-14-2009 02:46 AM |
iLiad iLiad Power Use: A discussion (or, Leave your stylus at home) | jharker | iRex Developer's Corner | 27 | 11-13-2008 06:19 PM |
Lost my iLiad Stylus, now what? | dodowolf | iRex | 2 | 11-26-2007 11:23 PM |