Skip to content

How to handle keyboard input during playback? #1133

Open
@hzulla

Description

@hzulla

Hi,

I'm trying to use Sonic Pi with a Makey Makey, which emulates a USB keyboard. But even without a Makey Makey, I'd like to do this:

If user presses key "X", call function "Y" in my Sonic Pi code.

Is there an easy way to achieve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions