Skip to content

Key press detection in testbed does not work in Safari #288

@rgov

Description

@rgov

On Safari 18.1, regardless if I set a handler for testbed.keydown or check testbed.activeKeys.right inside testbed.step(), keypresses are not detected. The same code works OK in Firefox:

 testbed.step = function() {
    if (testbed.activeKeys.right) {
        wheel3.setAngularVelocity(-2);
    } else {
        wheel3.setAngularVelocity(0);
    }
  };

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions