Hi!

FWIW, I haven't been able to solve this particular problem. I have, 
however, taken a different route. I decided to use one of the inputs 
already registered and I'm injecting events there. This approach is not as 
clean is a custom uinput device, but as long as it works...

Miha

On Wednesday, June 4, 2014 9:29:55 AM UTC+2, Miha Valencic wrote:
>
> I'm using custom input device to inject keyboard and touch events from the 
> remote side. It is working in portrait mode, but not in landscape mode.
>
> I'm testing this functionality on Galaxy S2 and Nexus7 hardware devices. 
> Galaxy S2 has screen size 480x800, so I configure uinput device with:
>
> uidev.absmin[ABS_MT_POSITION_X] = 0;
> uidev.absmax[ABS_MT_POSITION_X] = 479;
> uidev.absmin[ABS_MT_POSITION_Y] = 0;
> uidev.absmax[ABS_MT_POSITION_X] = 799;
>
>

-- 
-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
--- 
You received this message because you are subscribed to the Google Groups 
"Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-kernel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to