Skip to content

Commit

Permalink
NF: Implement Millikey support using HID
Browse files Browse the repository at this point in the history
  • Loading branch information
TEParsons committed Nov 23, 2023
1 parent e67e7fd commit 9d940d6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions psychopy_labhackers/millikey.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
from psychopy import logging
from psychopy.hardware.button import KeyboardButtonBox, ButtonResponse


class MillikeyHIDButtonGroup(KeyboardButtonBox):
def __init__(self, buttons=(1, 2, 3, 4, 5, 6, 7, 8)):
# initialise base class
KeyboardButtonBox.__init__(self, buttons=buttons)

def resetTimer(self, clock=logging.defaultClock):
pass

@staticmethod
def getAvailableDevices():
devices = []

return devices

0 comments on commit 9d940d6

Please sign in to comment.