Since you have a working driver, you can:
1)Identify the events begin emitted from your input device using:  "cat 
/proc/bus/input/devices"
2)Capture the data from the input device using: "ls /dev/input" to find 
your device's event output then "cat" the appropriate file for the actual 
data.

You may have to look at the driver to understand what type of events are 
being sent(read: 
https://www.kernel.org/doc/Documentation/input/event-codes.txt). If you're 
lucky, you'll get absolute events being sent or relative events with a 
known origin position.

This is all speculation though from a little online research.

Good Luck!

On Thursday, July 3, 2014 3:26:46 PM UTC-7, [email protected] wrote:
>
> thanks, that helps.
>
> On Thursday, July 3, 2014 12:38:15 AM UTC+10, Dieter Wirz wrote:
>>
>> On Wed, Jul 2, 2014 at 3:42 AM,  <[email protected]> wrote: 
>> > Hi, 
>> > 
>> >  I have to implement a ball and plate project using BBB. 
>> > I have the IR touchscreen connected on USB and the driver is working 
>> with a 
>> > current Debian distribution, so I can see the mouse cursor moving when 
>> the 
>> > ball is moving. 
>> > What is the easiest way to read the absolute mouse position? 
>> > After reading the position, it has to be sent frequently over UART to 
>> > another microsystem. 
>> > 
>> > Any advice on how to approach the coding of absolute mouse position? 
>> > 
>> > Jan 
>> Have a look at xdotool; 
>> eval $(xdotool getmouselocation --shell); echo $X,$Y 
>>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to