eGalax touchscreen calibration
|
9th Jul, 2013, 10:23 PM
Post: #151
|
|||
|
|||
RE: eGalax touchscreen calibration
(9th Jul, 2013 10:02 PM)bboyandru Wrote:(9th Jul, 2013 09:31 PM)Markamc Wrote: Hi Andrei,Hi Mark! Yep, I did it like this too , would be good to use ts_calibrate then you could call it from a xbmc plug-in, the values are easy to translate. Your patch is also on xbian at the moment, but with the single-click disabled, I was using the calib files until I tried a different way. I meant, I force touch events and BTN_right events outside XBMC with uimapper, if your patch is permanent then I would have conflicting events for uimapper and your hard-coded patch. Would be nice, for me anyway, to choose which way? by some a 'flag' in the calib file, maybe? |
|||
9th Jul, 2013, 11:07 PM
Post: #152
|
|||
|
|||
RE: eGalax touchscreen calibration
(9th Jul, 2013 10:23 PM)Markamc Wrote:(9th Jul, 2013 10:02 PM)bboyandru Wrote:(9th Jul, 2013 09:31 PM)Markamc Wrote: Hi Andrei,Hi Mark! I don't think my patch will affect forcing other inputs using uimapper. My code just skips the first point received by XBMC and use it as the previous point for distance calculation. For example, at one touch on the touchscreen, XBMC gets more than 5 events, so ignoring the first one wouldn't be a problem. Please have a look at my description from the blog post: Quote:After I have successfully calibrated the touchscreen I have discovered that single click was not possible from the touchscreen, just double click. After digging through the code, I have found that this was caused by drag action which was triggered because the previous values of the touch were far(more than 5 pixels) from a new press. For example, at the start of the program, cursor is set at 0,0 coordinates; if user is trying to press a button, let's say at 100, 300, the program(XBMC) will calculate the distance between these two points and will find out that this is greater than 5. Andrei |
|||
9th Jul, 2013, 11:57 PM
Post: #153
|
|||
|
|||
RE: eGalax touchscreen calibration
Done: https://github.com/brantje/xbian-touch
Read the read me *duh* and follow instructions This uses Markamc's method. XBian Skin Beta Testing Clock Screensaver If you liked my help, click on "Thanks" to show your appreciation. |
|||
10th Jul, 2013, 01:42 AM
Post: #154
|
|||
|
|||
RE: eGalax touchscreen calibration
Nice work, thanks Brantje for your help. It's good to see all this development on this forum and be part of it!
cheers mark (9th Jul, 2013 11:07 PM)bboyandru Wrote:(9th Jul, 2013 10:23 PM)Markamc Wrote:(9th Jul, 2013 10:02 PM)bboyandru Wrote:(9th Jul, 2013 09:31 PM)Markamc Wrote: Hi Andrei,Hi Mark! Ok, Andrei, I understand completely , I've been using it for a while, I was just a bit worried that my forced events may affect your code too. If I stop uimapper, then i use your hard-coded calibration routine and calib-file. Uimapper does the translations at event level for a user-generated input-device using the /etc/pointercal file generated, after ts_calibrate is executed. ts_calibrate also uses a component of x and y in both x and y compensations to allow for linear mis-alignment of touchscreen, although I haven't implemented use yet, but you could very easily, in your code , if you wish. |
|||
10th Jul, 2013, 06:03 AM
Post: #155
|
|||
|
|||
RE: eGalax touchscreen calibration
Hi!
I have added click_confines to the calibration file and I have created a single patch for all fixes. I can confirm that a value of 8 for cick_confines makes the touch verry sensitive, although I have a film over the touch screen the touch behaves verry close to a capacitive one. I will make a video soon. You can download the patch from here Best Regards, Andrei |
|||
12th Jul, 2013, 05:17 AM
Post: #156
|
|||
|
|||
RE: eGalax touchscreen calibration
I spoke with Koenkk, and a patch for xbmc would be the best option.
Do we still have a right click then? Updates xbian skin also abit more for touch Also, if users wants mark's method then they should have an option to use it. XBian Skin Beta Testing Clock Screensaver If you liked my help, click on "Thanks" to show your appreciation. |
|||
13th Jul, 2013, 02:33 AM
Post: #157
|
|||
|
|||
RE: eGalax touchscreen calibration
Hi!
Check out my new video with XBMC12.2 and my new skin(designed for use in cars), which is work in progress. https://www.youtube.com/watch?v=d7uRCweGXP0 Best Regards, Andrei |
|||
13th Jul, 2013, 03:05 AM
Post: #158
|
|||
|
|||
RE: eGalax touchscreen calibration
Good effort , really nice interface..
I'll give yours a try, have you got an img file to test (latest) or should I compile with patches? or is it in xbian yet? cheers mark |
|||
13th Jul, 2013, 05:27 AM
Post: #159
|
|||
|
|||
RE: eGalax touchscreen calibration
(13th Jul, 2013 03:05 AM)Markamc Wrote: Good effort , really nice interface.. Hi I have uploaded my image at https://drive.google.com/uc?id=0B__Rs5JF53-kU09ENm5aSm1kc1U&export=download Andrei |
|||
13th Jul, 2013, 06:09 AM
Post: #160
|
|||
|
|||
RE: eGalax touchscreen calibration
Many thanks Andrei, i'll give it a go now and give some feedback
Been looking into swipe? looking for an event type to inject at kernel level...not sure at this stage whether possible for 12.2 maybe better suited to gotham. New to all this still atb mark |
|||
13th Jul, 2013, 07:31 AM
Post: #161
|
|||
|
|||
RE: eGalax touchscreen calibration
Hi Andrei,
Interface looks good. I tried my old touchscreen_calib file and it didn't work, I check against yours and can see that you have changed the transformation equations. No problem I can set them right. I tried to install ts_calibrate to see if i could get the swap etc and some feedback once exiting from xbmc but the screen was black. I think you have a good solution and if I can help you in anyway let me know. I think it would be good if you use the tslib to generate your calib file, then it is more automatic, I can help you if you like, only by showing you how I managed What I will try to do, this weekend is recompile your patches into XBMC (xbian) maybe? and see if I can get it to work, for me of course..or maybe Brantje could too. Another idea I was looking at was Opengalax, the guy had a serial comms touchscreen and wrote a user-input driver, I couldn't convert it, but with your knowledge it would be a piece of cake |
|||
28th Jul, 2013, 09:47 PM
Post: #162
|
|||
|
|||
RE: eGalax touchscreen calibration
HI all!! Are there any news about the project? There are a definitive patch or method?
brantje the skin is very good!! are there update about this? |
|||
29th Jul, 2013, 10:27 PM
Post: #163
|
|||
|
|||
RE: eGalax touchscreen calibration
(13th Jul, 2013 02:33 AM)bboyandru Wrote: Hi!Can you put the skin on github? (28th Jul, 2013 09:47 PM)raspuca Wrote: HI all!! Are there any news about the project? There are a definitive patch or method?The xbian skin? XBian Skin Beta Testing Clock Screensaver If you liked my help, click on "Thanks" to show your appreciation. |
|||
30th Jul, 2013, 12:20 AM
Post: #164
|
|||
|
|||
RE: eGalax touchscreen calibration
I talk about this
http://puu.sh/3AsSY.jpg |
|||
30th Jul, 2013, 02:48 AM
Post: #165
|
|||
|
|||
RE: eGalax touchscreen calibration
That is the xbian skin =)
XBian Skin Beta Testing Clock Screensaver If you liked my help, click on "Thanks" to show your appreciation. |
|||
« Next Oldest | Next Newest »
|
Possibly Related Threads... | |||||
Thread: | Author | Replies | Views: | Last Post | |
[PROBLEM] Touchscreen calibration is wrong and i'm going crazy. | wash | 5 | 18,926 |
17th Jan, 2015 10:34 PM Last Post: wash |
|
Tutorial: Touchscreen calibration & extra features | Markamc | 0 | 7,301 |
2nd Jul, 2013 12:11 AM Last Post: Markamc |