eGalax touchscreen calibration
|
25th Apr, 2013, 06:43 PM
Post: #16
|
|||
|
|||
RE: eGalax touchscreen calibration
I don't have a touchscreen. The patch was suggested by @brantje, so he should test if what Markamc suggests works for more users.
pilight - modular domotica solution
|
|||
26th Apr, 2013, 09:18 PM
Post: #17
|
|||
|
|||
RE: eGalax touchscreen calibration
I'm installing with the guide...when the installation is finished can I do the image of all? So the next time i don't need to remake all!
Thanks |
|||
27th Apr, 2013, 09:46 AM
Post: #18
|
|||
|
|||
RE: eGalax touchscreen calibration
(26th Apr, 2013 09:18 PM)raspuca Wrote: I'm installing with the guide...when the installation is finished can I do the image of all? So the next time i don't need to remake all! Hi Luca, I had to re-"make" every time i modified the files in order to find a solution to get the "click" to work for my touchscreen. Initially, 12 hours for full code and then considerably less for minor modifications. The original patch seems to work for some but not for all, so the patch needs to be revised in xbmc. At the moment I use my modified version until it's ..."not just me!!" let me know how you are getting on...I will help if I can cheers mark To be honest, love xbmc but not necessarily the best touchscreen carpc solution; looking forward to wayland/weston and qt for my carpi project. Already compiled wayland/weston on pi (tutorial) the touchscreen worked no problem. Lets hope the development of "xbian-wayland" gets back on-track with the recent release of wayland 1.1...great things to come |
|||
12th May, 2013, 07:00 PM
Post: #19
|
|||
|
|||
RE: eGalax touchscreen calibration
I'm very interested in wayland/weston!! Do you have an example of the final result of the carpi project? An example too!!
Thanks a lot!! |
|||
12th May, 2013, 11:19 PM
Post: #20
|
|||
|
|||
RE: eGalax touchscreen calibration
(25th Apr, 2013 07:32 AM)Markamc Wrote: Hi Luca,Bezel like this one? http://pbrd.co/1236I7F @curly Code: xbian@xbian ~ $ cat /proc/bus/input/devices Maybe if we can get this thing working and calibrated, write some program for easy calibration? Also an xbian touchscreen skin can be an idea. XBian Skin Beta Testing Clock Screensaver If you liked my help, click on "Thanks" to show your appreciation. |
|||
13th May, 2013, 04:22 AM
Post: #21
|
|||
|
|||
RE: eGalax touchscreen calibration
Similar,
http://pbrd.co/19fJGNm nbox skin (xbmc wip) http://pbrd.co/19fLJkG I retrofitted a 7" touch to the factory radio BMW X5. I use openBM daemon monitoring the IBUS on the car to detect radio button events to control XBMC. Also, to maintain original nav system, i have a jammaboard/hdmi switch to swap screens between xbian and on-board-display. I tried 12.2, but think to fix the dual pointer issues the egalax patch has been removed. I have compiled 12.2 and 13.0 with my modified egalax patch to get my screen working again, no problems, just need to double click. I need to recompile for every new version to maintain my setup. Hopefully going to use this skin when finished for version 13.0 - http://forum.xbmc.org/showthread.php?tid=159291&page=9 @raspuca - I have only compiled wayland 1.1 with weston desktop -- no software yet early days. |
|||
13th May, 2013, 05:01 AM
Post: #22
|
|||
|
|||
RE: eGalax touchscreen calibration
Can you share the patch so that you don't need to recompile every time?
Because now the touchscreen isn't found by xbian. XBian Skin Beta Testing Clock Screensaver If you liked my help, click on "Thanks" to show your appreciation. |
|||
13th May, 2013, 05:10 AM
Post: #23
|
|||
|
|||
RE: eGalax touchscreen calibration
(13th May, 2013 05:01 AM)brantje Wrote: Can you share the patch so that you don't need to recompile every time? As described in earlier post, I apply the xbian patches in the build process, and then replace the MouseStat.cpp file with the original (unpatched) version, and remove the a few lines of code from LinuxInputDevices.cpp file, this was causing a mousedrag for me. I think @CurlyMo was waiting for some other users to test before committing changes, It would be great, as it takes quite a while to compile. |
|||
13th May, 2013, 10:35 PM
Post: #24
|
|||
|
|||
RE: eGalax touchscreen calibration
Quote: and remove the a few lines of code from LinuxInputDevices.cppWhich lines? XBian Skin Beta Testing Clock Screensaver If you liked my help, click on "Thanks" to show your appreciation. |
|||
13th May, 2013, 11:04 PM
Post: #25
|
|||
|
|||
RE: eGalax touchscreen calibration
the egalax patch...https://github.com/xbianonpi/xbian-patches/blob/master/xbmc/eGalaxTouchScreen.patch
adds these lines (34-40) to the file /xbmc/input/linux/LinuxInputDevices.cpp I edited the file and removed them before the build process. Terminal + /* [touchscreens] when PRESS or RELEASE action occurs */ + if(levt.code == BTN_TOUCH) + { + m_mouseX = g_graphicsContext.GetWidth() + 1; + m_mouseY = g_graphicsContext.GetHeight() + 1; + } + They were preventing me clicking the screen by always producing a "mousedrag" action instead of "mouseclick". I also removed the MouseStat.cpp patches by using the original file. Now I (and a couple more) can double click "tap" and prevent the constant "mousedrag". |
|||
18th May, 2013, 09:34 AM
Post: #26
|
|||
|
|||
RE: eGalax touchscreen calibration
@Markamc
Hi! I'm doing the installation that you linked to me.. But the patches of Andrei have to be apply BEFORE or AFTER the "make" (12h) of XBMC? Thanks a lot guy!! |
|||
18th May, 2013, 09:57 AM
Post: #27
|
|||
|
|||
RE: eGalax touchscreen calibration
You really need to apply the patches before the "make" to ensure it works.
The egalax patch has been removed from the xbian-patches since 12.2, so i had to apply them manually. I compiled 12.2 last night, successfully with working egalax touchscreen as I have described and soon hope to post and image so you can test without having to compile. You will need to edit the "touchscreen_axes_calib" file with your values though. I am trying to find a better way to calibrate , using "evtest" maybe as an addon. good luck, will update post when ready cheers mark |
|||
18th May, 2013, 06:35 PM
Post: #28
|
|||
|
|||
RE: eGalax touchscreen calibration
Ok, so I wait your wonderful work eheh
|
|||
18th May, 2013, 06:41 PM
Post: #29
|
|||
|
|||
eGalax touchscreen calibration
Can you provide the new egalaxtouschreen patch? I will readd it then.
Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here |
|||
18th May, 2013, 11:04 PM
Post: #30
|
|||
|
|||
RE: eGalax touchscreen calibration
http://pastebin.com/gp383gEd
Here's the link to the modified patch I did, basically removing the MouseStat.cpp patches and commenting out approx five lines from the LinuxInputDevices.cpp section as described above. I am currently uploading an image, it works with "double click" on my egalax screen on 12.2 xbianalpha5; there are some issues with the image, i needed to recover my SDcard after corruption. |
|||
« 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,925 |
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 |