innovationOUtside / nbev3devsim

Ev3DevSim ipywidget in Jupyter notebooks
Apache License 2.0
5 stars 0 forks source link

Jupyter notebook key bindings interfere with setting location co-ordinates #56

Closed psychemedia closed 4 years ago

psychemedia commented 4 years ago

Keybindings on numerical keys interfere with setting the co-ordinate values in the popped out simulator widget.

We can disable these via the ~/.jupyter/nbconfig/notebook.json file, by unbinding the clashing keyboard shortcut key values:

{
  "keys": {
    "command": {
      "unbind": [
        "1",
        "2",
        "3",
        "4",
        "5",
        "6",
        "0",
       "0,0"
      ]
    }
  }
}

These values can also be disabled via the notebook Help -> Edit Keyboard Shortcuts menu.

See docs.

psychemedia commented 4 years ago

Fixed by https://github.com/innovationOUtside/nbev3devsim/commit/3b5795fbe75ead6eae52c35cb15ff5af32461e15