newLISP Fan Club

Forum => newLISP Graphics & Sound => Topic started by: didi on July 29, 2007, 06:13:13 AM

Title: mouse event
Post by: didi on July 29, 2007, 06:13:13 AM
(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 .
Title:
Post by: didi on July 29, 2007, 06:36:18 AM
Sorry , it seems, that i mixed the general mouse-event-sample , with the mouse-demos - i wonder why this worked at all.