Page 1 of 1

mouse event

Posted: Sun Jul 29, 2007 1:13 pm
by didi

Code: Select all

 (define (mouse-pressed-action id type x y button cnt mods)
     (println "id:" id " type:" type " x:" x " y:" y " button:" button " count:" cnt " mods:" mods))
results in :> id:189 type:146 x:1 y:16 button:() count:nil mods:nil

id:189 is not correct it is the x-value
type:146 this is the y-value

it seems that the order is somewhere messed .

Posted: Sun Jul 29, 2007 1:36 pm
by didi
Sorry , it seems, that i mixed the general mouse-event-sample , with the mouse-demos - i wonder why this worked at all.