diff --git a/psychopy_labhackers/components/millikey.py b/psychopy_labhackers/components/millikey.py index 70cae81..07fc586 100644 --- a/psychopy_labhackers/components/millikey.py +++ b/psychopy_labhackers/components/millikey.py @@ -30,7 +30,7 @@ def getPorts(): "Serial port to connect to" ) ) - self.params['millikeyNButtons'] = Param( + params['millikeyNButtons'] = Param( 8, valType="code", inputType="single", categ="Device", label=_translate("Num. buttons"), hint=_translate(