Skip to content

HID devices that have been tested with new implementation

sensestage edited this page Feb 25, 2014 · 2 revisions

On this page, I want to keep an overview of the HID devices that have been tested with the new HID implementation.

Code to run to make the test:

HIDUsage.hutDirectory_( "/home/nescivi/git/hid/hidapi_tonyrog/hut/" ); // adjust this path to where your external_libraries/hidapi/hut directory is
HID.findAvailable; // find available devices
HID.postAvailable; // post available devices

// open selected device:
~hid = HID.openAt(0); // by index of available devices
~hid.postCollections;
~hid.postElements;
~hid.postInputElements;
~hid.postOutputElements;
~hid.postFeatureElements;

 // see if data is coming in
~hid.debug_( true );

// stop data posting
~hid.debug_( false );

// if any outputs are defined (adjust element id), check whether it works:
~hid.elements.at( 20 ).value = 255;

~hid.elements.at( 20 ).value = 0;

Devices tested:

  • Thrustmaster Run'n'Drive : OSX (input ok, output not working); Linux (input ok, output ok)
  • Impact GamePad : OSX (input ok, output not working); Linux (report descriptor is not parsed correctly, only 4 elements defined)
  • PixArt Mouse : OSX (input ok; has no output; grabs mouse and does not ungrab afterwards); Linux (input ok; has no output)
  • NumPad : OSX (trouble opening device); Linux (input ok, output does not work)
  • PlusMore Enterprises Keyboard : OSX (takes long to build element list, no input, no output); Linux (not tested)
  • A4Tech keyboard : OSX (not tested); Linux (input ok, output ok)
  • OSX internal devices : Troublesome as they show up several times with same path, vendor and product id.