diff --git a/docs_mkdocs/coder/RB730.md b/docs_mkdocs/coder/RB730.md new file mode 100644 index 0000000..96b3475 --- /dev/null +++ b/docs_mkdocs/coder/RB730.md @@ -0,0 +1,10 @@ +To import RB730, you can either use: +```python +from psychopy_cedrus.cedrus import RB730 +``` +or, any time after `psychopy.plugins.activatePlugins` has been called: +```python +from psychopy.hardware.cedrus import RB730 +``` + +::: psychopy_cedrus.cedrus.RB730 \ No newline at end of file diff --git a/docs_mkdocs/coder/index.md b/docs_mkdocs/coder/index.md new file mode 100644 index 0000000..150ea43 --- /dev/null +++ b/docs_mkdocs/coder/index.md @@ -0,0 +1 @@ +Use the sidebar to navigate through the code elements added to the PsychoPy library by this plugin. \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 7a9a8c3..b047545 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -36,3 +36,6 @@ where = ["",] [project.entry-points."psychopy.experiment.components"] cedrusButtonBoxComponent = "psychopy_cedrus:cedrusButtonBoxComponent" RipondaButtonBoxBackend = "psychopy_cedrus.components.riponda:RipondaButtonBoxBackend" + +[project.entry-points."psychopy.hardware.cedrus"] +RB730 = "psychopy_cedrus.cedrus:RB730"