Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re: Re: controlling X's mouse pointer

by schweini (Friar)
on Oct 01, 2002 at 10:50 UTC ( #201966=note: print w/replies, xml ) Need Help??

in reply to Re: controlling X's mouse pointer
in thread controlling X's mouse pointer

XEvent seems to be read-only...i tried WarpPointer from X11::Protocol, but couldn't get it to work :-(
(which is probably my fault)

i'm looking for something like this because i just had the dumbest idea of all times: make a "Minority Report"-like HID in perl! (I'd post it as a "cool use", if i could somehow get that darn pointer to move).
it's actually quite simple (it's more a proof-of-concept thing than something actually usable), and controlling some LEDs with in-the-air-hand-movement (well...cigarette movement right now) simply feels groovy. (4 quadrants control the combination of LEDs connected to my parallel port that are supposed to light up)
now all i need is a &putPointerToCoordinates(x,y) and a &clickAtCurrentCoordinates()....but how?
(i'm a c-analphabetic, BTW)

(update: fixed spelling. ain't caffeine great?)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://201966]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2020-02-21 06:51 GMT
Find Nodes?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?

    Results (93 votes). Check out past polls.