psychopy.iohub supports several different device types.
Details for each device can be found in the following sections.
Keyboard
Keyboard._syncDeviceState()
Keyboard.getKeys()
Keyboard.getPresses()
Keyboard.getReleases()
Keyboard.reporting
Keyboard.state
Keyboard.waitForKeys()
Keyboard.waitForPresses()
Keyboard.waitForReleases()