* input_set_abs max
@ 2017-02-28 13:02 Sriram V
2017-02-28 16:17 ` Roderick Colenbrander
0 siblings, 1 reply; 2+ messages in thread
From: Sriram V @ 2017-02-28 13:02 UTC (permalink / raw)
To: linux-input
Hi,
I have a 480x800 LCD and the touchscreen driver gives 0 to 4095 and
max value is X=4095, Y = 4095
I am using android. Currently, with this setup. I am not able to see
the effects on my touchscreen on the
LCD.
I use the call input_set_abs_params with ABS_X and ABS_Y to tell the
upper layer that my touchscreen
gives 0 to 4095.
Eventhough, i am able to see the events generated using evtest.
I wanted to check who maps these values 0 to 4095 to the Appropriate
pixel on the LCD.
Regards,
Sriram
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: input_set_abs max
2017-02-28 13:02 input_set_abs max Sriram V
@ 2017-02-28 16:17 ` Roderick Colenbrander
0 siblings, 0 replies; 2+ messages in thread
From: Roderick Colenbrander @ 2017-02-28 16:17 UTC (permalink / raw)
To: Sriram V; +Cc: linux-input
Hi,
The Android input layer is responsible for touch to screen resolution
transformations. It is guided by settings reported through evdev (e.g.
INPUT_PROP_DIRECT) to tell the touch device is attached to the
display. Android also has some override layer through config files.
The whole system is quite involved, but is well documented all the way
from evdev up to the higher Android layers, so I would recommend to
read:
https://source.android.com/devices/input/touch-devices.html
The first thing I would verify based on that document is whether your
evdev driver is setting the correct properties, so Android is able to
detect your device type properly.
Thanks,
Roderick
On Tue, Feb 28, 2017 at 5:02 AM, Sriram V <vshrirama@gmail.com> wrote:
> Hi,
>
> I have a 480x800 LCD and the touchscreen driver gives 0 to 4095 and
> max value is X=4095, Y = 4095
> I am using android. Currently, with this setup. I am not able to see
> the effects on my touchscreen on the
> LCD.
>
> I use the call input_set_abs_params with ABS_X and ABS_Y to tell the
> upper layer that my touchscreen
> gives 0 to 4095.
>
> Eventhough, i am able to see the events generated using evtest.
>
> I wanted to check who maps these values 0 to 4095 to the Appropriate
> pixel on the LCD.
>
> Regards,
> Sriram
> --
> To unsubscribe from this list: send the line "unsubscribe linux-input" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-28 16:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-28 13:02 input_set_abs max Sriram V
2017-02-28 16:17 ` Roderick Colenbrander
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).