FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantomdriver]

From: Jiri Slaby
Date: Tue Mar 13 2007 - 18:17:09 EST


Why did you remove all Cced people? Anyway I filtered some of them out

johann deneux napsal(a):
You are right, the direction in ff_effect is meant to be an angle.
A dirty solution would be to use the 16 bits as two 8-bits angles. Or

That would be a problem as I need 3x 16bits.

maybe we should change the API. I don't think there are many applications using force feedback yet, so maybe that should be ok?

If we change the API, we should remove the assumption that a device has at most two axes to render effects. We could for instance have a magnitude argument for each axis which is capable of rendering effects. That might be necessary even for more common gaming devices like racing wheels: One can think pedals could also be capable of force feedback some day, not just the steering wheel.

I can do that, but in that case, I need to know how people (especially those input one) want me to do...

regards,
--
http://www.fi.muni.cz/~xslaby/ Jiri Slaby
faculty of informatics, masaryk university, brno, cz
e-mail: jirislaby gmail com, gpg pubkey fingerprint:
B674 9967 0407 CE62 ACC8 22A0 32CC 55C3 39D4 7A7E
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/