Arrow keys for response

PennController for IBEX Forums Support Arrow keys for response

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by Jeremy Jeremy 1 week, 1 day ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5736
    Avatar
    carlap
    Participant

    Hi,

    Is it possible to use the arrow keys to collect subject response? For example, right arrow for ‘yes’, left arrow for ‘no’. If so, how do I enter that into my newKey.

    Thanks!

    #5738
    Jeremy
    Jeremy
    Keymaster

    Hi,

    You can use this interface to find the names of non-printable keys that you can use in the Key element: https://keycode.info/

    If you want your Key element to react to keypresses on the left or right arrow, you can do this:

    newKey("pressOnArrow", "ArrowLeft", "ArrowRight").wait()

    Jeremy

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.