mouse support for android?

1,247 views
Skip to first unread message

李晖

unread,
Feb 7, 2012, 10:24:33 AM2/7/12
to android-porting
hi, all
currently, I am porting android to a platform which don't has touch
screen support, so I want to use mouse to manipulate the system. As
android don't support mouse by default, so I want to know what and how
to do to let it support mouse, did anyone has experience with this
topic! Any tips or suggestion will be greatly appreciated!
andy

freakingtux

unread,
Feb 8, 2012, 7:29:55 AM2/8/12
to android...@googlegroups.com
Hi

Read http://source.android.com/tech/input/touch-devices.html creating a device of type pointer will probably do what you want.

As for "hardware" support of the mouse this is typically something already present in the kernel.

Greetings



李晖

unread,
Feb 8, 2012, 10:03:49 AM2/8/12
to android-porting
thank you very much, I will try it then!

On 2月8日, 下午8时29分, freakingtux <kees.jongenbur...@gmail.com> wrote:
> Hi
>
> Readhttp://source.android.com/tech/input/touch-devices.htmlcreating a

Zoltan Kuscsik

unread,
Feb 9, 2012, 12:34:30 PM2/9/12
to lihui...@gmail.com, android-porting
AOSP ICS has mouse support for the Pandaboard. 

Z

2012/2/8 李晖 <lihui...@gmail.com>

vovkab

unread,
Feb 9, 2012, 8:34:49 PM2/9/12
to android-porting
Mouse support exists since Honeycomb, you need just to enable it in
kernel.

WANG.Jiong

unread,
Feb 13, 2012, 10:31:14 PM2/13/12
to vov...@gmail.com, android-porting
Hi all,

have met the same problem.

I have ported Android 4.0.3 to a new chip without touchpad, the USB
keyboard can work, I can use ctrl + M to enter into the "setting" menu.

but the USB mouse can not work, I can not see any mouse icon in the
screen.

Does anyone know why?

thanks in advance

---
Regards,
WANG.Jiong

Kees Jongenburger

unread,
Feb 14, 2012, 7:54:57 AM2/14/12
to rakesh rao, android...@googlegroups.com
Hi

On Tue, Feb 14, 2012 at 1:28 PM, rakesh rao <rak...@gmail.com> wrote:
hi
i had connected another micro controller through UART i can read the
values using terminal
but i wont to use that micro controller like input device same as key board
how can i do that
iam already sending the charecters through UART, i can see them
through terminal how that charecters can act like standard input
please help me
 
There are at least two way's of doing this
You can read the serial data in a normal userland program and use uinput to push events back into the kernel, alternatively you can 

Greetings


rakesh rao

unread,
Feb 14, 2012, 7:28:52 AM2/14/12
to kees.jon...@gmail.com, android...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages