Skip to content

on raspberry pi works only with HID path #1

@bestander

Description

@bestander

Thanks for the library!

I am testing it on a raspberry pi and connecting it via vid and pid did not work.
But using a HID path worked

    device = new HID.HID('0001:0009:01');

The path comes from HID.devices()

[ { vendorId: 10462,                 
    productId: 4418,                 
    path: '0001:0009:00',            
    manufacturer: 'Valve Software',  
    product: 'Steam Controller',     
    release: 1,                      
    interface: 0 },                  
  { vendorId: 10462,                 
    productId: 4418,                 
    path: '0001:0009:01',            
    manufacturer: 'Valve Software',  
    product: 'Steam Controller',     
    release: 1,                      
    interface: 1 },                  
  { vendorId: 10462,                 
    productId: 4418,                 
    path: '0001:0009:02',            
    manufacturer: 'Valve Software',  
    product: 'Steam Controller',     
    release: 1,                      
    interface: 2 },                  
  { vendorId: 10462,                 
    productId: 4418,                 
    path: '0001:0009:03',            
    manufacturer: 'Valve Software',  
    product: 'Steam Controller',     
    release: 1,                      
    interface: 3 },                  
  { vendorId: 10462,                 
    productId: 4418,                 
    path: '0001:0009:04',            
    manufacturer: 'Valve Software',  
    product: 'Steam Controller',     
    release: 1,                      
    interface: 4 } ]                 

It may be an issue of node-hid but to work around this could node-steam-controller allow overriding what is passed to HID.HID()?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions