Many mouses and touch input support progress

Hi,

So here is my month report. During this month systems working with x11 can
identify the pointing device that sent an event by an id variable and also
they can read pressure from the device. Also a basic feature such as getting
the number of pointing devices recognized by SDL and getting the name of a
device by it’s id have been implemented. The Makefile isn’t currently
working well, I’ll give it an update soon - it will be using a dirty trick
for some time to compile well. Those features require users to have XInput,
which should be a part of an basic XOrg package. In the near future(I hope
by the end of the week) we’ll have to possibility of switching pointing
devices modes(if possible) between absolute and relative coordinates. The
next step will be implementing the possibilty for each device to retain
their coordinates and thus allow the user to fully use many pointing devices
and cursors. Then I will port the features to Windows. That is the current
plan. Simple documentation and information on the features are located in
http://wilku.ravenlord.ws/doku.php?id=start . I would be greatful for any
feedback. Godspeed.

Best wishes–
“For those about to code”
–Szymon “Wilku” Wilczek

Den Fri, 27 Jun 2008 07:36:53 -0700
skrev “Szymon Wilczek” :
[…]

http://wilku.ravenlord.ws/doku.php?id=start . I would be greatful for
any feedback. Godspeed.

A few comments/questions/requests:

  • Is it possible to get sub-pixel position info for tablets through
    XInput (ie higher-than-screen resolution)? If so, I’d very much like
    SDL to support this =). [If not, someone please patch XInput ;)]

  • I don’t see anything about proximity and “sub-tools” (pen, eraser,
    etc). Would be nice to be able to get notified somehow when a tool
    enters/exits the tablet’s sensing zone, along with the tool’s id.
    Very useful for automatic tool switching (like in Gimp) and such.

  • Pen tilt info could be nice to have sometimes. Some tablets
    support pen rotation, too.

  • Gerry
  • I don’t see anything about proximity and “sub-tools” (pen, eraser,
    etc). Would be nice to be able to get notified somehow when a tool
    enters/exits the tablet’s sensing zone, along with the tool’s id.
    Very useful for automatic tool switching (like in Gimp) and such.

And relating to SDL, Tux Paint would benefit. :wink:

  • Pen tilt info could be nice to have sometimes. Some tablets
    support pen rotation, too.

Man, so much nifty stuff! >:^POn Sun, Jun 29, 2008 at 11:35:34PM +0200, Gerry JJ wrote:


-bill!
“Tux Paint” - free children’s drawing software for Windows / Mac OS X / Linux!
Download it today! http://www.tuxpaint.org/

Hello !

Man, so much nifty stuff! >:^P

It seems SDL 1.3 will have many, multi everything :slight_smile:

CU

2008/6/29 Gerry JJ :

Den Fri, 27 Jun 2008 07:36:53 -0700
skrev “Szymon Wilczek” <@Szymon_Wilczek>:
[…]

http://wilku.ravenlord.ws/doku.php?id=start . I would be greatful for
any feedback. Godspeed.

A few comments/questions/requests:

  • Is it possible to get sub-pixel position info for tablets through
    XInput (ie higher-than-screen resolution)? If so, I’d very much like
    SDL to support this =). [If not, someone please patch XInput ;)]

I am afraid XInput does not support this, but I am not sure if I understand.
Please write about the sub-pixel position thingy;)

  • I don’t see anything about proximity and “sub-tools” (pen, eraser,
    etc). Would be nice to be able to get notified somehow when a tool
    enters/exits the tablet’s sensing zone, along with the tool’s id.
    Very useful for automatic tool switching (like in Gimp) and such.

Each device has it’s identifier in X11. You can distinguish them by that.
With the new update there will be a new event generated - proximity in and
out. I hope that’s what you wanted;)

  • Pen tilt info could be nice to have sometimes. Some tablets
    support pen rotation, too.

Well I am afraid my tablet doesn’t support pen rotation, but don’t worry. I
think that after I finish all the basic features (even after GSoC) I will
try to commit updates to the SDL;)

Well I am afraid the relative mode will take some more time than I expected.
Some not nice problems occured, but we’re gonna handle them;)>

  • Gerry

SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


“For those about to code”
–Szymon “Wilku” Wilczek