enigma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Enigma-devel] TiltStick, USB based tilt sensor


From: Till Harbaum / Lists
Subject: Re: [Enigma-devel] TiltStick, USB based tilt sensor
Date: Thu, 7 Feb 2008 20:32:50 +0100
User-agent: KMail/1.9.6 (enterprise 0.20070907.709405)

Hi,

Am Donnerstag 07 Februar 2008 schrieb Tacvek:
> It just seems to me like it should be possible to instruct the kernel to
> use the raw input values as the output values with no nullzone. I'm betting
> that
> feeding the correct sequence to "jscal -s <...>" would do the trick, but I
> have no idea what the correct sequence is.
It is possible. You just have to specify:

jscal -s 2,1,3,0,0,1000000,1000000,1,3,0,0,1000000,1000000 /dev/input/js0

> Now you bring up an intersting point though. What exactly does this device
> output? It is a three axis accellerometer. The normal way to use those as a
It is a two axis accelerometer and outputs acceleration in x and y direction.

> ones in enigma can work reasonably well, but technically you are still
> measuring acelleration, allowing things like "nudging" to work, right?
Yes it does. You can "shake" the board underneath the marble.

> That is actually mor interesting than just tilt sensing, and would be
> useful in other programs (think the nudge command in pinball among other
> things.)
Yes, that also works. It's also interesting for software like "dasher".

> Well that is a valid reason. If it is reasonable possible, installing the
> interface as a kernel module would be preferable, but I don't know if that
> code can be installed as a module, or if it must be compiled in.
IMHO at least some hooks have to be compiled in. And while installing a new 
kernel isn't too difficult on these devices it imho doesn't make much sense 
to ask the end user to do this.

The sdl_joystick interface really works nice in the current version on my 
notebook computer and i'll probably include the event interface into the 
maemo port only. Or would you like to integrate those ports into the main 
branch as well?

Till




reply via email to

[Prev in Thread] Current Thread [Next in Thread]