Re: [RFC 1/2] Input: ff, add FF_RAW effect

2007-04-18 Thread johann deneux
On 4/18/07, Jiri Slaby <[EMAIL PROTECTED]> wrote: johann deneux napsal(a): > Jiri, > > Which solution did you chose to implement? From what I remember, we > last discussed Dmitry's idea of specifying an axis for an effect, then > combine several effects to achieve complex

Re: [RFC 1/2] Input: ff, add FF_RAW effect

2007-04-18 Thread johann deneux
Jiri, Which solution did you chose to implement? From what I remember, we last discussed Dmitry's idea of specifying an axis for an effect, then combine several effects to achieve complex effects. The implementation would specify the axis using the upper bits of the effect type. The patches you

Re: [RFC 1/2] Input: ff, add FF_RAW effect

2007-04-18 Thread johann deneux
Jiri, Which solution did you chose to implement? From what I remember, we last discussed Dmitry's idea of specifying an axis for an effect, then combine several effects to achieve complex effects. The implementation would specify the axis using the upper bits of the effect type. The patches you

Re: [RFC 1/2] Input: ff, add FF_RAW effect

2007-04-18 Thread johann deneux
On 4/18/07, Jiri Slaby [EMAIL PROTECTED] wrote: johann deneux napsal(a): Jiri, Which solution did you chose to implement? From what I remember, we last discussed Dmitry's idea of specifying an axis for an effect, then combine several effects to achieve complex effects. I think you mean

Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

2007-03-27 Thread johann deneux
On 3/27/07, Jiri Slaby <[EMAIL PROTECTED]> wrote: Ok, so how to deal with these devices? Does anybody have some idea? That's what I was talking about somewhere in the beginning of this thread, the raw values, because it seems too specific for letting kernel to cope with each of these devices

Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

2007-03-27 Thread johann deneux
On 3/27/07, Jiri Slaby <[EMAIL PROTECTED]> wrote: johann deneux napsal(a): > On 3/27/07, Jiri Slaby <[EMAIL PROTECTED]> wrote: >> Dmitry Torokhov napsal(a): >> > On Wednesday 21 March 2007 18:03, johann deneux wrote: >> >> I have forgotten the details o

Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

2007-03-27 Thread johann deneux
On 3/27/07, Jiri Slaby <[EMAIL PROTECTED]> wrote: Dmitry Torokhov napsal(a): > On Wednesday 21 March 2007 18:03, johann deneux wrote: >> On 3/21/07, Jiri Slaby <[EMAIL PROTECTED]> wrote: >>> Dmitry Torokhov napsal(a): >>>> On 3/21/07, johann deneu

Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

2007-03-27 Thread johann deneux
On 3/27/07, Jiri Slaby [EMAIL PROTECTED] wrote: Dmitry Torokhov napsal(a): On Wednesday 21 March 2007 18:03, johann deneux wrote: On 3/21/07, Jiri Slaby [EMAIL PROTECTED] wrote: Dmitry Torokhov napsal(a): On 3/21/07, johann deneux [EMAIL PROTECTED] wrote: I would suggest adding a new effect

Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

2007-03-27 Thread johann deneux
On 3/27/07, Jiri Slaby [EMAIL PROTECTED] wrote: johann deneux napsal(a): On 3/27/07, Jiri Slaby [EMAIL PROTECTED] wrote: Dmitry Torokhov napsal(a): On Wednesday 21 March 2007 18:03, johann deneux wrote: I have forgotten the details of ioctl: Wouldn't the following work? No, at least

Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

2007-03-27 Thread johann deneux
On 3/27/07, Jiri Slaby [EMAIL PROTECTED] wrote: Ok, so how to deal with these devices? Does anybody have some idea? That's what I was talking about somewhere in the beginning of this thread, the raw values, because it seems too specific for letting kernel to cope with each of these devices

Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

2007-03-21 Thread johann deneux
On 3/21/07, Jiri Slaby <[EMAIL PROTECTED]> wrote: Dmitry Torokhov napsal(a): > On 3/21/07, johann deneux <[EMAIL PROTECTED]> wrote: >> I would suggest adding a new effect type (3d effect) and extending the >> union in struct ff_effect. >> Let me know if I

Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

2007-03-21 Thread johann deneux
On 3/21/07, Jiri Slaby <[EMAIL PROTECTED]> wrote: STenyaK (Bruno González) napsal(a): > On 3/14/07, Dmitry Torokhov <[EMAIL PROTECTED]> wrote: >> > I have a question: if the force is to be 3D, why only 3 possible >> values? >> > What would they be, 3 torques or 3 forces? In the case of car sims

Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

2007-03-21 Thread johann deneux
On 3/21/07, Jiri Slaby [EMAIL PROTECTED] wrote: STenyaK (Bruno González) napsal(a): On 3/14/07, Dmitry Torokhov [EMAIL PROTECTED] wrote: I have a question: if the force is to be 3D, why only 3 possible values? What would they be, 3 torques or 3 forces? In the case of car sims (ff

Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

2007-03-21 Thread johann deneux
On 3/21/07, Jiri Slaby [EMAIL PROTECTED] wrote: Dmitry Torokhov napsal(a): On 3/21/07, johann deneux [EMAIL PROTECTED] wrote: I would suggest adding a new effect type (3d effect) and extending the union in struct ff_effect. Let me know if I'm too vague, I already suggested that solution

Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

2007-03-17 Thread johann deneux
On 3/16/07, Pavel Machek <[EMAIL PROTECTED]> wrote: Hi! > >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. >

Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

2007-03-17 Thread johann deneux
On 3/16/07, Pavel Machek [EMAIL PROTECTED] wrote: Hi! 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

Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

2007-03-15 Thread johann deneux
On 3/14/07, STenyaK (Bruno González) <[EMAIL PROTECTED]> wrote: On 3/14/07, Dmitry Torokhov <[EMAIL PROTECTED]> wrote: > > I have a question: if the force is to be 3D, why only 3 possible values? > > What would they be, 3 torques or 3 forces? In the case of car sims (ff > > steering wheels),

Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

2007-03-15 Thread johann deneux
On 3/14/07, Dmitry Torokhov <[EMAIL PROTECTED]> wrote: On 3/14/07, STenyaK (Bruno González) <[EMAIL PROTECTED]> wrote: > > > On 3/14/07, Anssi Hannula <[EMAIL PROTECTED]> wrote: > > >> Do we have any idea if there any users of FF out there? > > > > > > At least me :). I'm using it for wheel and

Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

2007-03-15 Thread johann deneux
On 3/14/07, Dmitry Torokhov [EMAIL PROTECTED] wrote: On 3/14/07, STenyaK (Bruno González) [EMAIL PROTECTED] wrote: On 3/14/07, Anssi Hannula [EMAIL PROTECTED] wrote: Do we have any idea if there any users of FF out there? At least me :). I'm using it for wheel and joystick in modules

Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

2007-03-15 Thread johann deneux
On 3/14/07, STenyaK (Bruno González) [EMAIL PROTECTED] wrote: On 3/14/07, Dmitry Torokhov [EMAIL PROTECTED] wrote: I have a question: if the force is to be 3D, why only 3 possible values? What would they be, 3 torques or 3 forces? In the case of car sims (ff steering wheels), only one axis