Skip to content

Commit

Permalink
ff: Add entry point for RB730 class
Browse files Browse the repository at this point in the history
  • Loading branch information
Todd OST committed Apr 8, 2024
1 parent 0d9fe82 commit 443b4c7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs_mkdocs/coder/RB730.md
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions docs_mkdocs/coder/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Use the sidebar to navigate through the code elements added to the PsychoPy library by this plugin.
3 changes: 3 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 443b4c7

Please sign in to comment.