ioLab / python-ioLabs

Python library for accessing ioLab Systems USBBox
BSD 3-Clause "New" or "Revised" License
3 stars 9 forks source link

Using ioLabs to communicate with pedal game controller? #2

Open louroprata opened 6 years ago

louroprata commented 6 years ago

Hi

I am programming a “tracking” experiment using a foot pedal as a “mouse/joystick”. I am programming this on Psychopy.

The pedal is a “CH PRO PEDALS USB” (http://www.chproducts.com/Pro-Pedals-v13-d-716.html):

USB-Input Device

HID-compliant game controller:

Device HID\VID_068E&PID_00F2\6&a44f59e&0&0000 was configured. Driver Name: input.inf Class Guid: {745A17A0-74D3-11D0-B6FE-00A0C90F57DA} Driver Date: 06/21/2006 Driver Version: 10.0.17134.1 Driver Provider: Microsoft Driver Section: HID_Raw_Inst.NT Driver Rank: 0xFF1003 Matching Device Id: HID_DEVICE_SYSTEM_GAME Outranked Drivers: input.inf:HID_DEVICE:00FF1005 Device Updated: false Parent Device: USB\VID_068E&PID_00F2\5&6de0d46&0&4

Basically it has 2 separate pedals that can be moved to provide x, y and also z coordinates. I only really need the y coordinates for my simple task. It is classified as a “Game controller” in my control panel. It can provide x, z and y coordinates when I test it through the devices section in the control panel.

I tried using ioHub to communicate with the pedal. Unfortunately this proved not to be possible as ioHub only worked for eyetracking and xbox.

The alternative that someone suggested was ioLabs. However superficially ioLabs appears to be a bit more restricted in scope than ioHub. I would be very grateful if anyone with greater knowledge of ioLabs could let me know if this software has the potential to communicate with my pedal or whether this is likely to be hopeless due to issues of compatability... I am quite begginer on programming.

Many thanks

Tiago