[gluon] Re: GluonInput

[ Thread Index | Date Index | More lists.tuxfamily.org/gluon Archives ]



Ok, no problem!

Currently I m reading your Mac port. That's very good!
I m currently thinking about more nice cross plateform class. I give you a shema. Tell me what do you think about it.

Currently, we cannot use same syntax for each plateform. We need to use /mac/kclinput or /mac/kclinput.

I suggest to have one GluonInput::Input and 3 platform dependent input : GluonInput::MacInput, LinuxInput ...


For example :
Input * joystick = new LinuxInput("evdev ")
Input * Joysitck = new MacInput("IOHI"):
Input * Joysitck = new WinInput("xinput"):


And for multiplateform application :
Input = GluonInput::Detect::Joystick;
Input = GluonInput::Detect::Mouse ;








?ui=2&view=att&th=126700d23703bb0c&attid=0.1&disp=attd&realattid=ii_126700d23703bb0c&zw



2010/1/27 Kim Jung Nissen <jungnissen@xxxxxxxxx>
Hi,

Well I can't start doing the renaming before the weekend, as I have some very important deadlines at work. But I'll start the renaming process in the weekend and probably be finished during next week, if that sounds ok?

Unfortunately I don't have an N900, so I'm not able to do the input work for that device

On Jan 27, 2010, at 12:57 AM, idk wrote:

> GLUONINPUTSHARED_EXPORT and not GLUONAUDIOSHARED_EXPORT
>
> 2010/1/27, idk <istdasklar@xxxxxxxxx>:
>> Hi,
>>
>> Is it possible for you if you have some time, to rename KCL to
>> GluonInput, in gluonQt4.6 branch? I don't want to break your work. It
>> should be easy. I started yet by cloning the class model of
>> gluonGraphics and audio.
>> You must copy kcl from gluon/refactor/kcl
>>
>> Do you have a n900? I plan to create a maemo input class.
>>
>> So the model class is like this :
>>
>> #include "gluoninput.h"
>>
>> namespace GluonInput {
>>
>>
>> class GLUONAUDIOSHARED_EXPORT Input {
>>
>> };
>>
>> } //namespace
>>




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/