I am hoping to use this USB button device as a simple keyboard or mouse input:
https://www.delcomproducts.com/productdetails.asp?PartNumber=706400
I am using MacOS Sierra (10.12.14) + Matlab 2015a + Psychtoolbox 3.0.14
The same problem exists in Windows 10 Enterprise + Matlab 2018b + Psychtoolbox 3.0.15
The device works in the operating system and matlab window as the specified type (e.g. I get the appropriate letter on the screen when pressing the button when configured as keyboard, or a mouse press when configured as mouse).
However, the device is NOT recognized as a keyboard (or mouse, when configured as such) by PsychHID(‘Devices’) and therefore not registering in my script using the Kb or Mouse functions.
According to the device manufacturer, the HID device is programmed to have multiple different “USB Usage” entries including keyboard but the device seen in psychtoolbox seems to be only the first “vendor specific” entry as follows:
usagePageValue: 65280
usageValue: 0
usageName: ‘Page: 0xff00, Usage: 0x0’
index: 2
transport: ‘USB’
vendorID: 4037
productID: 45184
version: 18
manufacturer: ‘Delcom Products Inc.’
product: ‘USB FS IO’
serialNumber: ‘’
locationID: 336592896
interfaceID: 0
totalElements: 588
features: 264
inputs: 319
outputs: 5
collections: 9
axes: 0
buttons: 0
hats: 0
sliders: 0
dials: 0
wheels: 0
Is there a way to force psychtoolbox to see more than one HID entry perhaps, so that I identify the device as the appropriate type and use the mouse or kb functions?
I suppose I should be able to use PsychHID tools, but I am not familiar with the usage and have had trouble finding any simple examples for how to collect a simple input.
Any are suggestions much appreciated.