Using multi touch or single touch screen as input device

I hope somebody can help me. I have a touch screen with a multi touch controller, and I can't get it do work. It doesn't work with the AbsoluteMouse class. I think it needs other coordinates. I appriciate any help. Thank you.

Umm, a little more info is probably going to be needed here…



Also, how much searching through the forums did you do?  There has been several people that are doing 'custom' device implementations, such as the Wii balance board and I am pretty sure someone was working on a touch screen handler around a year ago…

I was searching the whole day. Also at koders.com and code.google.com to find some code in java for a touchscreen but I didn't find anything.

The input device works well on Windows Vista, also the program works well with the mouse, but not with the touch screen. The mouse pointer is not where it should be when I point with the finger on the screen.