Trolltech Home | Qtopia-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qtopia-interest Archive, February 2007
question regarding qtopia and mouse


Message 1 in thread

Hi list!

Sorry for the crosspost, but I am totaly lost!

I have a problem, regarding Qtopia and mouse. I have an embedded system 
running linux and Qtopia without X11. The strange thing is: One 
application runs perfectly and I can use my attached mouse. The other 
application runs also, but my mouse-pointer does not move at all! 
What I need to know is the following:
What is needed to make a mouse usable in a Qtopia-application, so that I 
can start looking for the mistake. Both applications use some sort of main 
widget.
I set QWS_MOUSE_PROTO.
I start my application with 
./app -qws
The application starts and runs, but the mouse pointer does not react on 
any type of input.

Thanks in advance for any hint.

kind regards,
Sumpi

Message 2 in thread

andreas.sumper@xxxxxxxxxxxx wrote:
>
> Hi list!
Hi,
> I set QWS_MOUSE_PROTO.
> I start my application with
> ./app -qws
> The application starts and runs, but the mouse pointer does not react 
> on any type of input.
>
Does the device file which QWS_MOUSE_PROTO points to actually exist?

I dont use Qtopia but the rare Qt-embedded 3.3. The following works for 
me with a USB mouse.

export QWS_MOUSE_PROTO=IntelliMouse:/dev/input/mouse0


Best,

Andre

--
 [ signature omitted ] 

Message 3 in thread

Hi Andre!

Andre Haupt <haupt.andre@xxxxxx> wrote on 21.02.2007 15:49:24:

> andreas.sumper@xxxxxxxxxxxx wrote:
> >
> > Hi list!
> Hi,
> > I set QWS_MOUSE_PROTO.
> > I start my application with
> > ./app -qws
> > The application starts and runs, but the mouse pointer does not react 
> > on any type of input.
> >
> Does the device file which QWS_MOUSE_PROTO points to actually exist?
> 
> I dont use Qtopia but the rare Qt-embedded 3.3. The following works for 
> me with a USB mouse.
> 
> export QWS_MOUSE_PROTO=IntelliMouse:/dev/input/mouse0

This is the same in qtopia core 4.1.4, but my device is /dev/input/mice. 
as I allready mentioned, I set (ok, I meant i exported) QWS_MOUSE_PROTO.

Anyway, thanks for the hint!

Bye,
Sumpi 

Message 4 in thread

andreas.sumper@xxxxxxxxxxxx wrote:
>
> Hi Andre!
>
> Andre Haupt <haupt.andre@xxxxxx> wrote on 21.02.2007 15:49:24:
>
> > andreas.sumper@xxxxxxxxxxxx wrote:
> > >
> > > Hi list!
> > Hi,
> > > I set QWS_MOUSE_PROTO.
> > > I start my application with
> > > ./app -qws
> > > The application starts and runs, but the mouse pointer does not react
> > > on any type of input.
> > >
> > Does the device file which QWS_MOUSE_PROTO points to actually exist?
> >
> > I dont use Qtopia but the rare Qt-embedded 3.3. The following works for
> > me with a USB mouse.
> >
> > export QWS_MOUSE_PROTO=IntelliMouse:/dev/input/mouse0
>
> This is the same in qtopia core 4.1.4, but my device is 
> /dev/input/mice. as I allready mentioned, I set (ok, I meant i 
> exported) QWS_MOUSE_PROTO.
>
And cat /dev/input/mice produces "weird" characters on your console when 
you move the mouse?

--
 [ signature omitted ] 

Message 5 in thread

Andre Haupt <haupt.andre@xxxxxx> wrote on 21.02.2007 16:13:04:

> andreas.sumper@xxxxxxxxxxxx wrote:
> >
> > Hi Andre!
> >
> > Andre Haupt <haupt.andre@xxxxxx> wrote on 21.02.2007 15:49:24:
> >
> > > andreas.sumper@xxxxxxxxxxxx wrote:
> > > >
> > > > Hi list!
> > > Hi,
> > > > I set QWS_MOUSE_PROTO.
> > > > I start my application with
> > > > ./app -qws
> > > > The application starts and runs, but the mouse pointer does not 
react
> > > > on any type of input.
> > > >
> > > Does the device file which QWS_MOUSE_PROTO points to actually exist?
> > >
> > > I dont use Qtopia but the rare Qt-embedded 3.3. The following works 
for
> > > me with a USB mouse.
> > >
> > > export QWS_MOUSE_PROTO=IntelliMouse:/dev/input/mouse0
> >
> > This is the same in qtopia core 4.1.4, but my device is 
> > /dev/input/mice. as I allready mentioned, I set (ok, I meant i 
> > exported) QWS_MOUSE_PROTO.
> >
> And cat /dev/input/mice produces "weird" characters on your console when 

> you move the mouse?

Yes. It works with another qtopia application. It just does not work with 
a particular application and I was wondering, what it takes to make it 
work.

Bye,
Sumpi