Myscript Stylus Linux
Hi all, I recently bought a Tablet PC. I did not find any usable Linux applications to handwriting recognition. Then I found a paid software. MyScript Stylus is a handwriting recognition software that easily installs in Ubuntu 8.04, 9.04 10.04, 10.10, 11.04 and 12.04. It is not open source or free-ware though. However, you can download.
This is a fairly broad question, so I will try to keep it as focused as I can. I currently own a Lenovo laptop with Ubuntu installed and touchscreen functionality and own a, and been trying to make the two work together as a cheap Cintiq-like tablet. The pen has, unfortunately, support for only specific apps for iOS phones and tablets. So after lots of research, I've managed to interface with the pen and create a uinput device for it, so I can register button clicks and pressure changes on the pen and even see them routed to GIMP when configuring the device through the Input Controllers menu.
The code I have so far for that interface is. Background psd for photoshop. The trouble starts when trying to test it out with GIMP. From what I gather, this is because GIMP assumes Wacom devices report their own position, treats touchscreen touches as mouse movements and only allows input from a single device at a time. My question is, how can I work around this? More specifically, how can I create a uinput device that would behave as a Wacom tablet and supersede/block the behavior I described? Or if there's a different solution, such as patching GIMP or writing a plugin for it.
Update (2014-06-07) The code mentioned above now works. I have written a blog post on the process of getting this to work. As you said, Gimp expects you to provide ABS_X and ABS_Y along with ABS_PRESSURE in your driver - which is not strange, because you are using you virtual device as input, so it wouldn't make much sense to pick ABS_X and ABS_Y coordinates from one device and ABS_PRESSURE from another (although they will always be the same in this case). Maybe you can just read the current coordinates of the mouse and copy them as your own device coordinates. As an example, the project does something similar to what you are trying, they have an Android application for tablets with pen and use uinput to create virtual device that works like pressure-sensitive pen on Linux. I have used it and it worked like a charm in Gimp and mypaint on my laptop, and I had no problem with having a mouse (or the touchpad) active at the same time as the uinput device (I think that Krita added support for generic pressure-sensitive devices recently).