Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

[solved] output cursor x and y and targets

edited April 2014 in OpenSesame

Hi all,

I've been piloting a Corsi blocks study and I was confident it was working, participants have to watch a block sequence play out and then tap out the same sequence on the tablet.

in the output it give me cursor x and cursor y values, which I assumed was the 'tap' coordinates on the screen. But these dont seem to match the target coordinates for the block positions at all. For a start all the cursor values are positive and some of my blocks are at negative co-ordinates.

Do the two columns work on different measurements? I'm pretty sure after testing that it is picking up the taps correctly, i.e. inside the target it registers 1 or correct and outside it registers incorrect or 0.

Any ideas?

Thanks,
Kat x

Comments

  • edited 1:45PM

    C:\Users\psukar\Dropbox\Katherine, Julia, Helen, shared folder\Battery One\Corsi and Digit Span Tasks\Screenshot 2014-04-09 19.35.58.png

  • edited April 2014

    Hi,

    It is a bit counterintuitive, but the coordinate systems that are used are indeed different. The sketchpad uses the center of the screen as (0, 0), whereas for mouse coordinates (0, 0) corresponds to the top-left.

    See also:

    You can quite easily correct for this, though. You will see a column width in your log file. If you add subtract 0.5*width to cursor_x you will have the coordinates relative to the center. And the same for height and cursor_y.

    Hope this helps!

    Cheers,
    Sebastiaan

  • edited 1:45PM

    Thank you so much, I'm going to have a look at doing that now. I have another post on here about a stopping rule which I'm trying to upload an image for so people can see my layout, I dont suppose you've seen it? Its kinda very imminent problem I have at the moment and I'm kind of at a loss for how to fix to, I wouldn't even know where to start if I'm honest as I think my experiment has an unusual response input / format. I've tried to explain everything in the post,

    Thank you again,
    Katherine.

  • edited 1:45PM

    Did you mean subtract in the above answer?

  • edited 1:45PM

    Yes, I think Sebastiaan meant to substract.

    Examples (all based on a resolution of 1024x768):

    Top left is (0,0) in mouse coordinates, but (-512,-384) in sketchpad coordinates. To transform mouse to sketchpad, simply substract half of the width from the x, and half of the height of the y coordinate: 0 - (1024/2) = -512 and 0 - (768/2) = -384.

    Bottom right is (1024, 768) in mouse coordinates, but (512,384) in sketchpad coordinates. 1024 - (1024/2) = 512 and 768 - (768/2) = 384

    Centre is (512,384) in mouse coordinates, but (0,0) in sketchpad coordinates. 512 - (1024/2) = 0 and 384 - (768/2) = 0

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu http://45.77.173.118/ Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games