[ACT-R-users] Strange behavior of (get-mouse-coordinates)

db30 at andrew.cmu.edu db30 at andrew.cmu.edu
Thu May 3 09:05:37 EDT 2012



--On Thursday, May 03, 2012 1:44 PM +0200 stefano bennati <benna86 at gmail.com> 
wrote:

> Hi all ACT-R users,
> I have a strange problem with the function (get-mouse-coordinates). Actually
> the problem comes from the (cursor-position) function, that is called by the
> previous.
>
>
> Basically, if I load ACT-R and my model in Allegro Lisp, the function is
> returning the correct mouse coordinates,
> while if I load the model from the ACT-R Environment GUI:
>
>
> ...
>
> Does somebody have a clue?
> Thank you in advance!
>


Cursor-position is an Allegro Common Lisp function which is why it only
works with an ACL based window.  Get-mouse-coordinates is the ACT-R
command that works for all the included ACT-R devices.  So, if you
use that it will work regardless of what type of window is opened.

Dan




More information about the ACT-R-users mailing list