From: Ricardo Ribalda Delgado
New char device emulating an Elo serial touchpad.
v2: -Emulate id packages (linux recognizes the hw)
-Limit output to 96-4000 (thanks to Dmitry Zhurikhin)
v3: -Output buffer (thanks to Juan Quintela)
-Code Style
---
Makefile.objs |2 +-
hw/elo.c
Hello Paul
Hmmm, you are right, it should be part of the calibration (userland).
As Dmtry says, the output from the chip should be from 96-4000. I have
fixed the max values to that.
The previous code was done to emulate an old privative app that uses
an elo touchscreen. I managed to reverse engin
New char device emulating an Elo serial touchpad.
-Emulate id and touch packets
-Absolute Output limited to 96-4000
---
Makefile.objs |2 +-
hw/elo.c| 153 +++
hw/elo.h|2 +
hw/serial.c |2 +-
qemu-char.c |
Ricardo Ribalda Delgado wrote:
TODO: The output of the touchpad should be in the range of the
resolution. But I don't know a clean way to get the screen resolution.
Any help will be very wellcomed
Hello. Looking at the Linux kernel driver it seems to consider reported
coordinates to be in the r
> New char device emulating an Elo serial touchpad.
>
> TODO: The output of the touchpad should be in the range of the
> resolution. But I don't know a clean way to get the screen resolution.
> Any help will be very wellcomed
Are you sure? I don't see how real hardware would be able to do that.
New char device emulating an Elo serial touchpad.
TODO: The output of the touchpad should be in the range of the
resolution. But I don't know a clean way to get the screen resolution.
Any help will be very wellcomed
---
Please. Ignore the old 01/10
Makefile.objs |2 +-
hw/elo.c|