Skip to content

Commit

Permalink
ENH: Add device class info to all Device Components
Browse files Browse the repository at this point in the history
  • Loading branch information
Todd OST committed Jan 5, 2024
1 parent 04cad77 commit 0c37829
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions psychopy_labhackers/components/millikey.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ class MillikeySerialButtonBoxBackend(DeviceBackend):
key = "millikeySerial"
label = "Labhackers Millikey (Serial)"
component = ButtonBoxComponent
deviceClasses = ["psychopy_labhackers.millikey.MillikeySerialButtonGroup"]

def getParams(self: ButtonBoxComponent):
# define order
Expand Down Expand Up @@ -65,6 +66,7 @@ class MillikeyHIDButtonBoxBackend(KeyboardButtonBoxBackend):
key = "millikeyHID"
label = "Labhackers Millikey (HID)"
component = ButtonBoxComponent
deviceClasses = ["psychopy_labhackers.millikey.MillikeyHIDButtonGroup"]

def getParams(self: ButtonBoxComponent):
# define order
Expand Down

0 comments on commit 0c37829

Please sign in to comment.