Comments (4)
tslib
should work. You should set the correct event file.
example for tslib:
TSLIB_TSDEVICE=/dev/input/event2
then
./framebuffer-vncserver -t /dev/input/event2 -v
https://manpages.ubuntu.com/manpages/trusty/man5/ts.conf.5.html
The tslib
calibration file is not supported.
from framebuffer-vncserver.
my touch device is /dev/input/ts2
, export TSLIB_TSDEVICE=/dev/input/ts2; framebuffer-vncserver -t /dev/input/ts2 -F 60 -v
won't work.
from framebuffer-vncserver.
Your comments have no details.
If you think that something is not working properly then show it in your log or in the program code.
I tested framebuffer-vncserver with QT application using tslib and there was no problem.
framebuffer-vncserver writes into /dev/input/eventX.
tslib is an application library which reads /dev/input/eventX
They are independent.
dataflow:
framebuffer-vncserver -> /dev/input/eventX
/dev/input/eventX -> tslib -> application
from framebuffer-vncserver.
I'm sorry for my last comment.
I have two different devices with touch screen. One of the touchscreen node is /dev/input/event5, it is works fine with framebuffer-vncserver. The other device's touchscreen node is /dev/input/ts2 and it won't work properly.
The framebuffer-vncserver could not get the right range of the xy :
$ framebuffer-vncserver -F 60 -t /dev/input/ts2
Initializing framebuffer device /dev/fb0...
xres=1280, yres=800, xresv=1280, yresv=1600, xoffs=0, yoffs=0, bpp=32
offset:length red=16:8 green=8:8 blue=0:8
No keyboard device
Initializing touch device /dev/input/ts2 ...
x:(0 0) y:(0 0)
Initializing VNC serv
The info about ts2 is below:
# ls -lah /dev/input/ts2
lrwxrwxrwx 1 root root 6 Feb 8 22:51 /dev/input/ts2 -> event5
# cat /proc/bus/input/
devices handlers
# cat /proc/bus/input/handlers
N: Number=0 Name=kbd
N: Number=1 Name=sysrq (filter)
N: Number=2 Name=mousedev Minor=32
N: Number=3 Name=evdev Minor=64
# cat /proc/bus/input/devices
I: Bus=0019 Vendor=0001 Product=0001 Version=0100
N: Name="sunxi-ths"
P: Phys=sunxiths/input0
S: Sysfs=/devices/virtual/input/input0
U: Uniq=
H: Handlers=event0
B: PROP=0
B: EV=9
B: ABS=100 0
I: Bus=0019 Vendor=0001 Product=0001 Version=0100
N: Name="sunxi-keyboard"
P: Phys=sunxikbd/input0
S: Sysfs=/devices/virtual/input/input1
U: Uniq=
H: Handlers=kbd event1
B: PROP=0
B: EV=3
B: KEY=40040 0 0 10000000
I: Bus=0019 Vendor=0001 Product=0001 Version=0100
N: Name="sunxi-keypad"
P: Phys=Keypad/input2
S: Sysfs=/devices/virtual/input/kp0
U: Uniq=
H: Handlers=sysrq kbd event2
B: PROP=0
B: EV=3
B: KEY=ffffffff fffffffe
I: Bus=0019 Vendor=0001 Product=0001 Version=0100
N: Name="all_key"
P: Phys=sunxi_ts/input0
S: Sysfs=/devices/platform/sunxi-ts/input/input3
U: Uniq=
H: Handlers=event3
B: PROP=0
B: EV=b
B: KEY=400 0 0 0 0 0 0 0 0 0 0
B: ABS=610000 0
I: Bus=0019 Vendor=0001 Product=0001 Version=0100
N: Name="axp22-powerkey"
P: Phys=m1kbd/input2
S: Sysfs=/devices/soc.0/1c2ac00.twi/i2c-0/0-0034/axp22-powerkey/input/input4
U: Uniq=
H: Handlers=kbd event4
B: PROP=0
B: EV=7
B: KEY=100000 0 0 0
B: REL=0
I: Bus=0018 Vendor=dead Product=beef Version=28bb
N: Name="gt9xxnew_ts"
P: Phys=
S: Sysfs=/devices/virtual/input/input5
U: Uniq=
H: Handlers=kbd event5
B: PROP=2
B: EV=b
B: KEY=400 0 0 7f8 0 0 0 0 0 0 0
B: ABS=2650000 0
from framebuffer-vncserver.
Related Issues (13)
- Getting scrambled display while connecting to VNC Server from Client HOT 4
- Compresison HOT 1
- Bad Quality on Raspberry PI HOT 3
- Errorreport - Help HOT 1
- [FR] Rotate display HOT 3
- Is it possible to use it with DRM backend in weston? HOT 4
- Secure Websocket HOT 1
- Mouse scroll not working HOT 5
- Integrate forked changes HOT 1
- RPi 4 - touch not working on VNC view HOT 1
- Multitouch support ? HOT 4
- LIBVNC: LIBVNC-NOTFOUND HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from framebuffer-vncserver.