[Interest] Something funny. QAccelerometer

Guido Seifert wargand at gmx.de
Wed Dec 18 09:28:36 CET 2013


On Tue, 17 Dec 2013 17:13:06 -0800
Thiago Macieira <thiago.macieira at intel.com> wrote:

> On quarta-feira, 18 de dezembro de 2013 01:28:52, Guido Seifert wrote:
> > > If it that square root returns zero, the computer is in free fall.
> > 
> > Hi, Thiago, you are right, of course. Never gave it much thought since I
> > never took the whole topic serious. I was just surprised that according to
> > Qt I have an accelerometer in my machine, which in a way even gives
> > sensible values.
> 
> The most likely reason for that is that you actually have an accelerometer 
> somewhere :-)

I don't think so. I thought that maybe one of the hard disks may have one
without my knowledge. Event though I don't think that Qt could detect this.
I am running Linux and checked with sensor-detect, lspci, lsusb, checked the 
loaded modules what drivers are installed, and searched /sys. Nothing. 
Furthermore I have my desktop on a table with  wheels, so I actually could 
move it. The values didn't change at all. Most unlikely that there is an 
accelerometer somewhere.

Guido



More information about the Interest mailing list