Skip to content

Commit

Permalink
RF: Change from deviceName to deviceLabel
Browse files Browse the repository at this point in the history
  • Loading branch information
TEParsons committed Dec 4, 2023
1 parent 32e1ad3 commit 04cad77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions psychopy_labhackers/components/millikey.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def writeDeviceCode(self, buff):
code = (
"deviceManager.addDevice(\n"
" deviceClass='psychopy_labhackers.millikey.MillikeySerialButtonGroup',\n"
" deviceName=%(deviceName)s,\n"
" deviceName=%(deviceLabel)s,\n"
" port=%(millikeySerialPort)s,\n"
" channels=%(millikeyNButtons)s\n"
")\n"
Expand Down Expand Up @@ -95,7 +95,7 @@ def writeDeviceCode(self, buff):
code = (
"deviceManager.addDevice(\n"
" deviceClass='psychopy_labhackers.millikey.MillikeyHIDButtonGroup',\n"
" deviceName=%(deviceName)s,\n"
" deviceName=%(deviceLabel)s,\n"
" buttons=%(millikeyButtonAliases)s\n"
")\n"
)
Expand Down

0 comments on commit 04cad77

Please sign in to comment.