Stefano,

I think the code for the keypad enter is <kp_enter>


For the second option, what I have done in the past is something like this:


  opts <- ["1","2","3","4","5","6","7","8","9","0",
            "A","B","C","D","E","F","G","H","I","J","K","L","M",
             "N","O","P","Q","R","S","T","U","V","W","X","Y","Z",
            "<backspace>","<return>" ,"<kp_enter>"]



  resp <- WaitForListKeyPressWithTimeout(opts,500,1)


Maybe something like this will work in your situation.

> Hi,
> On page 32 of the 0.14 manual, among codes for keys are listed both
> <enter> and <return>, but it seems that only the latter works, can
> anyone confirm?
>
> Also, I was looking for a function like WaitForAnyKeypressWithTimeout
> (the name should explain what I mean...) but could not find it.
> Perhaps it could be a useful addition (it could be useful if one wants
> to record everything the subject does, although only a few keys would
> represent valid responses).
>
> Thanks again for PEBL!
>
> S
>
> --
> Stefano Ghirlanda - www.intercult.su.se/~stefano - drghirlanda.com
> Full Professor of Psychology, Biology, and Anthropology, Brooklyn College
> Founder and Fellow, Stockholm University Centre for the Study of
> Cultural Evolution
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Pebl-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pebl-list
>



------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Pebl-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pebl-list

Reply via email to