eGalax touchscreen calibration
|
27th Aug, 2013, 02:05 AM
Post: #191
|
|||
|
|||
Possible Solution to make it work on N-TRIG Multitouchscreens
Hello guys,
finally I've got make it work on my Multitouchscreen (same type as you can get from chalc-elec [10"]). While swiping the pointer is a bit laggy but it works great with a Touch-skin where you don't have to swipe ![]() At first this is not my work!!! Nearly all scripts and hints were made my brantje and Markamc (thank you very much for your very good and fast support!) -Thank you very much!!!! So that is what you have to do (this worked for me): Terminal wget https://github.com/brantje/xbian-touch/raw/master/install.sh sudo sh install.sh stop uimapper stop xbmc wget --no-check -O uimapper.tar.gz "https://docs.google.com/uc?export=download&id=0B4lrG9aRe-8MWXUtaktRbWVFdDA" sudo mkdir -p /scripts && tar -zxvf uimapper.tar.gz -C /scripts Next step: Terminal evtest No device specified, trying to scan all of /dev/input/event* Not running as root, no devices may be available. Available devices: /dev/input/event0: Chicony USB Keyboard /dev/input/event1: Chicony USB Keyboard /dev/input/event2: N-Trig Pen /dev/input/event3: N-Trig MultiTouch /dev/input/event4: N-Trig Touchscreen Select the device event number [0-4]: Now open uimapper.conf: Terminal sudo nano /etc/init/uimapper.conf Terminal #!upstart description "uimapper" env UIMAPPER_DEV="/dev/input/event3" <-------- Put in here your event Number for Multitouch env UIMAPPER_CONF="configs/multitouch.py" <-------- change to multitouch.py env UIMAPPER_DIR="/scripts/uinput-mapper" start on (input-device-added SUBSYSTEM=input) stop on input-device-removed nice -10 kill timeout 1 expect fork script chdir $UIMAPPER_DIR exec ./input-read.py $UIMAPPER_DEV -D | ./input-create.py $UIMAPPER_CONF & exec ./input-read.py "/dev/input/event4" -D & <--------Add this line with your event Number for Touchscreen end script respawn Now we have to reduce the tine for the touch-events (it's a capacitive touchscreen so it's more sensitive): Terminal nano /scripts/uinput-mapper/input-create.py Terminal if inrange <= 400: if holdtime > 0.02 and holdtime <= 0.50: Okay that must be all... Now just run: Terminal cd ~ sudo sh install.sh XBian touch installer by brantje Already installed... Recalibrating Listing event devices lrwxrwxrwx 1 root root 9 Jan 1 1970 usb-Chicony_USB_Keyboard-event-if01 -> ../event1 lrwxrwxrwx 1 root root 9 Jan 1 1970 usb-Chicony_USB_Keyboard-event-kbd -> ../event0 lrwxrwxrwx 1 root root 9 Jan 1 1970 usb-N-trig_DuoSense_11.20.10.53.16-event-if01 -> ../event3 lrwxrwxrwx 1 root root 9 Jan 1 1970 usb-N-trig_DuoSense_11.20.10.53.16-event-mouse -> ../event2 lrwxrwxrwx 1 root root 9 Jan 1 1970 usb-N-trig_DuoSense_11.20.10.53.16-if01-event-mouse -> ../event2 What is the event number of the touchscreen? eg: event0 then you type 0, followed by [ENTER] Calibrating does only work with the event Number which I've mentioned above... Hope this works for you ---- Regards, ph87 |
|||
« 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 | 19,569 |
17th Jan, 2015 10:34 PM Last Post: wash |
|
Tutorial: Touchscreen calibration & extra features | Markamc | 0 | 7,460 |
2nd Jul, 2013 12:11 AM Last Post: Markamc |